sapdev logo background
sapdev logo sapdev logo
Comments

SAP CALL TRAFO ESCAPING ABEXA documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

Transformation of XML Syntax Characters
This example demonstrates the serialization of characters from the
XML syntax using various transformations.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
Four XSLT programs with different output methods are called and an ST program for serializing a text string containing the syntax characters " . The results are as follows:
  • No replacements are made in the results of the XSL transformation

  • DEMO_ESCAPING_TEXT with the output method "text" .
  • In the results of the XSL transformation DEMO_ESCAPING_XML

  • with the output method "xml" , the syntax characters
    , and are replaced by amp;lt; , gt; , and amp; .
  • In the results of the XSL transformation DEMO_ESCAPING_HTML

  • with the output method "html" , the syntax characters
    , and are replaced by amp;lt;
    , gt; , and amp; .
  • In the results of the XSL transformation DEMO_ESCAPING_JS with the output method "html" , the syntax characters are not replaced because they are part of JavaScript .

  • The results of the simple transformation DEMO_ESCAPING_ST match the XSL transformation with the output method "xml" . Also, the text string is displayed here as an attribute in which the syntax character " is replaced by quot; .
    Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




    CALL_SEQUENCE_GLOSRY
    CALL_TRAFO_RESULTS_ABEXA




    comments powered by Disqus