ARTICLE
sXML Library, Token-Based Parsing
Simple token-based reading of
XML data.
ABAP_SOURCE_CODE
ABAP_EXEC
ABAP_DESCRIPTION
This example demonstrates how the two methods NEXT_NODE and
NEXT_ATTRIBUTE of a string reader can be used to read all existing
information in XML data in a nested loop. The outer loop iterates
across all nodes of the XML data and the inner loop iterates
across any existing list of XML attributes of an element. The
relevant information is taken from the attributes of the reader,
appended to an internal table, and produced as a result.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved