Altova XMLSpy 2024 Professional Edition

Method: 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.



IsWellFormed checks the document for well-formedness starting at the element pData.


If the document is not well formed, strError contains an 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.




The object is no longer valid.


Invalid parameter or invalid address for the return parameter was specified.




See IsValid.

© 2018-2024 Altova GmbH