I need to generate a xml file using xml output stage. Please find the below xml schema. Each <inventory> block should have unique <statusid>. Each <company> block should have unique <transactiondate>.
When <transactiondate> changes xml file should have a new <company> block.
When <statusid> changes new <inventory> block should be created.
<company>
<header></header>
<inventory>
<statusid>01</statusid>
<stock>
<stockcode>01</stockcode>
<transactiondate>01/01/05</transactiondate>
<amount>2500</amount>
</stock>
</inventory>
</company>
Can anybody suggest how to generate these Repeating Blocks in XML.
Thanks.
Repeating blocks in XML
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Repeating blocks in XML
I have searched the previous xml topics, but could not find anything which is specific to the above mentioned requirement. Could you please give some idea regarding how to handle repeating blocks in xml.ray.wurlod wrote:I'm sure this has been covered before. Did you try a Search?
Thanks.