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

Re: Getting a distinct list of node names

Subject: Re: Getting a distinct list of node names
From: David Tolpin <dvd@xxxxxxxxxxxxxx>
Date: Tue, 16 Dec 2003 04:53:50 +0400 (AMT)
Re:  Getting a distinct list of node names
> In fact, it's the first step in the oft-recommended Muenchian grouping 
> technique. (De-duplicate nodes by grouping criterion, then group by the set 
> of de-duplicated "flag-bearer" nodes.)
> 
> A common way to do this is simply to compare a node's value to other nodes 
> (here it's the value of the node's name that you care about):
> 
> node:definition/*[not(name() = name(preceding-sibling::*))]
> 

Why should this take a long time?  Isn't this the same as

*[not(name() = name(preceding-sibling::*[last()]))]

David

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


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.