windows 用于检查调试 XPath 查询的工具/实用程序

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/801858/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 06:18:18  来源:igfitidea点击:

Tool / utility for checking debugging XPath queries

windowsxpath

提问by SteveC

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

有没有人对用于创建/调试 Windows XPath 查询的工具/实用程序有任何建议?

回答by Marc Gravell

SketchPathlooks like it might help (and is free)

SketchPath看起来可能有帮助(而且是免费的)

回答by JRL

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.

如果您有 Notepad++,则有一个 XML 工具插件。该插件中的工具包括一个简单的 XPath 表达式评估器。Sketchpatch 更完整(我已经尝试过,它很好)但是如果您一直使用 Notepad++,那么了解这个插件是值得的。

回答by jjarmis

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

Notepad++ 有一个新插件:XPatherizerNPP。它相对于 XML Tools 的最大优势是反向查找功能。

回答by Chris Crook

There are a couple of good options on Codeplex ..

Codeplex 上有几个不错的选择。

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

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

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

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

回答by Colin

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.

Liquid XML Studio 带有一个XPath 可视化工具。社区版中的单机版是免费的。如果您想将它集成到 Visual Studio 中,那么您必须购买它。

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

它在您键入时突出显示结果,并在 XPath 表达式上自动完成。

alt text

替代文字

回答by Vadim

I've been using XmlSpy.

我一直在使用XmlSpy