| Free tutorials for Java, Eclipse and Web programming |
The XSLT stylesheets have several parameters which can influence the result of the conversion.
Table 3. HTML Parameters
| Parameter | Description |
|---|---|
| name="section.autolabel" expression="1" | Turns on the autolabeling for sections (1. Title, 1.1. Subtitle, etc. |
| name="chapter.autolabel" expression="1" | Turns on the autolabeling for chapters |
| name="html.stylesheet" expression="styles.css" | Define the stylesheet which should be used. |
| name="html.cleanup" expression="1" | Will try to clean-up the html code for better readability |
| name="chunk.first.sections" expression="0" | Will try to clean-up the html code for better readability [TODO: Does not work yet] |
Table 4. pdf Parameters
| Parameter | Description |
|---|---|
| name="section.autolabel" expression="1" | Turns on the autolabeling for sections (1. Title, 1.1. Subtitle, etc. |
| name="chapter.autolabel" expression="1" | Turns on the autolabeling for chapters |
| name="html.stylesheet" expression="styles.css" | Define the stylesheet which should be used. |
| name="html.cleanup" expression="1" | Will try to clean-up the html code for better readability |
Docbook allows to include external html files into the HTML output. For example you could use this to add Javascript into your HTML output.
For example use the following statement to include some html code.
<?dbhtml-include href="../../myadditonalcontent.html"?>
See Inserting external HTML code for details.