Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道 XOM 是否允许在其 XPath 表达式中使用正则表达式。据我所知,正则表达式仅通过 match() 函数在 XPath 2.0 中可用。XOM 好像不支持这个功能。他们是在 XPath 中使用正则表达式的另一种方式吗?
它不是。XOM 的 XPath 基于 Jaxen,它只支持 XPath 1.0。