RE: [xsl] Eliminating duplicate nodes

Subject: RE: [xsl] Eliminating duplicate nodes
From: "Mac Martine" <pub@xxxxxxxxxxxxxxxx>
Date: Tue, 15 Oct 2002 08:43:14 -0700
I know this is a weird situation, but I will have multiple nodes with
the same id's that will have different sets of children. Again, I
realize this sounds weird, but there is good reason, and there's really
no way around it in my situation.
So, I just want to traverse through every single node in the xml tree,
and display the id of every node without duplicating.
So, again, I could have:

<page id="newPage>
    	<chapter id="chapter1" />
	<chapter id="chapter2" />
<page id="newPage>
    	<chapter id="chapter1" />
	<chapter id="chapter2" />
	<chapter id="chapter3" />

...and I would want to display...


Please help me :)
Thanks a lot-

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Vasu
Sent: Tuesday, October 15, 2002 2:10 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] Eliminating duplicate nodes

>Notice that although the first 2 'contact' nodes have the same id, I
>want to traverse inside them.

You wanted to select unique nodes, and you also want some of them to be
of this constraint. is there any special condition or rule that says.. 
"These set of nodes need not be unique"??

(Condition like.. The first node need not be unique .. or . contact id =
need not be unique  etc.. )


Send and receive Hotmail on your mobile device:

 XSL-List info and archive:

 XSL-List info and archive:

Current Thread