One may emulate
<xsl:for-each-group select="$folders" group-by="title">
<xsl:sort select="current-grouping-key()"/>
...
</xsl:for-each-group>
with
<xsl:for-each select="$folders/title">
<xsl:sort select="."/>
<xsl:for-each select="$folders[title = current()]">
...
</xsl:for-each>
</xsl:for-each>
--
Vladimir Nesterovsky
----- Original Message -----
From: "Martin Honnen" <Martin(_dot_)Honnen(_at_)gmx(_dot_)de>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Sunday, July 13, 2008 15:32
Subject: Re: [xsl] Combining two XBEL XML files
Aaron Gray wrote:
Whats the differences that stop it running on 1.0 ?
Doing it with XSLT 1.0 is more difficult, with XSLT 2.0 and
xsl:for-each-group you can easily group folder and bookmark elements
from different documents while Muenchian grouping in XSLT 1.0 is key
based and keys are built for each document only. So with XSLT 1.0 you
might want to do two transformations, the first one merging the two
documents into one, the second one doing grouping to get rid of
duplicates and sorting.
--
Martin Honnen
http://JavaScript.FAQTs.com/
--~------------------------------------------------------------------
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>
--~--