SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → Data Interfaces and Communication Interfaces → ABAP and XML → Transformations for XML → Simple Transformations → ST - Serialization and Deserialization → ST - Literal Template Content → ST - Literal XML Elements and Attributes →ST - tt:lax, Name Comparison of Literal XML Elements
Syntax
... tt:lax="on"|"off"|"deep-on"|"deep-off" ...
Effect
During the deserialization of literal XML elements, you can use the optional attribute tt:lax to control whether the name of an element is taken into consideration.
If you do not specify tt:lax, the setting complies with the surrounding context. By default, a template has the setting "deep-off".
Example
We have the following XML fragment:
Due to tt:lax="on", the ST program below can still deserialize this fragment despite differing element names: