1 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 <!-- work around newer groff/man setups using a prettier apostrophe
5 that unfortunately does not quote anything when cut&pasting
6 examples to the shell -->
7 <xsl:template name="escape.apostrophe">
8 <xsl:param name="content"/>
9 <xsl:call-template name="string.subst">
10 <xsl:with-param name="string" select="$content"/>
11 <xsl:with-param name="target">'</xsl:with-param>
12 <xsl:with-param name="replacement">\(aq</xsl:with-param>