摘要: XPath 中支持的运算符# | 或: 返回所有 price 和 title 节点集合>>> root.xpath('//price|//title')[, , , ]# + 加法:返回所有 price 子元素前两个之和>>> root.xpath('//price[1]/text() + //pr... 阅读全文
posted @ 2014-07-27 01:33 iFantasticMe 阅读(1349) 评论(0) 推荐(0) 编辑