Declaration: IsWellFormed(pData as XMLData,bWithChildren as Boolean,strError as Variant,nErrorPos as Variant,pBadXMLData as Variant) as Boolean Return Value True if the document is well formed.
Description IsWellFormed checks the document for well-formedness starting at the element pData.
If the document is not well formed, strError contains a error message, nErrorPos the position in the file and pBadXMLData holds a reference to the element which breaks the well-formedness. These out-parameters are defined as VARIANTs to support scripting languages like VBScript.