Re: [xsl] Calling xsl: template through mode attribute prints only text nodes

Subject: Re: [xsl] Calling xsl: template through mode attribute prints only text nodes
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 28 Aug 2014 17:26:56 -0000
varun bhatnagar varun292006@xxxxxxxxx wrote:
<xsl:template match="@*|node()">
             <xsl:copy>
                 <xsl:apply-templates select="@*|node()"/>
             </xsl:copy>
         </xsl:template>

I think you want to add an identity transformation template for your mode


	<xsl:template match="@*|node()" mode="step2">
            <xsl:copy>
                <xsl:apply-templates select="@*|node()" mode="step2"/>
            </xsl:copy>
        </xsl:template>

Current Thread