XML technologies / DocBook / The DocBook XSL stylesheets / Stylesheet overview / Directory structure and contents

(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)

DocBook XSL and DocBook XSL NS share a directory structure. When this book was written, the latter lacked support or files for some formats: eclipse, slides, roundtrip, website and wordml. Some less relevant directories are omitted here. The following directories are available:

common/

contains format-independent language files and stylesheets; see Customizing language files.

eclipse/

contains stylesheets generating files for Eclipse’s help system.

epub/

contains stylesheets and a script for EPUB, a format for e-books. EPUB is an open specification from the International Digital Publishing Forum, abbreviated IDPF. The stylesheets are based on xhtml-1_1/, and an additional Ruby script dbtoepub simplifies the conversion process.

extensions/

contains extensions, mostly written in Java for specific XSLT processors; see Extension functions and elements.

fo/

generates XSL-FO as an intermediate format for print; see Generating FO (PDF).

highlighting/

contains configuration files for C, Java, PHP and other languages for syntax highlighting.

html/ xhtml/ xhtml-1_1/

generates HTML, XHTML 1.0 or XHTML 1.1; see Generating (X)HTML.

htmlhelp/

generates HTMLHelp; see Generating HTMLHelp. For instructions on generating HTMLHelp files, see Sagehill: HTML Help.

javahelp/

generates JavaHelp; see also Generating JavaHelp.

manpages/

generates groff/nroff man pages, processing only refentry elements.

roundtrip/

These stylesheets were still in development when this book was written. They aim to convert DocBook to WordML, ODF (OpenDocument Format) and ApplePages, and back again.

slides/

transforms DocBook Slides documents for presentation slides.

website/

transforms DocBook Website documents for creating websites.

wordml/

generates WordML, the format used by Microsoft Word from version 2003.

  

back to top