|
|
|
@ -729,19 +729,11 @@
|
|
|
|
|
|
|
|
|
|
<xsl:template match="programlisting">
|
|
|
|
|
<programlisting language="c">
|
|
|
|
|
<xsl:apply-templates/>
|
|
|
|
|
</programlisting>
|
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
|
|
<xsl:template match="codeline">
|
|
|
|
|
<xsl:apply-templates/>
|
|
|
|
|
<xsl:for-each select="codeline[position() > 1 or highlight]">
|
|
|
|
|
<xsl:apply-templates select="."/>
|
|
|
|
|
<xsl:text> </xsl:text>
|
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
|
|
<xsl:template match="codeline[last()]">
|
|
|
|
|
<xsl:if test="text() != '*'">
|
|
|
|
|
<xsl:apply-templates/>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
</xsl:for-each>
|
|
|
|
|
</programlisting>
|
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
|
|
<xsl:template match="highlight">
|
|
|
|
|