TheWizardofInt
Well-known member
I have a stream to read, which is like this:
<Import>
<Name>Fred Jones</Name>
<Address>101 Main Street</Address>
</Import>
<Import>
<Name>Fred Smith</Name>
<Address>103 Front Street</Address>
</Import>
Obviously it is more complicated than that - I just have to read the first import then the next, into multiple datasets.
If I dont know for sure that the first Node will be Import (it could be Imports, Data, Feed, Contact) how can I tell the thing to take all of the Nodes with the start item of whatever and read them?
<Import>
<Name>Fred Jones</Name>
<Address>101 Main Street</Address>
</Import>
<Import>
<Name>Fred Smith</Name>
<Address>103 Front Street</Address>
</Import>
Obviously it is more complicated than that - I just have to read the first import then the next, into multiple datasets.
If I dont know for sure that the first Node will be Import (it could be Imports, Data, Feed, Contact) how can I tell the thing to take all of the Nodes with the start item of whatever and read them?