Skip navigation links
SAP NetWeaver 7.50 Enterprise Portal (SP 22)

Package com.sap.portal.httpconnectivity.transformationservice.xslextensions

Provides classes that are used as an extension of the transformers.

See: Description

Package com.sap.portal.httpconnectivity.transformationservice.xslextensions Description

Provides classes that are used as an extension of the transformers.

This package provides classes that can be used in ITransformerService as an extension of transformers by adding the classes in this package to the XSL transformers.

All the classes that will be used as XSL extensions must follow the definitions of such classes as defined in the SAP XML toolkit documentation.

Extension classes require the following:

XSLDateFormatter is a class for formatting dates according to the specifications in java.text.SimpleDateFormat.

The following is a code example for XSL extension classes in XSL files:

                    <?xml version="1.0"?>
                        <xsl:stylesheet version="1.0" ... 
                           xmlns:transDate="com.sap.portal.httpconnectivity.transformationservice.xslextensions.XSLDateFormatter">
                         ... 
                        <xsl:template match="*" mode="EPRSS:Date">
                           <xsl:variable name="DateStr"><xsl:value-of select="."/></xsl:variable>
                           <xsl:value-of name="formatted" select="transDate:formatDate($DateStr,$TimeFormat)"/>
                        </xsl:template> 
                         ...
                        

Since:
EP 6.0 SP7
Skip navigation links
SAP NetWeaver 7.50 Enterprise Portal (SP 22)

Copyright 2021 SAP SE Complete Copyright Notice