More than one XML Repetition path
Posted: Thu Sep 22, 2005 7:01 am
A similar message has been posted earlier on the RTI Forum. I am posting it here(with updations) hoping that I might get a response.
I want to generate an XML document of the form
Now to do this I have to make both /header/city/customer and /header/city/branch as repetition paths. The input to XML consists of 5 columns. The input is of the form:
Both /header/city/customer and /header/city/branch (dummy columns) are specified as repetition paths. So now the problem is that for each row of branch and customer account a new city tag is created instead of one city tag.
I want to ask if it is possible to generate such a document using the XML output stage(either in Server or in Enterprise Edition).
Thanks and Regards,
Bakul
I want to generate an XML document of the form
Code: Select all
<header>
<city name='CIT'>
<customer>
<name></name>
<account></account>
</customer>
<customer>
<name></name>
<account></account>
</customer>
<branch>
<name></name>
<service></service>
</branch>
<branch>
<name></name>
<service></service>
</branch>
</city>
</header>
Code: Select all
city branchname branchservice customername customeraccount
CIT ABC Loan cust1 A1
CIT XYZ Loan cust2 A3
I want to ask if it is possible to generate such a document using the XML output stage(either in Server or in Enterprise Edition).
Thanks and Regards,
Bakul