我正在查看https://en.wikipedia.org/wiki/XPath_2.0,我惊讶地发现现代浏览器引擎不支持 XPath 2.0。我已经成功地使用了 XPath 2.0 函数,例如Chrome 中的substring-after 和 ,matches没有太多问题,但根据官方文档,这不应该被支持,因为它不是 XPath 1.0 的一部分。
substring-after
matches
兼容浏览器引擎列表是否已过时,或者我遗漏了什么?有人知道为什么 2007 年发布的这么旧的规范仍然不受支持吗?
xml browser xpath webkit google-chrome
browser ×1
google-chrome ×1
webkit ×1
xml ×1
xpath ×1