cancel
Showing results for 
Search instead for 
Did you mean: 

Checking Well-Formed XML files with ABAP Mapping

Former Member
0 Kudos

Hi guys,

Anybody knows which is the best way to check (well-formed) incoming XML files trough XI?

I’m using ABAP Mapping and before I check the value of the XML fields I want to check if the XML is well-formed. For this reason I need to know which is the class or classes that I need to use to checking the format of XML using an XSD file?

That is also possible using a DTD file instead of XSD?

Which is better XSD or DTD?

Thanks in advance,

Ricardo.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Ricardo,

try out these links.

/people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping

/people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi

/people/sap.user72/blog/2003/09/18/xsl-and-abap

Thanks and Regards

Vishal Kumar

former_member187339
Active Contributor
0 Kudos

Hi Ricardo,

Have a look at the following weblog:

/people/r.eijpe/blog/2005/11/21/xml-dom-processing-in-abap-part-ii--convert-an-xml-file-into-an-abap-table-using-sap-dom-approach

Regards

Suraj

Former Member
0 Kudos

Hi Ricardo,

You can copy the XML into XML spy or any similar tool and check for its wellformedness.

Cheers

JK