xml - xmllint是否支持xpath 2.0;如果是这样如何使用运算符?

标签 xml xpath libxml2

我想将 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/

相关文章:

android - 以编程方式将多个自定义 View 添加到布局

PHP Xpath : Get all href's that contain "letter"

c++ - Libxml2 xmlSchemaParse 失败

c++ - 如何在 cpp 中使用 libxml2 创建 DOM

c - 无法在 xml 中获取 Soap 响应的根节点

c++ - Xerces。将 DOMNode 指针动态转换为 DOMElement 返回 nullptr

xml - 在 Golang 中解析递归 XML

xml - 找出 XPath 的工具

c# - XPath 和属性

xml - 在TCL tDOM中解析具有多个子项的XML数据