Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing duplicate elements or attributes

Status
Not open for further replies.

StillANewbie

Programmer
Aug 5, 2005
4
US
To provide more detail to my previous post, I have the following:

var xmlDoc = new ActiveXObject("Microsoft.XMLDOM")
xmlDoc.async ="false"
xmlDoc.load(ShowScene)
document.all.xmltext.value = xmlDoc.xml

var nodeList = xmlDoc.selectNodes("//");

So once I have done this, how do I filter through nodeList to remove any duplicate attributes or elements? Thanks.

Newbie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top