Ansicht
Dokumentation

ABENIXML_PARSING_ABEXA - IXML PARSING ABEXA

ABENIXML_PARSING_ABEXA - IXML PARSING ABEXA

BAL Application Log Documentation   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

- Parse to DOM

Parses simple XML data to a DOM representation.

Source Code

Execute

Description

XML data is first transformed to an input stream object and then imported into a DOM object using a parser object. If parsed successfully, the nodes of the DOM object are compiled as output texts in the method process_dom.

An iterator is used to access the nodes. Each element is checked to see whether it has attributes. Existing attributes are then read.

If the XML data has errors, for example because a closing tag was renamed, the method process_errors is executed, and the appropriate error message is displayed.






General Material Data   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 969 Date: 20240425 Time: 082735     sap01-206 ( 22 ms )