xsl-list
[Top] [All Lists]

Re: [xsl] XSLT Dead?

2007-04-17 14:27:03
On 4/17/07, Steve <subsume(_at_)gmail(_dot_)com> wrote:
Ahh, give and take. For-each is given nodes and apply-templates takes
nodes it "wants". I think I see.

Well the answer I look for is that with xsl:apply-templates the
processing is controlled by the structure of the input document, while
with xsl:for-each the processing is controlled by the stylesheet.  If
you understand and can describe what happens when you call
<xsl:apply-templates/> then you're doing better than most.

I think its good practice to only use xsl:for-each to change the context node.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>