</xsl:template>
<xsl:template match="ref">
- <emphasis><xsl:apply-templates /></emphasis>
+ <link linkend="{@refid}"><xsl:value-of select="." /></link>
</xsl:template>
<xsl:template match="simplesect[@kind='return']">
<itemizedlist>
<listitem>
<para>
- See also:
- <xsl:for-each select="para/ref">
- <emphasis><xsl:apply-templates /><xsl:text> </xsl:text></emphasis>
- </xsl:for-each>
+ See also: <xsl:apply-templates />
</para>
</listitem>
</itemizedlist>
<itemizedlist>
<listitem>
<para>
- Since: <xsl:apply-templates select="para"/>
+ Since: <xsl:apply-templates />
</para>
</listitem>
</itemizedlist>
<emphasis>Note: <xsl:apply-templates /></emphasis>
</xsl:template>
-<xsl:template match="programlisting//sp">
- <xsl:text> </xsl:text>
-</xsl:template>
-
<xsl:template match="sp">
<xsl:text> </xsl:text>
</xsl:template>
<!-- methods -->
<xsl:template match="memberdef" >
<xsl:if test="@kind = 'function' and @static = 'no'">
- <varlistentry>
+ <varlistentry id="{@id}">
<term>
- <xsl:apply-templates select="name"/>
+ <xsl:value-of select="name"/>
- <xsl:apply-templates select="briefdescription" />
</term>
<listitem>
<!-- classes -->
<xsl:template match="compounddef" >
- <xsl:if test="@kind = 'class' ">
- <varlistentry>
+ <xsl:if test="@kind = 'class'">
+ <varlistentry id="{@id}">
<term>
<xsl:apply-templates select="compoundname" />
<xsl:if test="briefdescription">
</term>
<listitem>
- <xsl:apply-templates select="detaileddescription/para" />
+ <xsl:apply-templates select="detaileddescription" />
</listitem>
</varlistentry>
</xsl:if>