Share via


validateOnParse Property (Windows Embedded CE 6.0)

1/6/2010

Indicates whether the parser should validate this document.

Script Syntax

            boolValue = oXMLDOMDocument.validateOnParse;
objXMLDOMDocument.validateOnParse = boolValue;

Remarks

Ee502028.collapse(en-US,WinEmbedded.60).gifScript Parameters

None.

Ee502028.collapse(en-US,WinEmbedded.60).gifScript Return Value

Boolean. If True, it validates during parsing. If False, it parses only for well-formed XML. The default is True.

Ee502028.collapse(en-US,WinEmbedded.60).gifC/C++ Syntax

HRESULT get_validateOnParse(
  VARIANT_BOOL* isValidating
);
HRESULT put_validateOnParse(
  VARIANT_BOOL isValidating
);

Remarks

Ee502028.collapse(en-US,WinEmbedded.60).gifC/C++ Parameters

  • isValidating
    [out, retval][in] If True, validates during parsing. If False, parses only for well-formed XML.

Ee502028.collapse(en-US,WinEmbedded.60).gifC/C++ Return Values

  • S_OK
    Value returned if successful.
  • E_INVALIDARG (for get_validateOnParse only)
    Value returned if isValidating is Null.

Ee502028.collapse(en-US,WinEmbedded.60).gifRequirements

Header msxml2.h, msxml2.idl
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

This member is an extension of the World Wide Web Consortium (W3C) Document Object Model (DOM).

This property is read/write, and applies to the following interface:

DOMDocument.

See Also

Reference

XML DOM Properties