Entering content frame

Background documentationResult View Locate the document in its SAP Library structure

This view is used to output the current result of the XSL transformation. The output text is automatically updated with each step that involves a change in the result.

Caution

If the result of the transformation is an ABAP data structure, adequate representation in the result view is currently not supported. You will receive an appropriate message in the Debugger informing you of this.

Example:

In the following example, the defined XSLT program returns the source code of an HTML document as the result of the transformation. Note that the output in this case has real line breaks. The display of the line end is done with the help of the paragraph indicator ¶ - as is normal for standard code pages.

This graphic is explained in the accompanying text

Representation of Line Breaks in the Result View

To display real line breaks or blank characters additionally needed for formatting in the output text of the result view, you need the corresponding XML statement in the defined XSLT program.

If necessary, insert the following XSL statement for this purpose at an appropriate place (for example, at the beginning of the XSLT program):

This graphic is explained in the accompanying text

<xsl:output indent="yes"/>

The text indents and line breaks mirror the hierarchy of the document structure and improve, at the same time, the readability of the output.
Otherwise, line breaks are done automatically – at the latest, after the 255th character of the respective line.

 

 

 

Leaving content frame