xmlEncoding property

Gets a value that represents the character encoding 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.get_xmlEncoding(BSTR* p);

Property values

Type: BSTR

A BSTR that represents the character encoding, or a NULL value if the character encoding is not specified in the declaration or the specified value is not known.

Standards information