Defend against bad data from gethostbyaddr(). Fixes bug #619
[exim.git] / doc / doc-docbook / MyStyle-txt-html.xsl
CommitLineData
3cb1b51e 1<!-- $Cambridge: exim/doc/doc-docbook/MyStyle-txt-html.xsl,v 1.3 2006/12/19 12:28:35 ph10 Exp $ -->
168e428f
PH
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
6HTML output, and then imports my common stylesheet for HTML output. Then it
7adds an instruction to use "(c)" for copyright rather than the Unicode
8character. -->
9
3cb1b51e 10<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/xhtml/docbook.xsl"/>
168e428f
PH
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>