What is XML markup for?

14. The XML declaration

<?xml version="1.0" encoding="iso-8859-1"?>
An XML document must begin with an XML declaration which does two things:
  • specifies that this is an XML document, and which version of the XML standard it follows
  • may specify a different character encoding for the document — if the default, and recommended, encoding UTF-8 is not being used

Up: Contents Previous: 13. A complete XML document Next: 15. Namespace declarations