<xsl:param name="TransformationInput"><?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ti="java:com.sap.aii.mapping.api.TransformationInput"
xmlns:inpar="com.sap.aii.mapping.api.InputParameters"
xmlns:xsltc="http://xml.apache.org/xalan/xsltc"
exclude-result-prefixes="xs ti inpar xsltc"
version="1.0">
<xsl:param name="TransformationInput"/>
<xsl:template match="/">
<xsl:variable name="myparam" select="inpar:getValue(ti:getInputParameters(xsltc:cast('com.sap.aii.mapping.api.TransformationInput',$TransformationInput)),'MyParam')" />
<ExampleMessage>
<Param name="MyParam"><xsl:value-of select="$myparam"/></Param>
</ExampleMessage>
</xsl:template>
</xsl:stylesheet><?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:inpar="com.sap.aii.mapping.api.InputParameters"
xmlns:xsltc="http://xml.apache.org/xalan/xsltc"
exclude-result-prefixes="xs inpar xsltc"
version="1.0">
<xsl:param name="inputParameter"/>
<xsl:template match="/">
<xsl:variable name="myparam" select="inpar:getValue(xsltc:cast('com.sap.aii.mapping.api.InputParameters',$inputParameter),'MyParam')" />
<ExampleMessage>
<Param name="MyParam"><xsl:value-of select="$myparam"/></Param>
</ExampleMessage>
</xsl:template>
</xsl:stylesheet>You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 29 | |
| 25 | |
| 24 | |
| 19 | |
| 14 | |
| 13 | |
| 12 | |
| 11 | |
| 11 | |
| 11 |