on 10-06-2015 12:36 PM
Hi All, We have a requirement where our XML does not have a common root element but that every parent element itself acts a root element which is creating multiple XML formats under nested schemas in SAP BODS 4.2 How can we link or combine these various root elements to each other into one XML? A sample code is attached below:
As shown above, the issue is consider "DEP" to be treated as root element so in the XML format it is picking only its 2 child elements "DEPTNO" and "DNAME" under one XML and then creating second XML file with root element as "EMPLOY" and contains its corresponding child elements "EMPNO".. Please suggest how can we achieve to link all these individual root elements into one XML in SAP BODS? Thanks, Shubha
Message was edited by: shubha rao
Well,
First of all, that's not a BODS or DQM question. It's just a XML question.
Try to look here:
http://stackoverflow.com/questions/5121052/can-we-import-xml-file-into-another-xml-file
I never do that in DS, but i think you must declare both XSD Schema.
Hope it helps,
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.