XML Processing Instruction

Obsolete. Indicates an XML document and specifies the version and character set for the current document.

Syntax

<?XML
    ENCODING = "char-set"
    VERSION = "n.n"
?>

Attributes

ENCODING
Optional. String value specifying the character set used in the document. The default is UTF-8.
VERSION
Optional. Number that indicates the major and minor version of XML the file supports. If the value is not specified, the default is 1.0.

Processing Instruction Information

Minimum availability Internet Explorer 4.0
Minimum operating systems Windows 95, Windows NT 4.0

Remarks

Windows Internet Explorer 7. The Channel Definition Format (CDF) is obsolete and should not be used.

Include the XML processing instruction once at the beginning of the XML  ( CDF or Open Software Description (OSD)) file.

Example

It's a good idea to specify the character set and version numbers even when default values are assigned, as in the following example.


<?XML ENCODING="UTF-8" VERSION="1.0"?>

Community Additions

ADD
Show:
© 2014 Microsoft