Project

Profile

Help

Bug #2308 ยป stylesheet.xsl

Problem stylesheet - Michael Kay, 2015-02-04 12:34

 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="3.0">
<xsl:mode name="s" streamable="yes"/>

<xsl:template match="test" mode="s">
<xsl:param name="a" tunnel="yes"/>

<xsl:if test="$a">
<xsl:apply-templates select="node()" mode="#current"/>
</xsl:if>
</xsl:template>

<xsl:template name="main">
<xsl:apply-templates select="doc('test.xml')" mode="s">
<xsl:with-param name="a" select="'a'" tunnel="yes"/>
</xsl:apply-templates>
</xsl:template>
</xsl:stylesheet>

    (1-1/1)