Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8595125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T00:21:43+00:00 2026-06-12T00:21:43+00:00

I am trying to pull names from an XML Document using a vbscript. XML

  • 0

I am trying to pull names from an XML Document using a vbscript.

XML Document structure

<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>

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?

UpDate

using the answer below I am now getting the following error

msxml3.dll: Expected token ‘)’ found ‘:’.

Aliases/Alias[@PartyType=’DF’ and not(./text() = preceding-sibling–>:<–:*/text())]

I tried

Aliases/Alias[@PartyType='DF' and not(./text() = preceding::/*text())]

thinking that the application might be using MSXML.net and not MSXML3
and it still gave me the same error.

???

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T00:21:44+00:00Added an answer on June 12, 2026 at 12:21 am

    Something like This maybe

    /Aliases/Alias[not(./text() = preceding-sibling::*/text())]
    

    (I haven’t tried it but it should work)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to pull down xml content from the server using jQuery.post() in
I'm trying to pull out a list of table names from a MySQL database.
I am trying to pull an LDAP jpegPhoto attribute from an openLDAP server using
I'm trying to pull first_name from Names table, but only if that users_id is
I am currently trying to pull information from the google contacts api. Using the
I am trying to split a name that I pull from a webpage using
I am trying to pull at list of resource/database names and IDs from a
I'm trying to pull data from a QR code via zxing using the following
I'm trying to pull the field names in the header of some JSON output.
Just trying to pull off some SMART info from connected Hard Drives on any

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.