I want my xpath query to return something like:
customerName=...
id=...
customField=....
regardless whether those nodes exist in my xml:
<Begin>
<CustomerRet>
<customerName>Jack</customerName>
<customerId>1</customerId>
<customField>A</customField>
</CustomerRet>
<CustomerRet>
<customerName>Jack</customerName>
<customerId>1</customerId>
</CustomerRet>
</Begin>
How do I go about writing my expression? I tried using concat but it's not working for me.
/Begin/CustomRet/concat('customerName=',customerName) | /Begin/CustomRet/concat('customId=',customerId) | /Begin/CustomRet/concat('customField=',customField)