Hi,
I wonder to know how can I create a user-defined function so it can be used in the XSLT of a Component XML Appearance.
I'd like to create, f. ex:
<xsl:function name="fn:appendStr"> <xsl: param name="string1"/> <xsl: param name="string2"/> <xsl:value-of select="$string1 - $string2"/> </xsl:function>
|
and then use that:
<xsl:value-of select="fn:appendStr('Hello', 'There')" />
|
I also added the following namespace to the stylesheet, and changed that to version="2.0", but without success.
Is there any way to create functions in this XSLT processor?
thanks.
BR,
Hugo