471,595 Members | 2,233 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,595 software developers and data experts.

Interesting issue with selectSingleNode method

This is VBScript centric
I have an issue where in windows 2k the selectSingleNode method returns
values as expected but in Windows XP I get an error Object Required:
Any help would be appreciated.

Here is my code that realtes to this issue:

Set xmlDoc = CreateObject("Microsoft.XMLDOM")
Set objDictElem = CreateObject("Scripting.Dictionary")

'paths for XML nodes
ProcessorNode = "/DxDiag/SystemInformation/Processor"
MemNode = "/DxDiag/SystemInformation/Memory"

'Propogates parsed XML data
objDictElem.Add "Processor", xmlDoc.selectSingleNode(ProcessorNode).text
objDictElem.Add "Memory", xmlDoc.selectSingleNode(MemNode).text

Thanks again in advance.

Also I can be emailed at afrancis at ibeta.com.

-=We're not meant to exist in the real world=-

*** Sent via Developersdex http://www.developersdex.com ***
Nov 12 '05 #1
0 1099

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by muscha | last post: by
3 posts views Thread by Jonathan | last post: by
1 post views Thread by DeveloperX | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.