HisMightiness
Programmer
I am still quite a novice with XPath, so I need some help understanding something. Let's assume that we have the following XML:
Using XPath, would I be able to get the value of "attribute1" with the following query?
Will
Code:
<rootItem>
<element1>Some Value</element1>
<element2 attribute1="foundme!">Another value</element2>
</rootItem>
Code:
//rootItem/element2/@attribute1
Will