Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Grouping within a group? >Thread Next - Re: Grouping within a group? Re: Grouping within a group?To: NULL Date: 7/2/2009 10:09:00 AM Thanks for your help! I'm stuck using XSLT 1.0. I will look at the article you list and, if need be, provide some xml. Does it matter that the recordset is being returned via /dsQueryResponse/Rows? > Meeting Date sounds like the attribute contains a date. What format does > that date have? Is that a sortable format like yyyy-mm-dd? > > As for the grouping, do you use XSLT 2.0 or 1.0? > > With XSLT 2.0 you would simply use two nested xsl:for-each-group > elements e.g. > =A0 =A0<xsl:for-each-group select=3D"row" group-by=3D"@Meeting_x0020_Date= "> > =A0 =A0 =A0<xsl:for-each-group select=3D"current-group()" > group-by=3D"@bsc_SiteProperties"> > > With XSLT 1.0 you need to use Muenchian grouping with two keys where the > second key concatenates the two attribute values (with some separator > character). Seehttp://www.biglist.com/lists/xsl-list/archives/200101/msg0= 0070.html > > If you need more help then please show us a code sample of the XML input > =A0 so that we have some data to write an XSLT stylesheet against. > > -- > > =A0 =A0 =A0 =A0 Martin Honnen --- MVP XML > =A0 =A0 =A0 =A0http://msmvps.com/blogs/martin_honnen/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
