xpath 命名空间感知功能
示例
<root xmlns="http://test/">
<element xmlns:example="http://foobar/">
<example:hello_world attribute="another example" />
</element>
</root>该表达式/root将不返回任何内容,因为root在文档的根目录级别没有未命名的元素被调用。但是,以下将返回该<rootxmlns="http://test/">元素。
/*[namespace-uri() = 'http://test/' and local-name() = 'root']