xsl-list
[Top] [All Lists]

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

2014-08-28 12:27:07
varun bhatnagar varun292006(_at_)gmail(_dot_)com 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>
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>