Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
xmlVersion

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

 

Syntax

JavaScript

object.xmlVersion = p

p = object.xmlVersion

 

Property values

Type: String

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 normalize method after they change the xmlVersion property.

Examples

The following code example shows an XML declaration that specifies a values for the version attribute.


<?xml version="1.0"?>

See also

document

 

 

Show:
© 2015 Microsoft