views:

272

answers:

5

Being an XSLT designer, I am finding it hard to type XPath of nodes manually ... is there any editor or xml viewer which can give me Xpath of the nodes so that I can copy paste them :)
thanx in advance

+4  A: 

XML Spy http://www.altova.com/xmlspy.html

sylvanaar
Oh no, not the buggy, way-too-expensive, with terrible "we are the best" attitude, Altova XML Spy! If you have the money it's a good middle-class product, but not-so-good when it comes to exact standards compliance for XSLT/XPath 1.0 and 2.0 (which I assume you use). Better in that respect are oXygen and Stylus Studio which are both backed by Saxon for syntax check as opposed to a closed source unfinished beta XPath/XSLT processor (Altova). And, more importantly, they come cheap with excellent support.
Abel
I like stylus studio also - oXygen not so much. Still XMLSpy is usually a good choice.
sylvanaar
I agree with both of you :)
infant programmer
+2  A: 

oXygen offers you the possibility to copy the XPath location of an element and then you can use that in your XSLT. However, that is not the way you should work...

oXygen provides XPath content completion when you edit the XSLT document. It offers you the element and attribute name tests looking into the XML associated with the XSLT in the transformation scenario. You can find more details and a link to a video demo here http://www.oxygenxml.com/xslt%5Feditor.html#xpathAwareCC

Hope that helps, George

George Bina
ok fine .. thanx :)
infant programmer
+1  A: 

altova XML spy provides you this option .. I am sure ..

A: 

I suggest the XPather Firefox Addon, from https://addons.mozilla.org/en-US/firefox/addon/1192/

A: 

if its only for xpath .. one can use notepad ++ software with its plug-ins relevant to xml,

I have been using this from many days :) it works just fine :))

infant programmer