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 - Structure of ST Programs
Syntax
<?sap.transform simple?>
<tt:transform [template="tmpl"]
xmlns:tt="http://www.sap.com/transformation-templates">
[<tt:type name="..." [...]>
...
</tt:type>
...]
[<tt:root name="root1" [...] />
<tt:root name="root2" [...] />
...]
[<tt:parameter name="para1" [...] />
<tt:parameter name="para2" [...] />
...]
[<tt:variable name="vari1" [...] />
<tt:variable name="vari2" [...] />
...]
<tt:template [name=="tmpl"]>
...
</tt:template>
[<tt:template [name=="..."]>
...
</tt:template>
...]
</tt:transform>
Effect
An ST program must consist of valid XML data, structured as follows.
Note
In this documentation and in the example programs, double quotation marks (") are used as outer quotes and single quotation marks (') as inner quotes. However, as usual in XML, this is not mandatory. For example, 'not-initial(ref("X.Y"))' can be written instead of "not-initial(ref('X.Y'))".
Example