ResolveExternals Property


Specifies whether external definitions, resolvable namespaces, external subsets of document type definitions (DTDs), and external entity references are to be resolved at the time the document is parsed.

This property is supported in MSXML 6.0, and the default value is false.

This property has security implications. For more information, see MSXML Security Overview and DOM Security.

Script Syntax

domObj.setProperty(strProp, vBool);  
vBool = domObj.getProperty(strProp);  

Visual Basic Syntax

(strProp, vBool)  
vBool = domObj.getProperty

C\C++ Syntax

HRESULT setProperty(BSTR strProp, VARIANT vBool);  
HRESULT getProperty(BSTR strProp", VARIANT* vBool);  


A BSTR string whose value is "ResolveExternals".

A VARIANT_BOOL value of true/false.


ResolveExternals has a corresponding first-level property, resolveExternals, on an XML DOM. Both properties, as shown in the following JScript code fragments, have the same effect.

dom.setProperty("ResolveExternals", true);  


dom.resolveExternals = true;  

The second-level properties ValidateOnParse, ResolveExternals and UseInlineSchema all involve the validation of an XML document. Collectively, they influence the behavior of the parser in different ways. For more information see the Remarks section of the UseInlineSchema property.


This property is supported in MSXML 3.0 and MSXML 6.0. The default value is false.

Applies to

Interface: IXMLDOMDocument2

Methods: setProperty | getProperty

See Also

ValidateOnParse Property
UseInlineSchema Property