摘要: 使用XPath时,把xml看作节点树。如下面的例子(摘自w3school):<?xml version="1.0" encoding="ISO-8859-1"?><bookstore><book> <title lang="en">Harry Potter</title> <author>J K. Rowling</author> <year>2005</year> <price>29.99</price> 阅读全文
posted @ 2011-10-24 17:22 testerZH 阅读(149) 评论(0) 推荐(0) 编辑
摘要: XPath 是一门在XML文档中查找信息的语言(使用路径表达式),它包含一个标准的函数库,是XSLT中的主要元素,是一个W3C标准。 阅读全文
posted @ 2011-10-24 10:58 testerZH 阅读(129) 评论(0) 推荐(0) 编辑