Re: [xsl] grouping

Subject: Re: [xsl] grouping
From: "G. Ken Holman g.ken.holman@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 2 Jan 2026 14:25:43 -0000
At 02/01/2026 14:15 +0000, you wrote:
>Hi Ken.
>
>On Fri, 2 Jan 2026 at 14:06, G. Ken Holman <mailto:g.ken.holman@xxxxxxxxx>g.ken.holman@xxxxxxxxx <<mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:  
>You don't provide enough data to do any testing, 
>
>All there are are more of the same?

I understand it is all more of the same ... but I can't test a proposed solution to the problem without hand-creating a day's worth of data across two different days in order to test what I propose.

>Dave, but I would approach this by using a function that converts the date and time elements into the dateTime value of the start of the 3-hour period.
>Then you have a single string with which to group.
>
>
>Yes, I can do that... except I want grouping at a substring of the merged datetime?

I think you cannot use a substring but need to use the entire date/time string representing the starting minute of the three-hour period. Unless, of course, you are wanting to group all of the 0h-3h values across all days.

Perhaps I'm missing something.....  

--
Contact info, blog, articles, etc. http://www.CraneSoftwrights.com/s/ |
Check our site for free XML, XSLT, XSL-FO and UBL developer resources |
Streaming hands-on XSLT/XPath 2 training class @US$50 (5 hours free!) |
Essays (UBL, XML, etc.) http://www.linkedin.com/today/author/gkholman |

Current Thread