Declaration: IsValid(strError as Variant,nErrorPos as Variant,pBadData as Variant) as Boolean Return Value True if the document is valid, false if not.
Description IsValid() validates the document against its associated schema or DTD. strError and nErrorPos give you the same information as XMLSpy if you validate the file within the editor.