Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create xml file for xsd scheme

Former Member
0 Likes
5,210

Hello.

Thus the task of creating an xml file based on the available (and occasionally changing) xsd schemas. Tell me, is there a simple (standard) loading mechanism (or a reference to a local file) xsd scheme and further work with it? With the condition of minimum correction in the future, subject to change xsd schema.

Hello.

Thus the task of creating an xml file based on the available (and occasionally changing) xsd schemas. Tell me, is there a simple (standard) loading mechanism (or a reference to a local file) xsd scheme and further work with it? With the condition of minimum correction in the future, subject to change xsd schema.

7 REPLIES 7
Read only

arindam_m
Active Contributor
0 Likes
3,068

Hi,

May be you will have to read the XSD and generate the XML as XSD input is not static so CALL TRANSFORMATION may not help.

Check the demo program SIXML_TEST. Also the main factory class CL_IXML and Interfaces IF_IXML_PARSER, IF_IXML_NODE, etc may help.

Cheers,

Arindam

Read only

Former Member
0 Likes
3,068

Thanks for the reply.XSD schema does not change often (once a month). CALL TRANSFORMATION do not want to use because have to be rewritten for every change the schema.Into classes CL_IXML, IF_IXML_PARSER, IF_IXML_NODE already noticed, but I would like an example (we do not have the program SIXML_TEST). I would like to learn how to solve such problems other developers?

Read only

arindam_m
Active Contributor
0 Likes
3,068
Read only

Former Member
0 Likes
3,068

Hi.

Again, thank you for your reply. But I want to use the XSD scheme as a basis for the creation of XML document. Maybe someone had the experience of implementing such a task?

Read only

Former Member
0 Likes
3,068

Hi Alexander,

I recently wrote a blog on this topic. You can check it out here:

http://scn.sap.com/community/abap/blog/2015/12/14/create-xml-files-xsd-compliant-exploiting-sproxy-f...

Regards

Antonio

Read only

0 Likes
2,525

Hi Antonio,

The link that you shared is not available, can you update it?

Regards.

Gibram Habib,

Read only

gibram_habib
Explorer
0 Likes
2,524

Hi!

How did you solve it?

Regards.