Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - group by attribute [Thread Next] Re: group by attributeTo: NULL Date: 11/12/2007 2:08:00 PM pitadel wrote: > I'm trying this > <xsl:template match="/*/*"> > <xsl:for-each-group select="*" group-by="@tipo"> > <Row> > <xsl:apply-templates/> > </Row> > </xsl:for-each-group> > </xsl:template> > > but it doesn't work... xsl:for-each-group is only supported by XSLT 2.0 processors so if you want to use XSLT 2.0 then download Saxon from <http://saxon.sourceforge.net/> or Altova XSLT tools <URL:http://www.altova.com/download_components.html>. Microsoft's XSLT processors MSXML or XslCompiledTransform do not support XSLT 2.0 so far thus if you want to use them then you need to use an XSLT 1.0 grouping approach, see <URL:http://www.jenitennison.com/xslt/grouping/index.xml> for that. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
