Czech

Suse Linux 10.1



Writing documentations in DocBook


31.10.2006

DocBook generate (html, pdf, PostScript, HTMLHelp, ...) documentation from xml.

Installation

By YaST or apt-get install next packages:
docbook_4
docbook-xsl-stylesheets
saxon
libxml2

DocBook xml file

Create xml file by this documentations:
http://docbook.org/tdg/en/html/docbook.html
http://docbook.org/
Czech dokumentation:
http://www.kosek.cz/xml/db/

Examle xml file, which generate K3dEngine script documentation.

XML validation

xmllint --noout --valid docbook.xml
A command validate the file docbook.xml

Generating a html dokumentation

saxon docbook.xml /usr/share/xml/docbook/stylesheet/nwalsh/1.69.1/xhtml/chunk.xsl
A command generate html documentation from file docbook.xml by the style chunk.xsl
Path to the xsl file can be different. Path is similar to current docbook-xsl-stylesheets paths.

home / linux / suse linux


Valid XHTML 1.0 Transitional