From: Colin P. A. <co...@co...> - 2006-04-17 16:53:21
|
>>>>> "Eric" == Eric Bezault <er...@go...> writes: Eric> I must admit I'm not a fan of CSS and I don't understand why Eric> we use it since we are writing files in xml and html files Eric> are generated. Actually we are producing (currently mal-formed) xhtml. And xhtml is semantic markup, not stylistic markup (originally, so was html, but it gradually got corrupted). In xhtml 2.0, stylistic elements such as <b> and <i> have been dropped altogether. There was even a discussion about dropping <strong> - for the moment at least, that remains in (after all, it is a semantic stetement - it doesn't tell you how to present the element). Once the styling is separated from the semantics, we can more easily support multiple devices (audio browsers when they become widespread, PDAs, and printers - specifying a distinct stylesheet for printout, which is automatically managed by the browsers, will surely give a better compromise than translating gobodoc to docbook). This also means the gobodoc format can be more easily re-used - currently other projects hack their own version of gobo2html2.xsl (e.g. EiffelMedia and Goanna - yes Neal, you weren't exactly off-topic - this arose because I was looking to do just what you suggested - to reuse gobo2html2.xsl for goanna) - simply by supplying parameters to the transform to override the default stylesheets. This will save efforts of everyone making their own corrections. >> and downgrading from xhtml to a non-current version of html. Eric> I don't remember why I would have done that on purpose. The Eric> only thing I remember is that the html output was not what I Eric> expected (at least on my browser), so I proceeded by Eric> try-and-see until I got something which looked familiar. Which browser were you using? Eric> You are free to fix them (I would think that xhtml is better Eric> than html) and I'll tell you if the output looks good on my Eric> browser. I don't have time to fix it myself right now, I'm Eric> still fighting with geant. I'm quite willing to do this. If you don't like the output, just describe what you don't like about it, and I'll fix it in a clean way. -- Colin Adams Preston Lancashire |