RE: [xsl] Find distinct nodes from a sequence

Subject: RE: [xsl] Find distinct nodes from a sequence
From: Pushkar Khadilkar <Pushkar_Khadilkar@xxxxxxxxxxxxxxxx>
Date: Thu, 7 Jul 2011 14:04:07 +0530
An elegant solution !

Thank you very much David .

I did not know that there would be something in XPath itself that would solve
the problem.

Pushkar Khadilkar

-----Original Message-----
From: Andrew Welch [mailto:andrew.j.welch@xxxxxxxxx]
Sent: Thursday, July 07, 2011 1:56 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Find distinct nodes from a sequence

On 7 July 2011 09:16, David Carlisle <davidc@xxxxxxxxx> wrote:
> if $x is a sequence of nodes then $x/. is the sequence sorted into
> document order, with duplicates removed.

That is a great tip....

Andrew Welch

This e-mail may contain privileged and confidential
information which is the property of Persistent Systems Ltd. It is intended
only for the use of the individual or entity to which it is addressed. If you
are not the intended recipient, you are not authorized to read, retain, copy,
print, distribute or use this message. If you have received this communication
in error, please notify the sender and delete all copies of this message.
Persistent Systems Ltd. does not accept any liability for virus infected

Current Thread