This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

<xsl:apply-templates> or <xsl:for-each> ??


Hi,
I am really very much confused regarding when you make use of 
<xsl:apply-templates> and when you make use of <xsl:for-each>
since i come from a programming background, it makes more sence for me to 
use <xsl:for-each> as I can imagine each node that is processed in a loop .
But technically <xsl:apply-templates> seems to be doing the same job.
can some one advice me as to when exactly do we make use of 
<xsl:apply-templates> and when <xsl:for-each> is best used??

and are there any any advantages/disadvantages of using apply-templates or 
for-each

Thanks
laura


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]