Subject: [xsl] Conditional xsl:sort and leaving some items out of sorting From: Abel Braaksma Online <abel.online@xxxxxxxxx> Date: Wed, 12 Jul 2006 12:27:48 +0200 |
<xsl:apply-templates select="twz:rows/twz:row" > <xsl:if test="$name != 'generic'"> <xsl:sort select="twz:cell[1]" order="ascending" /> </xsl:if> </xsl:apply-templates>
<xsl:if test="$name = 'generic'"> <xsl:apply-templates select="twz:rows/twz:row" /> </xsl:if> <xsl:if test="$name != 'generic'"> <xsl:apply-templates select="twz:rows/twz:row" > <xsl:sort select="twz:cell[1]" order="ascending" /> </xsl:apply-templates> </xsl:if>
Cheers, Abel Braaksma Nuntia B.V. www.nuntia.nl (online July 17)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: [XSL] XSLT Unit Testing (, Florent Georges | Thread | Re: [xsl] Conditional xsl:sort and , David Carlisle |
[xsl] RE: [XSL] XSLT Unit Testing (, Weston, Toby | Date | Re: [xsl] Conditional xsl:sort and , David Carlisle |
Month |