Hi all,
I have a web service that I call that returns 3 sets of xml strings. Ultimately, I need to load all the distinct records from these 3 strings and bind them to a repeater control and I'm struggling with how to accomplish this.
The xml strings return orders. Each record has an order_id. But an order_id can appear in each string of xml and I can't show them multiple times. I need each order to show only once and preferably in order.
Here is a sample of the strings of xml:
<root>
<results>
<root>
<order><order_id>1</order_id></order>
<order><order_id>2</order_id></order>
<order><order_id>3</order_id></order>
</root>
</results>
</root>
Any suggestions on the best way to approach this?
Thanks,
Mark
I have a web service that I call that returns 3 sets of xml strings. Ultimately, I need to load all the distinct records from these 3 strings and bind them to a repeater control and I'm struggling with how to accomplish this.
The xml strings return orders. Each record has an order_id. But an order_id can appear in each string of xml and I can't show them multiple times. I need each order to show only once and preferably in order.
Here is a sample of the strings of xml:
<root>
<results>
<root>
<order><order_id>1</order_id></order>
<order><order_id>2</order_id></order>
<order><order_id>3</order_id></order>
</root>
</results>
</root>
Any suggestions on the best way to approach this?
Thanks,
Mark