views:

1783

answers:

5

Has anyone got any recommendations for tools/utilities to use in creating/debugging XPath queries for Windows ?

+14  A: 

SketchPath looks like it might help (and is free)

Marc Gravell
Agreed. Sketchpath is perfect for the job. I just came across this piece of software about a week ago.
Paxenos
Thanks for the pointer, well cool utility
SteveC
+1  A: 

I've been using XmlSpy.

Vadim
Sorry, I should have said FREE ... can't afford XmlSpy for personal use
SteveC
+1  A: 

The XPath Visualizer is a popular tool for learning XPath by playing with XPath expressions. Free and open source. Allows any XPath expression to be evaluated against a given XML document and displayes the results hi-lighted in the xml document (if they are node(s)) or in a separate box (if the results are atomic values). Allows xsl:variable-s to be defined and then used in XPath expressions. Allows xsl:key-s to be defined and then referenced by key() functions within XPath expressions.

Dimitre Novatchev
+4  A: 

If you have Notepad++, there's an XML tools plugin. Among the tools in that plugin is a simple XPath expression evaluator. Sketchpatch is much more complete (I've tried it and it's nice) but if you use Notepad++ all the time it's worth knowing about this plugin.

JRL
+1  A: 
Colin