Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

xmlVersion property

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

Document Object Model (DOM) Level 3 Core Specification, Section 1.2Internet Explorer 9



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.


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


The document does not support the XML feature.

Standards information


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



Community Additions

© 2015 Microsoft