Has anyone got any recommendations for tools/utilities to use in creating/debugging XPath queries for Windows ?
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.
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.