XML technologies / DocBook / Generating (X)HTML / Further output options / Creating documents for the Eclipse platform

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

Eclipse is an open development platform written in Java. For the Eclipse help system, Jiří Kosek developed the stylesheet eclipse/eclipse.xsl based on the HTML stylesheets. Making documentation available in Eclipse requires three steps:

  1. Process your document with the stylesheet eclipse/eclipse.xsl and set the following parameters: eclipse.plugin.name contains the title of your help, eclipse.plugin.id is a unique identifier for your help, such as org.eclipse.help.mydocu, which also names the directory under Eclipse’s plugin directory, eclipse.plugin.provider contains the provider’s name.

  2. Copy the generated files toc.xml and plugin.xml to the directory specified by the parameter eclipse.plugin.id.

  3. Install the directory in your Eclipse system. The new documentation will be available in the help system the next time you start Eclipse.

For more information, see the article DocBook for Eclipse: Reusing DocBook’s Stylesheets.

  

back to top