Document.IsWellFormed

www.altova.com このトピックを印刷 前のページ 1つ上のレベル 次のページ

ホーム >  プログラマーのレファレンス > Application API > Interfaces > Document >

Document.IsWellFormed

See also

 

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.

 

Description

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.

 

Errors


1400

The object is no longer valid.


1407

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

 

Example

 

See IsValid.


(C) 2019 Altova GmbH