Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.