VBScript and Xpath excluding duplicates

inSeed

New Member
I am trying to pull names from an XML Document using a vbscript. XML Document structure\[code\]<Aliases> <Alias PartyType="DF" CaseID="000000" NameType=""> Name Name</Alias> <Alias PartyType="DF" CaseID="000000" NameType=""> Name Name</Alias> <Alias PartyType="DF" CaseID="000000" NameType=""> Name Name</Alias> ...</Aliases>\[/code\]the XML File might have 100 rows with the same name coming from several different CaseID's because for this part of my vbscript I am trying to pull all the different Names from all cases, but here is the issue, I don't want to return duplicates. is there a way to do this with an xPath Expression or should I try to do this with VBScript?EDITI am pretty sure that I am going to have to do this with VBScript. is there a way that I can create a variable that will hold another XML Document and input the unique items into that document, and how would I approach this.I also posted this question on Programmers.Stackexchange.com
 
Back
Top