为节点提供 XPath 的 XML 查看器/编辑器

发布于 2024-08-14 16:52:48 字数 119 浏览 2 评论 0原文

我是一名 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

请叫√我孤独 2024-08-21 16:52:48

如果它仅用于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 :))

亣腦蒛氧 2024-08-21 16:52:48

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

╰ゝ天使的微笑 2024-08-21 16:52:48

altova XML间谍为您提供了这个选项..我确信..

altova XML spy provides you this option .. I am sure ..

笔芯 2024-08-21 16:52:48

工具的来来往往会改变货币化模式,因此请对此持保留态度,但这里列出了市场上一些现有的 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

清秋悲枫 2024-08-21 16:52:48

我建议使用 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/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文