SAP ASXML ID VS ST ABEXA

Get Example source ABAP code based on a different SAP table
  


ARTICLE

asXML, Transformation ID vs. Simple Transformation
This example demonstrates the differences between the transformation ID and a Simple Transformation.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
A text string with five blanks is serialized and deserialized to a Simple Transformation DEMO_ASXML_COPY using the predefined identity transformation ID and the statement tt:copy. The transformation ID contains the statement <(> <<)>xsl:strip-space elements='*'/>, which means that the blanks are ignored by the deserialization and the text string then has the length 0. After the deserialization by the Simple Transformation, the blanks are present in the text string.