XML - One Root Node
Posted on 2007-03-21
I'm using VB6 and Microsoft XML 4.0
I have an XML string that I am trying to load into the DOMDocument40.
It is returning "False", meaning the load failed. I look at XMLDoc.Validate.reason and get the following:
Validate failed because the document does not contain exactly one root node.
Unfortunately, due to company security, I can't post the XML. However, when I view the xml string in IE, I can see only one root node.
If I use XML 2.0 I have no problem.
Any ideas what might be wrong?