Description of prolog

XML documents should begin with an XML declaration which specifies the version of XML being used.

<?xml version '1.0' encoding='ISO-8859-1'?>

xml version '1.0': Version of XML. Version 1.0 means conformance to W3C recommendation of XML (2nd edition, 6/10/2000).

Encoding='ISO-8859-1': Encoding of the XML document. Default value is UTF-16, 'ISO-8859-1' corresponds with "8-bit single-byte coded graphic character sets-Part 1: Latin alphabet No. 1", 'ISO-8859-7': corresponds with "8-bit single-byte coded graphic character sets-Part 7: Latin/Greek alphabet".

Example
<?xml version="1.0" encoding="ISO-8859-1"?>

.
INSRES/XML is well-formed. INSRES/XML document can be validated by a Document Type Declaration or an XML schema. In this case, the prolog of INSRES/XML must contain one of the two following instructions referring to the DTD or XML schema validating INSRES/XML.
<!DOCTYPE INSRES SYSTEM "insres10.dtd">

Optional, document type declaration validating the INSRES/XML document. This Document Type Definition (DTD) is the "insres10.dtd" file.

Example
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE INSRES SYSTEM "insres10.dtd">

<INSRES xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="insres10.xsd">

Optional, XML schema validating the INSRES/XML documents. This schema is given by "insres10.xsd" (XSD: XML Schema Definition language [W3C Recommendation, 2 May 2001]).

Example
<?xml version="1.0" encoding="ISO-8859-1"?> <
INSRES xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="insres10.xsd">

    Copyright © European Communities 2002