SAP XSLT Processor Reference

The SAP XSLT processor is already available as part of the kernel since Basis release 6.10 – except for the platforms OS/390 and AS/400.

To ensure efficient support for the XSL transformation in the development of ABAP-based applications, an appropriate infrastructure will be made available. For this purpose, the XSL transformation is represented within the ABAP Workbench by a special Repository object, the XSLT program. You can create objects of this type in SE80 and process them in the XSLT Editor. CALL TRANSFORMATION is a new language element in ABAP that you can use to call up the transformation. The type of transformation (XML to XML, XML to ABAP, ABAP to XML, or ABAP to ABAP) is already determined by the two additions SOURCE and RESULT in CALL TRANSFORMATION.

SAP’s own implementation of the processor conforms, for the most part, with the specifications defined for the XSLT 1.0 version – as given under http://www.w3.org/TR/1999/REC-xslt-19991116.

The following documentation lists the few exceptions and the SAP-specific enhancements.

We use the following conventions to indicate the status for each corresponding XSL element:

... Means that the element conforms completely to the specifications given for XSLT 1.0.

... Means that the element is not supported at all.

... Means that the element does not completely conform to the specifications given for XSLT 1.0. This means there are differences compared to the specifications – for example, certain constrains or even enhancements.

... Means that the element is an SAP-specific enhancement in the form of additional statements or additional functions.

Reference

Statements

 

Creating the Result Tree

 

Flow Control

 

Defining and Calling Template Rules

 

Stylesheets and Structuring

 

Top-Level Help Statements

 

Output

 

Additional SAP Statements

Functions

 

XPath Functions

 

XSLT Functions

 

Additional SAP Statements

Preprocessor Sequences

General Constraints