XML Prolog (continued)

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.

<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<!-- This is the first message in the document -->     
   <message>
        <priority type="urgent"/>
        <to>you@yourAddress.com</to>
        <from>me@myAddress.com</from>
        <code>
        <![CDATA[<tag> content </tag>]]>
        <code>
        <subject >Car lights on</subject>
        <?cocoon-process type="xslt"?>
        <body type=" text without graphic">
         Owner of vehicle with license plate
         454-561, your lights are on!
        </body>
    </message>

Click the Next button to continue.