Partager via


resolveExternals Property (Windows Embedded CE 6.0)

1/6/2010

Indicates whether external definitions, resolvable namespaces, document type definition (DTD) external subsets, and external entity references, are to be resolved at parse time, independent of validation.

Script Syntax

            boolValue = oXMLDOMDocument.resolveExternals;
objXMLDOMDocument.resolveExternals = boolVal;

Remarks

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

None.

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

Boolean. True if external definitions are to be resolved at parse time; False otherwise. The default is True.

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

HRESULT get_resolveExternals(
  VARIANT_BOOL* isResolving
);
HRESULT put_resolveExternals(
  VARIANT_BOOL isResolving
);

Remarks

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

  • isResolving
    [out, retval][in] True if external definitions are to be resolved at parse time; False otherwise. The default is True.

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

  • S_OK
    Value returned if successful.
  • E_INVALIDARG (for get_resolveExternals only)
    Value returned if isResolving is Null.

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

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

General Remarks

When isResolving is True, external definitions are resolved at parse time. This allows default attributes and data types to be defined on elements from the schema and allows use of the DTD as a file inclusion mechanism.

This setting is independent of whether validation is to be performed, as indicated by the value of the validateOnParse Property. If externals cannot be resolved during validation, a validation error occurs. When the value of isResolving is False, externals are not resolved and validation is not performed.

A resolvable namespace is indicated by a namespace Universal Resource Identifier (URI) that begins with "x-schema:" as its prefix.

The default setting is True.

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

Concepts

validateOnParse Property