[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Find distinct nodes from a sequence

Subject: RE: Find distinct nodes from a sequence
From: Pushkar Khadilkar <Pushkar_Khadilkar@xxxxxxxxxxxxxxxx>
Date: Thu, 7 Jul 2011 14:04:07 +0530
RE:  Find distinct nodes from a sequence
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.

Thanks,
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:  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
http://andrewjwelch.com


DISCLAIMER
==========
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
mails.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.