I know it's possible (and easy!) to convert a DocBook file to XHTML
using the Professional version of XXE. However, my (mis?)understanding
was that I should also be able to attach a CSS to a DocBook file (via
the <?xml-stylesheet ... ?> processing command) and display it directly
in an internet browser. (And I was thinking that the syntax used for
CSS extensions, as described in chapters 3 and 4 of the CSS Support
Guide, would be ignored by the browser.)
However, I can't make this work, at least not with the css's supplied
with XXE. That is, I used the following line (here wrapped):
<?xml-stylesheet type="text/xsl" href="file:/C:/Program
Files/XMLmind_XML_Editor/addon/config/docbook/css/docbook.css"?>
But both FireFox and Internet Explorer choke on the '/*...*/' style
comments in XMLmind_XML_Editor/addon/config/docbook/css/docbook.css.
I'm guessing my understanding was simply wrong, that the CSS's which
ship with XXE are tailored to be used only by XXE. If that is true, are
there other CSS's which allow raw DocBook files to be viewed in more or
less their formatted form in Internet browsers? (I realize that last
question is outside the scope of this mailing list...)
--
Mike Maxwell
maxwell at umiacs.umd.edu
"Theorists...have merely to lock themselves in a room
with a blackboard and coffee maker to conduct their business."
--Bruce A. Schumm, Deep Down Things