[thelist] XML Beginner Question II

David.Cantrell at Gunter.AF.mil David.Cantrell at Gunter.AF.mil
Tue Oct 8 10:56:00 CDT 2002


>now, can I do something similar to this, to refer to the contents of the
>IDNo node directly, as opposed to as a Node index like childnodes(0)?
>
>set objElements = objXML.SelectSingleNode("web_articles")
>theContent = objElements.childNodes(0).childNodes("IDNo").text
>response.write(theContent)

Try this:

	objElements.SelectSingleNode( "webObject/IDNo" ).text

HTH,
-dave



More information about the thelist mailing list