xsl-list
[Top] [All Lists]

Re: [xsl] XSLT 2.0 Multi-level grouping

2008-01-10 14:34:02
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


--~------------------------------------------------------------------
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>
--~--