diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2005-06-16 10:32:31 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2005-06-16 10:32:31 +0000 |
commit | 168e428fc4dfcf7f4d377d137743d8332784fa35 (patch) | |
tree | afdd32a3a7f9f28dfce516421077baf3383c87d0 /doc/doc-docbook/MyStyle-txt-html.xsl | |
parent | 612ba564e598548543eb4d3e2313d7be687beb9b (diff) |
Install all the files that comprise the new DocBook way of making the
documentation.
Diffstat (limited to 'doc/doc-docbook/MyStyle-txt-html.xsl')
-rw-r--r-- | doc/doc-docbook/MyStyle-txt-html.xsl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/doc-docbook/MyStyle-txt-html.xsl b/doc/doc-docbook/MyStyle-txt-html.xsl new file mode 100644 index 000000000..7ec02ec5c --- /dev/null +++ b/doc/doc-docbook/MyStyle-txt-html.xsl @@ -0,0 +1,23 @@ +<!-- $Cambridge: exim/doc/doc-docbook/MyStyle-txt-html.xsl,v 1.1 2005/06/16 10:32:31 ph10 Exp $ --> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> + +<!-- This stylesheet driver imports the DocBook XML stylesheet for unchunked +HTML output, and then imports my common stylesheet for HTML output. Then it +adds an instruction to use "(c)" for copyright rather than the Unicode +character. --> + +<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets-1.66.1/xhtml/docbook.xsl"/> +<xsl:import href="MyStyle-html.xsl"/> + +<xsl:template name="dingbat.characters"> + <xsl:param name="dingbat">bullet</xsl:param> + <xsl:choose> + <xsl:when test="$dingbat='copyright'">(c)</xsl:when> + <xsl:otherwise> + <xsl:text>?</xsl:text> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +</xsl:stylesheet> |