RE: Re: [xsl] Apply template?

Subject: RE: Re: [xsl] Apply template?
From: cknell@xxxxxxxxxx
Date: Wed, 16 May 2007 11:50:04 -0400
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@xxxxxxxxxx - email



-----Original Message-----
From:     Abel Braaksma <abel.online@xxxxxxxxx>
Sent:     Wed, 16 May 2007 17:29:36 +0200
To:       xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  Re: [xsl] Apply template?

cknell@xxxxxxxxxx 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

Current Thread