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

Re: Removing Duplicates & Formatting

Subject: Re: Removing Duplicates & Formatting
From: JCS <subscriber@xxxxxxxxxxxxx>
Date: Thu, 11 Dec 2003 03:00:51 +1300
true nobility arises
On 11/12/03 1:32 AM, "David Carlisle" <davidc@xxxxxxxxx> wrote:

> I wrote:
>> You wouldn't need to remove duplicates if you didn't have duplicates to
>> start with.
> which is of course true, but....
> 
>> In this case that means not selecting a child if it's got a
>> younger sibling with the same name,
> 
> I lied. Cousins with the same name could also produce duplicates.
> Still someone else (or you:-) could fill in the details...

Hi David,

I see... I can understand that in a query that if I just don't select what I
don't need then all will be a-okay.

Unfortunately I'm not sure what the relationships are going to be in the
file... I've tried your example with many variations and yet no results. I'm
wondering if I should somehow be using keys, but how can I specify a key if
I don't know what the element names are? The only thing I'm sure of is that
I'm selecting the element nodes that don't contain child element nodes.

If anybody wants to step in here, please feel free. I'm not sure how to
approach this in XSL, with or without keys.

/johnny :)





-- 
"There is nothing noble in being superior to another.  True nobility
 arises from being superior to one's past self." 


 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.