>> English << | česky | Español | Português | Türkçe | Nederlands | По-русски | Deutsch | Français | Italiano | 中文 | ქართული | Magyar | PolskiZVON > Tutorials > XML Tutorial
>> Example 13 << | Prev | Next | Contents

Description

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

Well-formed documents


XML version specification :


<?xml version="1.0"?>

 <text>This document conforms to the XML 1.0 specification.</text>


Encoding specification :


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

 <text>If encoding is not given UTF-8 is assumed</text>