Project

Profile

Help

Bug #4944 » stylesheet.xsl

Pavel Vítkovský, 2021-03-22 10:46

 
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fnc="fnc">

<xsl:template match="/">
<out>
<xsl:value-of select="'string'=fnc:test()"/>
</out>
</xsl:template>
<xsl:function name="fnc:test">
<xsl:value-of select="tokenize((),'/')[last()]"/>
</xsl:function>

</xsl:stylesheet>
(1-1/3)