Initialize Tizen 2.3
[framework/multimedia/gstreamer0.10.git] / mobile / docs / xsl / keycombo.xsl
1 <?xml version='1.0'?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3                 xmlns:fo="http://www.w3.org/1999/XSL/Format"
4                 version='1.0'>
5
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">
11   <xsl:choose>
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>
15   </xsl:choose>
16  </xsl:variable>
17  <xsl:for-each select="./*">
18   <xsl:if test="position()>1">
19    <xsl:value-of select="$joinchar"/>
20   </xsl:if>
21   <xsl:apply-templates select="."/>
22  </xsl:for-each>
23 </xsl:template>
24
25 </xsl:stylesheet>
26