Subject: Re: Is xsl:for-each "syntactic sugar"?
From: Mukul Gandhi <gandhi.mukul@xxxxxxxxx>
Date: Fri, 7 May 2010 17:58:55 +0530
|
On Fri, May 7, 2010 at 7:11 AM, David Carlisle <davidc@xxxxxxxxx> wrote:
> As above, it can be seen as syntactic variation on apply-templates, however
> you have to work quite hard to get exactly the same behaviour with respect
> to variable scope.
I think, people sometimes make conscience design decisions while using
xsl:for-each & apply-templates based on, pull and push processing
models. As you said, many XSLT programming situations could be
equivanetly handled by for-each & apply-templates.
--
Regards,
Mukul Gandhi
|