So I have the following XML structure.
(With appropriate closing tags)Code:<xrs:Package> <xrs:Item> <xrs:Fields> <xrs:CustomFields> <xrs:CustomField name="SPV" value="asdkjadiao"/> <xrs:CustomField name="SPR" value="mooseral"/>
I'm supposed to be using an XPath to reach the value of SPV.
I've got the following:
/xrs:Item/xrs:Fields/xrs:CustomFields/xrs:CustomField@value[@name="SPV"]
but it's not finding the value.
Any ideas where i've gone wrong?



Reply With Quote

Bookmarks