This topic has not yet been rated - Rate this topic

ResolveExternals Property [Second-level DOM]

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.

domObj.setProperty(strProp, vBool);
vBool = domObj.getProperty(strProp);
domObj.setProperty(strProp, vBool)
vBool = domObj.getProperty(strProp)
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.

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.

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

Did you find this helpful?
(1500 characters remaining)