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, and independent of validation.
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);
true/false
. The default value is true
.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
, UseInlineSchema
, and NonValidatingSchemaUse
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.
Component: MSXML 5.0 and later
Interface: IXMLDOMDocument2
Method: setProperty | getProperty
ValidateOnParse | UseInlineSchema