Ansicht
Dokumentation

ABENABAP_SXML_LIB - ABAP SXML LIB

ABENABAP_SXML_LIB - ABAP SXML LIB

Vendor Master (General Section)   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

sXML Library

sXML Library provides an API consisting of classes and interfaces for reading (validating parses) and rendering (validating writes) of XML data in different formats and from different sources or to different targets.

Unlike in the iXML Library, no document is created in DOM format and no DTDs (Document Type Definitions) are supported. Instead, the nodes of the tree structure represented by the XML data are processed serially and only the current node can always be accessed. The node can be accessed using token-based or object-oriented methods. The classes and interfaces are described in the class and interface documentation.

Notes

  • If access to all nodes of an XML document in the memory is not required and no DTD is needed, sXML Library is an alternative to iXML Library with better performance. It also supports more XML formats and enables the handling of JSON in ABAP programs.
  • The serial processing of XML data in sXML Library involves the parsing and rendering of each node front to back without a preview. This is particularly clear in the parser method SKIP_NODE, which skips a node, but still has to parse it with all subnodes. This characteristic can be exploited to check whether data is well-formed and to test the copying of XML data to a writer.
  • sXML Library supports the UTF character representation of the Unicode character set and hence also characters from the surrogate area.





RFUMSV00 - Advance Return for Tax on Sales/Purchases   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 3087 Date: 20240329 Time: 083839     sap01-206 ( 42 ms )