SAP IXML PARSE RENDER TOKEN ABEXA



Get Example source ABAP code based on a different SAP table
  


VX_EXA_ONLY

ABAP_IXML - Token Parsers and Renderers, Iterative
Parses XML data to an internal table (iterative parsing) and renders this table.

ABAP_SOURCE_CODE
DEMO CL_DEMO_IXML_PARSE_RNDR_TK_ITR

ABAP_DESCRIPTION
Using a token parser, XML is parsed line by line into an internal table of type SIXMLDOM. The nodes for the attributes are removed. The table is passed to a token renderer. The result is the XML data without attributes.
Instead of filtering out the attributes in the ABAP class, the value of if_ixml_token_parser=>co_tk_attribute can simply be subtracted from the actual parameter for tk_mask. This means the parser attributes are not returned.