다음을 통해 공유


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

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

C\C++ Syntax

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

Parameters

strProp
A BSTR string whose value is "ResolveExternals".

vBool
A VARIANT_BOOL value of true/false.

Remarks

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);  

and

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.

Versioning

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