cancel
Showing results for 
Search instead for 
Did you mean: 

Question on XML using SAP BODS 4.2

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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