XPath question
I know how to do this using for loops but was wondering if it was possible with Xpath.
My xml isl like that:
<ROOT>
<Batch BatchID="19" >
<Order Swift="AUD" />
<Order Swift="USD" />
</Batch>
<Batch BatchID="22" ">
<Order Swift="AUD" />
</Batch>
</ROOT>
I want to return an array like that:
<Order Swift="AUD" BatchID="19" />
<Order Swift="USD" BatchID="19" />
<Order Swift="AUD" BatchID="22" />
thanks gurus
