|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: For Loop in XSLT
There is <xsl:for-each> (and <xsl:apply-templates>) to iterate over a node-set, but for more general iteration, you use recursion as you have already discovered. Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of > Bagchi Ratul > Sent: 03 May 2002 11:37 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: For Loop in XSLT > > > Hi, > I was just wondering if there is something like the for loop > we have in > other languages. I simulated it by recursively calling a template from > itself. But I was not sure whether it is the only/best method. > Can somebody throw some light on it. > > Regards, > Ratul. > > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








