Reading from multiple files
Create a structure that reads from different files.
Before you begin
- You have two different files to read from.
- You have created a structure for each file.
About this task
In this example, you want to create a structure that combines two different structure, each
reading from a specific file. You can use the following XML samples, containing
respectively customer and order
information:
<customers>
<customer>
<customerId>IRloRH6F9fNnYXl</customerId>
<lastName>Thomas</lastName>
<firstName>Carter</firstName>
<address>
<street>Camelback Rd</street>
<city>Augusta</city>
<state>Minnesota</state>
</address>
</customer>
</customers>
<orders>
<order>
<orderId>KTCZqmBqAW4VvzB</orderId>
<customerId>IRloRH6F9fNnYXl</customerId>
<items>
<item>115</item>
<item>23</item>
<item>67</item>
<item>29</item>
<item>177</item>
</items>
</order>
</orders>