0
什麼應該是xpath查詢來選擇屬性att不存在的元素。xpath查詢選擇元素不存在的屬性
<root>
<elem att='the value' />
<elem att='the value' />
<elem att='the value' />
**<elem />**
<elem att='the value' />
<elem att='the value' />
</root>
我想更新屬性att不存在的元素。
感謝
重複 - http://stackoverflow.com/questions/362945/xpath-query-to-select-node - 當屬性-並 - 不存在?RQ = 1 – st4hoo