xsl-list
[Top] [All Lists]

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

2008-10-04 11:06:31
On 4/10/08 7:32 PM, "Michael Kay" <mike(_at_)saxonica(_dot_)com> 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.


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--