You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by "Stoaks, Max" <St...@gsb.stanford.edu> on 2004/06/06 00:50:16 UTC
Eliminating duplicate elements
Hi,
I'm getting some xml that contains duplicate elements (trees) that I'd like to eliminate before presentation. Can someone point out the best way to do this?
Here's a much simplified example of the xml (the actual elements are more complex with more nodes and attributes):
<CompanyResult>
<CompanyTitle>IBM</CompanyTitle>
<CompanyContact>Joe</CompanyContact>
</CompanyResult>
<CompanyResult>
<CompanyTitle>IBM</CompanyTitle>
<CompanyContact>Joe</CompanyContact>
</CompanyResult>
Thanks for any help!
Max