Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Data Interfaces and Communication Interfaces →  ABAP and XML →  Transformations for XML →  ST - Simple Transformations →  ST - Serialization and Deserialization →  ST - Transformation of ABAP Values →  ST - tt:value, Elementary Data Objects →  ST - option, Mapping Rules 

ST - option, Mapping Rules for XML Fragments

Other versions: 7.31 | 7.40 | 7.54

Syntax


... option="preserveWS,stripWS,preserveCharRef,noRootAttr"

Effect

If one or more of the values preserveWS, stripWS, preserveCharRef, or noRootAttr are specified for option, the mapping rule for XML fragments is changed. These values are only respected by data objects that are declared with a reference to the domain XSDANY.

noRootAttr

The value noRootAttr is used to change the mapping rule for XML fragments so that no attribute asx:root containing the name of the root element of the XML fragment is added to the XML element. In deserializations, the root element is given the name of the XML element.