开发者

Simple Xpath question

I have the following XML

<List na开发者_高级运维me="X" price="100" title="ABC">
  <Item>Value123</Item>
</List>

I am trying to build an XPath query where all the attributes (name , price, tittle) matches (x,100,ABC) And where the Item value is "Value123"

I just can't wrap my head around building the xpath query


List[@name='X' and @price='100' and @title='ABC' and Item='Value123']
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜