Subject: RE: [xsl] group dates by month then day From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Sat, 3 Dec 2005 13:57:11 -0000 |
<xsl:for-each-group group-by="month-from-dateTime(...)"> <then> <xsl:for-each-group group-by="day-from-dateTime(...)"> Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Kevin Bird [mailto:kevin.bird@xxxxxxxxxxxxxxxxxxxxxxx] > Sent: 03 December 2005 13:02 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] group dates by month then day > > Hi > > I have a node-set which needs to be grouped on a date > element. The date > element is in the XSLT2 friendly format: YYYY-MM-DDThh:mm:ss.s. I need > to group by month and then day within month. Is there a way to achieve > this in 2 without treating the dates as strings and chopping then up > with substring-before, substring-after? (I'm not against > substring-before, substring-after, it just feels like a > backwards step!) > > Many thanks. > > -- > Kevin
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] group dates by month then day, Kevin Bird | Thread | [xsl] use two consecutive transform, mus47@xxxxxxxx |
[xsl] group dates by month then day, Kevin Bird | Date | RE: [xsl] Totals for conditional su, Michael Kay |
Month |