Commit | Line | Data |
---|---|---|
168e428f PH |
1 | <!-- $Cambridge: exim/doc/doc-docbook/MyStyle-txt-html.xsl,v 1.1 2005/06/16 10:32:31 ph10 Exp $ --> |
2 | ||
3 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> | |
4 | ||
5 | <!-- This stylesheet driver imports the DocBook XML stylesheet for unchunked | |
6 | HTML output, and then imports my common stylesheet for HTML output. Then it | |
7 | adds an instruction to use "(c)" for copyright rather than the Unicode | |
8 | character. --> | |
9 | ||
10 | <xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets-1.66.1/xhtml/docbook.xsl"/> | |
11 | <xsl:import href="MyStyle-html.xsl"/> | |
12 | ||
13 | <xsl:template name="dingbat.characters"> | |
14 | <xsl:param name="dingbat">bullet</xsl:param> | |
15 | <xsl:choose> | |
16 | <xsl:when test="$dingbat='copyright'">(c)</xsl:when> | |
17 | <xsl:otherwise> | |
18 | <xsl:text>?</xsl:text> | |
19 | </xsl:otherwise> | |
20 | </xsl:choose> | |
21 | </xsl:template> | |
22 | ||
23 | </xsl:stylesheet> |