Click to return to the XML (Extensible Markup Language) home page    
IXMLDOMDocument::url Prop...     IXMLDOMDocument Interface    
Web Workshop  |  XML (Extensible Markup Language)

IXMLDOMDocument::get_validateOnParse Method


Indicates whether the parser should validate this document.

Visual Basic Syntax

boolValue = oXMLDOMDocument.validateOnParse

C/C++ Syntax

HRESULT get_validateOnParse(
    VARIANT_BOOL *isValidating);

Parameters

isValidating
[out] If true, validates during parsing. If false, parses only for well-formed XML. 

C/C++ Return Values

S_OK
Value returned if successful.
E_INVALIDARG
Value returned if isValidating is null.


IXMLDOMDocument::put_validateOnParse Method


Indicates whether the parser should validate this document.

Visual Basic Syntax

objXMLDOMDocument.validateOnParse = boolValue

C/C++ Syntax

HRESULT put_validateOnParse(
    VARIANT_BOOL *isValidating);

Parameters

isValidating
[out] If true, validates during parsing. If false, parses only for well-formed XML.

C/C++ Return Value

Returns S_OK if successful, or an error code otherwise.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.