Re: [xsl] XSLT 2.0 Multi-level grouping

Subject: Re: [xsl] XSLT 2.0 Multi-level grouping
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Thu, 10 Jan 2008 22:33:26 +0100 (CET)
Michael Kay wrote:

  Hi

> <xsl:for-each-group select="*" group-by="name()">

  I know name() is widely used as a grouping key, but I wonder if we
shouldn't use node-name(.) instead, to be more coherent regarding
namespaces handling.  The same way we advice to use self::ns:name
instead of name() eq 'ns:name'.

  Regards,

--drkm

























      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr

Current Thread