Tool / utility for checking debugging XPath querie

2020-05-14 08:49发布

问题:

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 8 years ago.

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

回答1:

SketchPath looks like it might help (and is free)



回答2:

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.



回答3:

There is a new plugin for Notepad++: XPatherizerNPP. The biggest advantage it has over XML Tools is the reverse lookup feature.



回答4:

There are a couple of good options on Codeplex ..

XPathVisualiser at http://xpathvisualizer.codeplex.com/

XMLExplorer at http://xmlexplorer.codeplex.com/



回答5:

Liquid XML Studio comes with an XPath visualizer. The stand alone version is free in the community edition. If you want to integrate it into visual studio then you have to buy it though.

It highlights the results as you type, and has auto complete on the XPath expression.



回答6:

I've been using XmlSpy.