Hi, I got an XML file. The basic structure is something liek this:
I've decided to use XML:
OM for processing. The code I have is something like this in pseudo code:
So I'm going to have lots of nested loops. Is there a better way of doing this using the XML:
OM? I just think it looks really untidy!
Code:
batches
batch
transactions
transaction
allocations
allocation
allocation
allocation
transaction
allocations
allocation
transaction
allocations
allocation
batch
transactions
transaction
allocations
allocation
allocation
I've decided to use XML:
Code:
Find all batches
Foreach batch
Find all transactions
Foreach transaction
Find all allocations
End
End
So I'm going to have lots of nested loops. Is there a better way of doing this using the XML: