A minimal prolog contains an xml declaration that identifies the document as XML. For example:
<?xml version="1.0"?>
The following table lists the additional attributes that can be used in an xml declaration.
Attribute |
Description |
version |
Identifies the version of the XML
markup language used in the data. This attribute is mandatory. |
encoding |
Identifies the character set used
to encode the data. The values ISO-8859-1 and Latin-1 represent
the Western European and English language character set. The default
value is compressed Unicode: UTF-8 |
standalone |
Indicates whether the document references
an external entity or an external data type specification. If there
are no external references, yes is appropriate. |
|