Re: [xsl] Apply template?

Subject: Re: [xsl] Apply template?
From: Abel Braaksma <>
Date: Wed, 16 May 2007 17:29:36 +0200
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