5
This is the XSL HTML configuration file for the Hibernate
6
Reference Documentation.
8
It took me days to figure out this stuff and fix most of
9
the obvious bugs in the DocBook XSL distribution. Some of
10
the workarounds might not be appropriate with a newer version
11
of DocBook XSL. This file is released as part of Hibernate,
14
christian@hibernate.org
17
<!DOCTYPE xsl:stylesheet [
18
<!ENTITY db_xsl_path "../../support/docbook-xsl/">
21
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
23
xmlns="http://www.w3.org/TR/xhtml1/transitional"
24
exclude-result-prefixes="#default">
26
<xsl:import href="&db_xsl_path;/html/docbook.xsl"/>
28
<!--###################################################
30
################################################### -->
32
<xsl:param name="html.stylesheet">css/html.css</xsl:param>
34
<!-- These extensions are required for table printing and other stuff -->
35
<xsl:param name="use.extensions">1</xsl:param>
36
<xsl:param name="tablecolumns.extension">0</xsl:param>
37
<xsl:param name="callout.extensions">1</xsl:param>
38
<xsl:param name="graphicsize.extension">0</xsl:param>
40
<!--###################################################
42
################################################### -->
44
<!-- Generate the TOCs for named components only -->
45
<xsl:param name="generate.toc">
49
<!-- Show only Sections up to level 3 in the TOCs -->
50
<xsl:param name="toc.section.depth">3</xsl:param>
52
<!--###################################################
54
################################################### -->
56
<!-- Label Chapters and Sections (numbering) -->
57
<xsl:param name="chapter.autolabel">1</xsl:param>
58
<xsl:param name="section.autolabel" select="1"/>
59
<xsl:param name="section.label.includes.component.label" select="1"/>
61
<!--###################################################
63
################################################### -->
65
<!-- Don't use graphics, use a simple number style -->
66
<xsl:param name="callout.graphics">0</xsl:param>
68
<!-- Place callout marks at this column in annotated areas -->
69
<xsl:param name="callout.defaultcolumn">90</xsl:param>
71
<!--###################################################
73
################################################### -->
75
<!-- Placement of titles -->
76
<xsl:param name="formal.title.placement">