ARTICLE
iXML Library, Sequential Parsing
Sequential parsing of simple XML data.
ABAP_SOURCE_CODE
ABAP_EXEC
ABAP_DESCRIPTION
XML data is first transformed to an input stream object and this
object is then processed in a loop (using a parser object) until the m
ethod PARSE_EVENT returns an initial value. To define the
sequences, the events CO_EVENT_ELEMENT_PRE and
CO_EVENT_ELEMENT_POST are registered before the loop. These events
are triggered before and after the parsing of an element. The loop
produces the name and value of the current element. The current
DOM
representation of the XML document is rendered in each loop
pass and is also displayed.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved