2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:fo="http://www.w3.org/1999/XSL/Format"
6 <!-- There is a bug in docbook-xsl-1.45; work around it here. -->
7 <!-- Also change it slightly for emacs key descriptions. -->
8 <xsl:template match="keycombo">
9 <xsl:variable name="action" select="@action"/>
10 <xsl:variable name="joinchar">
12 <xsl:when test="$action='seq'"><xsl:text> </xsl:text></xsl:when>
13 <xsl:when test="$action='simul'">-</xsl:when>
14 <xsl:otherwise>-</xsl:otherwise>
17 <xsl:for-each select="./*">
18 <xsl:if test="position()>1">
19 <xsl:value-of select="$joinchar"/>
21 <xsl:apply-templates select="."/>