日期:2014-05-19  浏览次数:20827 次

xpath
<persons>
        <person> battie </person>
        <person> yao </person>
        <person> tmac </person>
</persons>

要选出person元素为yao的元素,   怎么写?

------解决方案--------------------
/persons[person= 'yao ']/person
------解决方案--------------------
http://www.w3pop.com
希望这个网站对你有帮助..