Ansicht
Dokumentation
ABENSXML_PARSING_ABEXA - SXML PARSING ABEXA
rdisp/max_wprun_time - Maximum work process run time General Material DataThis documentation is copyright by SAP AG.
- Token-Based Parsing
Simple token-based reading of XML data.
Source Code
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 output as a result.
Note
The program DEMO_SXML_PARSE_XML executes the token-based parsing shown here for any XML data that can be entered.
General Material Data CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 972 Date: 20240419 Time: 230546 sap01-206 ( 38 ms )