[xsl] Re: Duplicates

Subject: [xsl] Re: Duplicates
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Tue, 3 Jun 2003 23:19:27 +0200
>
>   Can anybody help me. I want to filter duplicates without use of keys and
>   preceding-sibling
>
>
> why?
>
> It's like saying I want to sum 1 2 3 4 without using an addition
> operator.

There are real cases when this is simply unavoidable, e.g. trying to get the
distinct-valued nodes from a node-set, containing nodes from more than one
document.

One solution is to use the "make-distinct" template from FXSL. This solution
was first posted in xsl-list a year and a half ago:

http://sources.redhat.com/ml/xsl-list/2001-12/msg00812.html



=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread