[xsl] URGENT:Ignore Tags

Subject: [xsl] URGENT:Ignore Tags
From: "vasu deva" <vsd18@xxxxxxxxxxxxxx>
Date: 26 Feb 2002 19:43:00 -0000

hi


I have a problem .. it goes like this
an xml file of thie folowing format

<root>
 <child id = '1'>happy</child>
 <child id = '2'>happy</child>
 <child id = '3'>happy</child>
 <child id = '1'>sad</child>
 <child id = '2'>sad</child>
 <child id = '3'>sad</child>
</root>

my problem is that when i go through each of the child elements,
then i should ignore the duplicates that is once child id = '1' is
encountered, the second time it should be ignored.. so effectively
the result should be
all happy 'childs' .. Is there a way to do that??
please help me
vsd



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



Current Thread