2011-08-20 64 views
3

我有下面的XML簡單的XPath問題

<List name="X" price="100" title="ABC"> 
    <Item>Value123</Item> 
</List> 

我試圖建立,所有的屬性(名稱,價格,絲毫不差)(X,100,ABC),並且其中的項目價值相匹配的XPath查詢是「Value123」

我不能環繞建築的XPath查詢

回答

2
List[@name='X' and @price='100' and @title='ABC' and Item='Value123'] 
我的頭