Software Sue

Link to Simply Sue
Link to Sustainability Sue
location: software/xml/syntax Skip navigation : Home  

XML Syntax


The first line of an XML document should be the XML declaration. This gives the version of XML, and the character set to be used (e.g. ISO-8859-1 is the Latin-1/West European character set). For example:

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

This is followed by the root element of the document, which describes what kind of document you want this to be, for example a letter:

    <letter>