Reputation: 899
I have the following XML
<List name="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
Upvotes: 3
Views: 61
Reputation: 362037
List[@name='X' and @price='100' and @title='ABC' and Item='Value123']
Upvotes: 2