DocBook is an XML dialect for writing documentation.
The Cascading Stylesheet provided here allows you to directly view a styled XML document in software that supports XML styled with CSS2 (e.g. a recent Mozilla or Opera browser)
There are currently many Docbook elements that haven't had CSS written to style them yet.
(To view the XML versions, you need a capable browser)
Author Guide (from The Linux Documentation Project)
Documentation for CVSspam
Some docbook test cases.
To use, alter your XML file to include a stylesheet directive,
<?xml version="1.0"?> <?xml-stylesheet href="docbook-css-0.3/driver.css" type="text/css"?> <book> ...
2004-11-21 docbook-css-0.4.tar.gz ~8kB
sgmltag
classesentry
s2004-10-17 docbook-css-0.3.tar.gz ~7kB
ulink
support; in Mozilla and Opera!guimenuitem
following a
guimenu
under the same parent node. The arrow now only
appears if the parent is a menuchoice
listitem
s within
orderedlist
always being '0' in Mozilla.important
; to match other
admonitions.keycap
; beige background, and borders to look more
'key-like'.guibutton
grey background and raised borders.productname
italic.quote
tags
(mozilla seems to ignore CSS nested quoting syntax).para
children of blockquote
will be
surrounded by quote-marks.2004-09-05 docbook-css-0.2.tar.gz ~6kB
ulink
binding dissabled, since it seems to crash
recent mozilla.org offerings.2002-12-12 docbook-css-0.1.0.tar.gz ~3kB
The technology behind this stylesheet is fundamentally limited, and this limits the kind of presentation possible using it.
attribution
comes first inside a
blockquote
, but should traditionally be presented
after the quoted text.Browse a cross-referenced version of the stylesheet source.
Part of the stylesheet was generated from the source of DocBook: The Definitive Guide with this (slightly ugly) script,
Report bugs and make suggestions to the Docbook-CSS mailing list.