SiteExperts.com Logo Home | Community | Developer's Paradise
User Groups | Site Tools | Site Information | Search
 Main Menu
 Forums
SiteExperts.com Forums
All Discussions

SiteExperts Feedback
The Lounge
Dynamic HTML
Site Design/ Critiques
HTML and CSS
XML Technologies
The Wireless Internet
Internet Explorer
Microsoft .NET
The Server
Technical Support

Sponsored Links

User Groups : Forums : SiteExperts : XML Technologies :

Previous DiscussionNext Discussion
 selectNodes issue/question
Set NodeList = objXMLDoc.selectNodes("/MarketingList/TargetClient/FNAME | LNAME")

is this proper syntax? I'm trying to grab both "FNAME" and "LNAME" nodes and combine them into one value with no space in between. Make sense?

thanks for ANY help!

Started By danthewebguy on Aug 10, 2005 at 12:24:36 PM

24 Response(s) | Reply

View All Replies | Goto Page: 4 3 2 1
ChrisRickard on Aug 11, 2005 at 9:57:44 AM

selectNodes will always return a collection. If there are no matches the .Count will be 0.

If NodeList.Count = 0 Then
    Response.Write "You are a user!"
Else
    Response.Write "you are NOT a user!"
End If

View All Replies | Goto Page: 4 3 2 1

To respond to a discussion, you must first logon.

If you are not registered, please register yourself to become a member of the SiteExperts.community.

User Name
Password
Copyright 1997-2000 InsideDHTML.com, LLC. All rights reserved.