Share via


xmlStandalone property

Gets or sets the value of the standalone attribute in the declaration of an XML document.

 

Syntax

HRESULT value = object.get_xmlStandalone(* p);

Property values

Type: VARIANT_BOOL

VARIANT_FALSE (false)

Default. The standalone attribute is set to no, was not specified, or is not appropriate for the document.

VARIANT_TRUE (true)

The standalone attribute is set to yes.

Standards information

Remarks

Setting the value of the IHTMLDocument7::xmlStandalone property does not cause an XML document to validate. Use the IHTMLDocument7::normalize method instead.