Subject: RE: [xsl] For Loop in XSLT From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Fri, 3 May 2002 12:56:10 +0100 |
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: [xsl] 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] For Loop in XSLT, Jeni Tennison | Thread | Re: [xsl] For Loop in XSLT, Mike Brown |
RE: [xsl] Can't Obtain Results, Michael Kay | Date | [xsl] foreign keys in a xml-databas, ChivaBaba |
Month |