Ansicht
Dokumentation

ABENSXML_PARSING_STEPS_ABEXA - SXML PARSING STEPS ABEXA

ABENSXML_PARSING_STEPS_ABEXA - SXML PARSING STEPS ABEXA

BAL_S_LOG - Application Log: Log header data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

- Steps in Token-Based Parsing

This example demonstrates various steps in token-based parsing.

Source Code

Execute

Description

Using simple XML data, this example demonstrates how possible steps work, alongside NEXT_NODE and NEXT_ATTRIBUTE, in token-based parsing with an XML reader from sXML Library.

  • The method CURRENT_NODE resets an iteration across an attribute list back to its start.
  • The method PUSH_BACK first branches an iteration from a value node to the associated element opening and from there to the element opening of the superelement.
  • The method SKIP_NODE then parses all subnodes up to the end of element of the XML data.

In this example, the demonstration methods process a known XML data structure. A further executable example demonstrates the methods without the entire structure of XML data being known in advance.






Addresses (Business Address Services)   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1399 Date: 20240328 Time: 110632     sap01-206 ( 28 ms )