Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次の例は、私の問題を示しています。
<nodes> <node at1="1" at2="2"> 12 </node> <node at1="1" at2="2" at3="3"> 123 </node> <node at1="1"> 1 </node> <-----find this node </nodes>
/nodes/node[@at1]3つのノードすべてを返しますが、「at1」属性のみを持ち、他の属性を持たないノードを探しています。
/nodes/node[@at1]