xmlVersion property

Gets or sets the version attribute that is specified in the declaration of an XML document.

 

Syntax

HRESULT value = object.put_xmlVersion(BSTR* p);HRESULT value = object.get_xmlVersion(BSTR* p);

Property values

Type: BSTR

The version attribute that is set in the declaration of the XML `` document.

1.0

The version attribute is set to 1.0 or is not specified for a document that supports the XML feature.

NULL

The document does not support the XML feature.

Standards information

Remarks

Applications should use the IHTMLDocument7::normalize method after they change the IHTMLDocument7::xmlVersion property.