Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Grouping within a group?

From: Chris Gannon <chris@-----------.--->
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/



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent