View Single Post
Old 12-16-2015, 04:38 AM   #278
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,082
Karma: 315558332
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by Hitch View Post
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.

Last edited by pdurrant; 12-16-2015 at 04:42 AM.
pdurrant is offline   Reply With Quote