In below xml:
<street>123 Main St.</street>
I need to get the customer's no which is an attribute. In XPath I know it is /company/customers/customer/@cno
, in XQuery I've tried below expression but didn't work for me.
for $c in /company/customers/customer
Any one to help me to get this in XQuery in this regard.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)