我想将 intersect
运算符 (xpath 2.0) 与 xmllint 一起使用,但无法使其工作。
xmllint 支持 xpath 2.0 吗?
我无法通过 Google 或浏览 libxml 页面 http://www.xmlsoft.org/html/libxml-xpath.html 找到任何引用
最佳答案
Libxml2 仅支持 XPath 1.0 和(使用 libxslt)XSLT 1.0。此信息是on the front page of libxml's site .
关于xml - xmllint是否支持xpath 2.0;如果是这样如何使用运算符?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8958588/