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--