Quote:
Originally Posted by DaleDe
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
|
I use XML/Schema on my website. I'm not blowing smoke when I note that it's simply
not as easy to use as HTML.
And I'd further note, that while the OP seems to be convinced that it would all be one big happy SCHEMA, my experience with SCHEMA is--it never is. Just as Apple screwed with what would, and wouldn't, work in their ePUB reader, iBooks, I've yet to see One Schema to Rule Them All. Google, for example, now has its own criteria for what markup/schema IT will accept for websites, versus what SCHEMA.org has for the SAME bloody elements.
There simply isn't an easy answer to this. And as I said previously: it's never going to happen, for the reasons I mentioned in detail.
Hitch