OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] XSLT For-Loop technique

[ Lists Home | Date Index | Thread Index ]

[Matt XML]

> What is the best way (if there is one) to implement the equivalent of a
> for-loop in xslt?

It's usually xsl:apply-templates, but sometimes it's desirable to use
xsl:for-each instead.  There are some subtleties in each one's use, but most
people advise the use of xsl:apply-templates unless you actually need
xsl:for-each.

xslt questions are best asked on the Mulberry xslt list - this question
comes up often enough, you can search the archives and xslt FAQ sites (like
the dpawson site).

Cheers,

Tom P





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS