Subject: Re: [xsl] LOOP-LIMIT From: Hans Huber <hans.huber@xxxxxxxx> Date: Fri, 01 Mar 2002 16:11:46 +0100 |
You could do something like
<xsl:for-each select="root/child[@id<4]"> Do Something </xsl:for-each> <xsl:for-each select="root/child[@id>3]"> Do Something Else </xsl:for-each>
Or,
<xsl:for-each select="root/child"> <xsl:choose> <xsl:when test="@id < 4"> Do Something </xsl:when> <xsl:otherwise> Do Something Else </xsl:otherwise> </xsl:choose> </xsl:for-each>
-Corey
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] LOOP-LIMIT, Corey_Haines | Thread | RE: [xsl] comparison of strings hav, Pemmaraju Phani Kuma |
Re: [xsl] LOOP-LIMIT, Corey_Haines | Date | Re: [xsl] LOOP-LIMIT, naha |
Month |