This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Ignore Tags


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]