Project

Profile

Help

Bug #4546 » module.xsl

Norman Tovey-Walsh, 2020-05-07 12:27

 
<?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"
exclude-result-prefixes="xs"
version="2.0">

<xsl:variable name="debug" static="yes" select="()"/>

<xsl:template name="foo">
<xsl:message use-when=" 'test = $debug "
select="'Spoon!'"/>
</xsl:template>

</xsl:stylesheet>
(2-2/2)