There are plenty of XML documents around, by the way. XHTML is of course an XML document as well but here is docx which is a zipped XML document as well. This is from our wiki.
A document containing: 'This word is bold.' would look like:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<w:document xmlns:ve="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"
xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
xmlns:w10="urn:schemas-microsoft-com:office:word"
xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml">
<w:body>
<w:pw:rsidR="00F25A57" w:rsidRDefault="00F25A57">
<w:r><w:t xml:space="preserve">This </w:t></w:r>
<w:rw:rsidRPr="00FE579B">
<w:rPr><w:b/><w:bCs/></w:rPr>
<w:t>word</w:t>
</w:r>
<w:r><w:t xml:space="preserve"> is bold.</w:t></w:r>
</w:p>
<w:sectPr w:rsidR="00F25A57" w:rsidSect="00F25A57">
<w:pgSz w:w="12240" w:h="15840"/>
<w:pgMar w:top="1440" w:right="1800" w:bottom="1440" w:left="1800" w:header="720" w:footer="720" w:gutter="0"/>
<w:cols w:space="720"/>
<w:docGrid w:linePitch="360"/>
</w:sectPr>
</w:body>
</w:document>
Dale