So I have the following XML structure.
<xrs:Package>
<xrs:Item>
<xrs:Fields>
<xrs:CustomFields>
<xrs:CustomField name="SPV" value="asdkjadiao"/>
<xrs:CustomField name="SPR" value="mooseral"/>
(With appropriate closing tags)
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?