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:
<main>
<page id="newPage>
<chapter id="chapter1" />
<chapter id="chapter2" />
</page>
<page id="newPage>
<chapter id="chapter1" />
<chapter id="chapter2" />
<chapter id="chapter3" />
</page>
</main>
...and I would want to display...
chapter1
chapter2
chapter3
Please help me :)
Thanks a lot-
Mac
-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of
Vasu
Chakkera
Sent: Tuesday, October 15, 2002 2:10 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] Eliminating duplicate nodes
Notice that although the first 2 'contact' nodes have the same id, I
want to traverse inside them.
why??
You wanted to select unique nodes, and you also want some of them to be
out
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 =
001
need not be unique etc.. )
Vasu
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list