I am an XSLT designer, and I find it hard to type XPath expressions of nodes manually. Is there any XML editor or viewer which can give me XPath expressions that I can copy-paste? I want to put them in XSL files.
6 Answers
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 :))

- 11,952
- 23
- 81
- 114

- 8,096
- 37
- 59
-
6Oh 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 Dec 10 '09 at 14:17
-
2I like stylus studio also - oXygen not so much. Still XMLSpy is usually a good choice. – sylvanaar Dec 10 '09 at 14:21
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_editor.html#xpathAwareCC
Hope that helps, George

- 1,171
- 7
- 7
altova XML spy provides you this option .. I am sure ..
Tools come and go and change monetization models, so take this with a grain of salt, but here's a list of some of the existing XML tools on the market
VS Code Extensions
Online
Applications

- 30,350
- 66
- 462
- 664