FreeBSD handbook and XML source

Dag-Erling Smørgrav des at des.no
Sat Feb 21 10:28:05 UTC 2004


Kerry Cox <kerry.cox at ksl.com> writes:
> I'm looking to bring my Icecast documentation
> (http://quasi.ksl.com/icecast/) up to speed and quality with that of
> the FreeBSD Handbook page.

If you're using DocBook XML, the trick is mostly in the CSS stylesheet
you use to display the resulting HTML.  If you set the XSL parameter
html.stylesheet to 'foo', the HTML output will reference a CSS
stylesheet named foo.

The FreeBSD handbook uses SGML, not XML, and a lot of the formatting
is done in DSSSL, though some of it is also done with CSS (see
doc/share/misc/docbook.css in the doc repo)

DES
-- 
Dag-Erling Smørgrav - des at des.no



More information about the freebsd-doc mailing list