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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML null tag 1

Status
Not open for further replies.

nicklieb

Programmer
Oct 17, 2002
383
GB
I don't think i have my brain in today :(

how do you check if a node in an xml is null?

Code:
 set completed_code = objXML.SelectSingleNode("//completed_code")

if completed_code.firstChild.nodeValue <> "" then
	 completed_code = completed_code.firstChild.nodeValue 
       end if

says object is required

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top