为节点提供 XPath 的 XML 查看器/编辑器
我是一名 XSLT 设计者,我发现手动输入节点的 XPath 表达式很困难。是否有任何 XML 编辑器或查看器可以为我提供可以复制粘贴的 XPath 表达式?我想将它们放入 XSL 文件中。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
如果它仅用于xpath ..可以使用notepad ++软件及其与xml相关的插件,
我已经使用这个很多天了:)它工作得很好:))
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 :))
XML 间谍 http://www.altova.com/xmlspy.html
XML Spy http://www.altova.com/xmlspy.html
oXygen 为您提供了复制元素的 XPath 位置的可能性,然后您可以在 XSLT 中使用它。然而,这不是您应该工作的方式...
当您编辑 XSLT 文档时,oXygen 提供 XPath 内容补全。它为您提供元素和属性名称测试,以查看转换场景中与 XSLT 关联的 XML。您可以在此处找到更多详细信息和视频演示的链接
帮助
希望有 ,
乔治
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
altova XML间谍为您提供了这个选项..我确信..
altova XML spy provides you this option .. I am sure ..
工具的来来往往会改变货币化模式,因此请对此持保留态度,但这里列出了市场上一些现有的 XML 工具
VS 代码扩展
在线
应用程序
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
我建议使用 XPather Firefox 插件,来自 https://addons.mozilla.org /en-US/firefox/addon/1192/
I suggest the XPather Firefox Addon, from https://addons.mozilla.org/en-US/firefox/addon/1192/