That's when I use it. I haven't moved on to dealing with sequences in any
explicit way, so I don't have the background to grasp that. In many ways I'm
still rooted in XSLT 1.0.
--
Charles Knell
cknell(_at_)onebox(_dot_)com - email
-----Original Message-----
From: Abel Braaksma <abel(_dot_)online(_at_)xs4all(_dot_)nl>
Sent: Wed, 16 May 2007 17:29:36 +0200
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Apply template?
cknell(_at_)onebox(_dot_)com wrote:
No, Danny. Sorting is the main reason for <xsl:for-each>.
really? I don't often use xsl:sort with xsl:for-each. Instead I use it
with apply-templates. And of course with xsl:for-each-group, I suppose.
The only situations where I find myself still using xsl:for-each is when
1. another approach is awkward or too complex compared to for-each, or
2. for sequences containing something else then nodes.
-- Abel
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--