On 11/30/05, Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:
This is dead easy in XSLT 2.0, but assuming that you want a 1.0 solution,
the only common grouping technique that works on a node-set that might
contain nodes from different documents is Ken Holman's variable-based
grouping technique. Google on that, or see
http://www.stylusstudio.com/xsllist/200410/post20410.html
Not the only one -- see also the makeDistinct template from FXSL,
which allows to find distinct values in any nodeset, even when the
nodes belong to different documents:
For an explanation and a concrete example see:
http://sources.redhat.com/ml/xsl-list/2002-07/msg00832.html
and
http://www.biglist.com/lists/xsl-list/archives/200112/msg00805.html
--
Cheers,
Dimitre Novatchev
---------------------------------------
To avoid situations in which you might make mistakes may be the
biggest mistake of all.
--~------------------------------------------------------------------
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>
--~--