Aplicativos do Windows
Recolher sumário
Expandir sumário
EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

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.2

 

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

 

 

Mostrar:
© 2016 Microsoft