Indicates an Extensible Markup Language (XML) document and specifies the version and character set for the current document.
Syntax
<?XML ENCODING="char-set" VERSION="n.n" ?>
Attributes
Element Information
Number of occurrences One Parent elements None Child elements None File formats supported CDF, OSD Requires closing tag Yes
Remarks
Include the ?XML element once at the beginning of the XML (CDF or 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"?>
See Also
For more information on character encoding and character sets, see CDF Parsing Rules and Hints.