[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] LOOP-LIMIT


Subject: [xsl] LOOP-LIMIT
From: "William Rutford" <vsd18@xxxxxxxxxxxxxx>
Date: 1 Mar 2002 14:43:42 -0000


Hi I have a problem .. here it goes..

xml structure:

<root>
 <child id = '1'/>
 <child id = '2'/>
 <child id = '3'/>
 <child id = '4'/>
 <child id = '5'/>
 <child id = '6'/>
</root>

i have to run an <xsl:for-each> for the 'child' only till child id = '4'..
i want to write the condition of the following type
if(id > 4)
{
do something..
}
else
{
do something else
}


can some one suggest me a way tro do that??
thanks
vasu

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread
  • [xsl] LOOP-LIMIT
    • William Rutford - 1 Mar 2002 14:43:42 -0000 <=
      • cutlass - Fri, 1 Mar 2002 14:54:04 -0000
      • naha - Fri, 01 Mar 2002 10:12:45 -0500 (EST)
      • <Possible follow-ups>
      • Corey_Haines - Fri, 1 Mar 2002 09:57:16 -0500