github.com/matislovas/ratago@v0.0.0-20240408115641-cc0857415a7a/xslt/testdata/general/bug-46-.xsl (about) 1 <?xml version='1.0'?> 2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 3 version='1.0'> 4 5 <xsl:template name="test"> 6 <xsl:text>SUCCESS</xsl:text> 7 </xsl:template> 8 9 <xsl:template match="/"> 10 <xsl:variable name="foo"> 11 <xsl:call-template name="test"/> 12 </xsl:variable> 13 <xsl:value-of select="$foo"/> 14 </xsl:template> 15 16 </xsl:stylesheet>