xpath

文章内容整理来源:http://www.runoob.com/
基本概念
<code>
节点
基本值
项目
节点关系
</code>

参考xml文件
<code>
<?xml version="1.0" encoding="UTF-8"?>
<bookstore>
<book>
<title lang="eng">Harry Potter</title>
<price>29.99</price>
</book>
<book>
<title lang="eng">Learning XML</title>
<price>39.95</price>
</book>

</bookstore>
</code>
基本语法
<code>
节点选择
谓语选择
未知节点
路径选择

运算符
</code>
2个实例
<code>
http://www.runoob.com/xpath/xpath-examples.html
</code>

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容