[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: using xsl:for-each-group, grouping by child nodes?

Subject: Re: using xsl:for-each-group, grouping by child nodes?
From: Eric Scheid <eric.scheid@xxxxxxxxxxxxxxx>
Date: Sun, 05 Oct 2008 01:06:13 +1000
Re:  using xsl:for-each-group
On 4/10/08 7:32 PM, "Michael Kay" <mike@xxxxxxxxxxxx> wrote:

> <xsl:template match="players">
> <xsl:for-each-group select="player" group-by="concat(team, state)">
>    <xsl:value-of select="current-grouping-key()"/>
>    <xsl:for-each-group select="current-group()" group-by="position">
>      <...

OK, I was close it seems.

Good to know it should actually be possible (and happy to feed the google
monster too).

Sadly, it seems the tool I'm using (Filemaker Pro) doesn't like it, throwing
an error of "Unknown XSL element: for-each-group". I'm guessing it doesn't
support XSLT 2.0 functions yet, which is a bummer.

Back to the drawing board for me, but thanks all the same =)

e.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.