annotate stylesheets/html.xsl @ 738:1a3d882149fd

Set chunker.output.encoding to 'utf-8'
author Dongsheng Song <dongsheng.song@gmail.com>
date Mon, 16 Mar 2009 17:49:05 +0800
parents bae6d1503482
children 4e8f302ae313
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
723
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
1 <?xml version="1.0"?>
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
3
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
4 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"/>
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
5
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
6 <xsl:param name="draft.mode" select="no"/>
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
7
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
8 <!-- xsltproc can't support these extensions
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
9 <xsl:param name="use.extensions">1</xsl:param>
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
10 <xsl:param name="callouts.extension">1</xsl:param>
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
11 <xsl:param name="linenumbering.extension">1</xsl:param>
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
12 <xsl:param name="tablecolumns.extension">1</xsl:param>
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
13 <xsl:param name="textinsert.extension">1</xsl:param>
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
14 -->
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
15
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
16 <xsl:param name="admon.graphics" select="1" />
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
17 <xsl:param name="admon.graphics.extension">.png</xsl:param>
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
18 <xsl:param name="callout.graphics" select="1" />
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
19 <xsl:param name="callout.graphics.extension">.png</xsl:param>
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
20
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
21 <xsl:param name="section.autolabel" select="1" />
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
22 <xsl:param name="section.label.includes.component.label">1</xsl:param>
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
23
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
24 <xsl:output method="html" encoding="utf-8" indent="yes"/> <!-- html only -->
738
1a3d882149fd Set chunker.output.encoding to 'utf-8'
Dongsheng Song <dongsheng.song@gmail.com>
parents: 728
diff changeset
25 <xsl:param name="chunker.output.encoding" select="'utf-8'"/> <!-- html only -->
1a3d882149fd Set chunker.output.encoding to 'utf-8'
Dongsheng Song <dongsheng.song@gmail.com>
parents: 728
diff changeset
26 <xsl:param name="chunker.output.indent" select="'yes'"/> <!-- html only -->
723
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
27 <xsl:param name="use.id.as.filename">0</xsl:param> <!-- html only -->
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
28 <xsl:param name="chunk.section.depth">0</xsl:param> <!-- html only -->
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
29 <xsl:param name="chunker.output.indent">yes</xsl:param> <!-- html only -->
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
30 <xsl:param name="html.stylesheet">hgbook.css</xsl:param> <!-- html only -->
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
31
3c5e1c03cc3e Add XSL stylesheets for DocBook
Dongsheng Song <dongsheng.song@gmail.com>
parents:
diff changeset
32 </xsl:stylesheet>