D
dayv2005
Guest
I'm currently on Openedge 10.1c. I'm using READ-XML to populate a dataset. I can't change the source XML and was was wondering how you would iterate over the dataset when there isn't a parent child relationship unique keys to use in my join.
I'll include sample XML and the display loop when I get to my desk.
In the meantime it's something like this...
<data>
<fulfillments>
<field1>field1</field1>
<field2>field2</field2>
<field3>field3</field3>
<customer>
<name>test</name>
</customer>
</fulfillments>
<fulfillments>
<field1>field11</field1>
<field2>field22</field2>
<field3>field33</field3>
<customer>
<name>test2</name>
</customer>
</fulfillments>
</data>
After I use read XML I get all the data but trying to iterate over it I don't know how to display customer in to each fulfillment. Instead it will just show all customers for each fulfillment.
Continue reading...
I'll include sample XML and the display loop when I get to my desk.
In the meantime it's something like this...
<data>
<fulfillments>
<field1>field1</field1>
<field2>field2</field2>
<field3>field3</field3>
<customer>
<name>test</name>
</customer>
</fulfillments>
<fulfillments>
<field1>field11</field1>
<field2>field22</field2>
<field3>field33</field3>
<customer>
<name>test2</name>
</customer>
</fulfillments>
</data>
After I use read XML I get all the data but trying to iterate over it I don't know how to display customer in to each fulfillment. Instead it will just show all customers for each fulfillment.
Continue reading...