Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting SelectSingleNode
Message
 
 
To
29/01/2004 22:31:56
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00872164
Message ID:
00872166
Views:
22
Michel,

What error do you get? It should return Null in such case.

>When using this:
>
>
>loDOM=CreateObject('MSXML2.DOMDocument.3.0')
>
>
>How can I use loDOM to detect if a node exist? If I do this:
>
>
>lcNode=loDom.SelectSingleNode(...)
>
>
>and if the node doesn't exist, this will cause an error.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform