
Jim Tinsley wrote:
If I may nit-pick, I think it more correct to say that it
isn't _always_ true. That is, it is not true when there exists a CSS that works with the XML.
Jeroen provided XML like this, which I thought was very good indeed. For any of you who haven't seen it, please point your browsers to http://www.gutenberg.org/dirs/1/1/3/3/11335/11335-x/11335-x.xml which is an absolute pleasure to read. (Well, if you're a geek, that is, and if you ain't, whatcha doin. here?? :-)
I said before, and I say again, that where such an XML is provided, HTML is probably redundant. ("Probably" because a significant use of HTML is as input to PDA readers like, say, Mobipocket, and I'm not sure if they would swallow this XML without requiring a Heimlich.)
I know of no CSS for Marcello's PGTEI. Perhaps one could be crafted for it.
One additional note, before the XML of this text is rendered on your browser, it is fed through an XSLT stylesheet, which turns it into HTML, and then, to that HTML, CSS is applied. The entire process is done for you by your browser. The XML follows TEILite, and validates on a validating parser; the HTML should validate on a validating HTML parser. Mercello's PGTEI is close enough to TEI that this will probably give very decent results on his files too. He basically added a few small extentions to TEILite, which are "documented" in his well commented DTD or XSLT sheets. (But that is stuff for specialists really) Jeroen.