XML reader - Get Value of element when attribute = a Value
XML reader - Get Value of element when attribute = a Value
Example:
I have this XML
<custom-attributes>
<custom-attribute attribute-id="proratedNetPrice">7.0</custom-attribute>
</custom-attributes>
I need to get 7.0 from this path when attribute-id="proratedNetPrice"
This gives me the text "proratedNetPrice"
/orders/order/product-lineitems/product-lineitem/custom-attributes/custom-attribute/@attribute-id
Thanks.
- DavidKing
- Verified User
- Posts: 2
- Joined: Mon May 04, 2009 10:43 am
Who is online
Users browsing this forum: No registered users and 0 guests