summaryrefslogtreecommitdiffstats
path: root/html.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'html.xsl')
-rw-r--r--html.xsl27
1 files changed, 27 insertions, 0 deletions
diff --git a/html.xsl b/html.xsl
new file mode 100644
index 0000000..ad7cecc
--- /dev/null
+++ b/html.xsl
@@ -0,0 +1,27 @@
+<?xml version='1.0'?>
+
+<!-- This file wraps around the DocBook HTML XSL stylesheet to customise
+ - some parameters; add the CSS stylesheet, etc.
+ -->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version='1.0'
+ xmlns="http://www.w3.org/TR/xhtml1/transitional"
+ exclude-result-prefixes="#default">
+
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
+
+<xsl:variable name="html.stylesheet">migration.css</xsl:variable>
+
+<!-- add class="programlisting" attribute on the <pre>s from
+ <programlisting>s so that the CSS can style them nicely. -->
+<xsl:attribute-set name="shade.verbatim.style">
+ <xsl:attribute name="class">programlisting</xsl:attribute>
+</xsl:attribute-set>
+
+<!-- do generate variablelist's as tables -->
+<xsl:variable name="variablelist.as.table" select="1"/>
+
+<xsl:variable name="section.autolabel" select="1"/>
+
+</xsl:stylesheet>