Quote:
Originally Posted by Hitch
Instead of having an XML file with a schema that is not carried with it, but is, instead, divined by the individual device, based on the user's desires, the schema (the CSS, effectively) travels therewith.
|
Just a minor, technical point. CSS is not a schema for XML. CSS in fact has nothing to do with XML, and CSS files are not written in an XML format.
XML itself just defines the syntax of tags (the angle brackets, the way attributes of tags are given, etc.). A schema defines the structure of an XML file - what tags are available, and when they can be used. A parser for XML files can verify that an XML files matches the specifications given in a schema.
CSS is a way to apply styling to XHTML tagged elements. Not a schema.
By calling for XML, the OP is saying nothing. XML documents require a schema. Which is
what DocBook provides.
Everything the OP wants is provided by DocBook - meaningful tags for document elements, for many, many kinds of documents.
And yet the OP has rejected DocBook. And XHTML (another XML implementation).
I think the OP really needs to go away and do a few months research on what's currently available, and on the meanings of the terms XML, Schema, DTD, XTHML, CSS, and especially, DocBook.