例 IV.1. 分割HTML出力用のXSLファイル
hello-html.xsl
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'>
<xsl:import href="../docbook-xsl-1.70.1/html/chunk.xsl"/>
<xsl:output method="html" encoding="UTF-8" indent="yes"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
doctype-system="http://www.w3.org/TR/html4/loose.dtd"
/>
<xsl:param name="chapter.autolabel" select="1"/>
<xsl:param name="section.autolabel" select="1"/>
<xsl:param name="admon.graphics" select="1"/>
<xsl:param name="html.stylesheet">
css/hello-html.css
</xsl:param>
</xsl:stylesheet>
![]() |
インポートするXSLファイルを変更します。
|
![]() |
HTML文書のDOCTYPE宣言を入れるにはここに 記述するといいはずだが、chunk.xslで定義すると 二重に出力されてしまう。 |