hgbook

annotate xsl/html-single.xsl @ 624:3c5e1c03cc3e

Add XSL stylesheets for DocBook
author Dongsheng Song <dongsheng.song@gmail.com>
date Thu Mar 12 15:47:15 2009 +0800 (2009-03-12)
parents
children
rev   line source
dongsheng@624 1 <?xml version="1.0"?>
dongsheng@624 2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
dongsheng@624 3
dongsheng@624 4 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
dongsheng@624 5
dongsheng@624 6 <xsl:param name="draft.mode" select="no"/>
dongsheng@624 7
dongsheng@624 8 <!-- xsltproc can't support these extensions
dongsheng@624 9 <xsl:param name="use.extensions">1</xsl:param>
dongsheng@624 10 <xsl:param name="callouts.extension">1</xsl:param>
dongsheng@624 11 <xsl:param name="linenumbering.extension">1</xsl:param>
dongsheng@624 12 <xsl:param name="tablecolumns.extension">1</xsl:param>
dongsheng@624 13 <xsl:param name="textinsert.extension">1</xsl:param>
dongsheng@624 14 -->
dongsheng@624 15
dongsheng@624 16 <xsl:param name="admon.graphics" select="1" />
dongsheng@624 17 <xsl:param name="admon.graphics.extension">.png</xsl:param>
dongsheng@624 18 <xsl:param name="callout.graphics" select="1" />
dongsheng@624 19 <xsl:param name="callout.graphics.extension">.png</xsl:param>
dongsheng@624 20
dongsheng@624 21 <xsl:param name="section.autolabel" select="1" />
dongsheng@624 22 <xsl:param name="section.label.includes.component.label">1</xsl:param>
dongsheng@624 23
dongsheng@624 24 <xsl:output method="html" encoding="utf-8" indent="yes"/> <!-- html only -->
dongsheng@624 25 <xsl:param name="use.id.as.filename">0</xsl:param> <!-- html only -->
dongsheng@624 26 <xsl:param name="chunk.section.depth">0</xsl:param> <!-- html only -->
dongsheng@624 27 <xsl:param name="chunker.output.indent">yes</xsl:param> <!-- html only -->
dongsheng@624 28 <xsl:param name="html.stylesheet">hgbook.css</xsl:param> <!-- html only -->
dongsheng@624 29
dongsheng@624 30 </xsl:stylesheet>