<xsl:strip-space elements="ABST ABBR"/>
-<xsl:template match="ABST">
- <h2>
+<xsl:template name="ENTITY">
+ <xsl:param name="kind"/>
+ <div class="head2">
<span class="global">
- <xsl:text>Declaration:</xsl:text>
- <xsl:call-template name="entity"/>
+ <xsl:value-of select="$kind"/>
+ <xsl:call-template name="cn"/>
+ <xsl:call-template name="sp"/>
+ <span class="gref">
+ <xsl:call-template name="global"/>
+ </span>
+ <xsl:call-template name="sp"/>
+ <xsl:call-template name="op"/>
+ <span class="gref">
+ <xsl:call-template name="mk_path"/>
+ </span>
+ <xsl:call-template name="cp"/>
</span>
- </h2>
- <xsl:call-template name="META"/>
- <div><xsl:apply-templates/></div>
+ </div>
+ <div class="text">
+ <xsl:call-template name="idescr"/>
+ <xsl:call-template name="qt"/>
+ <xsl:value-of select="@meta"/>
+ <xsl:call-template name="qt"/>
+ </div>
+ <div class="text">
+ <xsl:apply-templates/>
+ </div>
+</xsl:template>
+
+<xsl:template match="ABST">
+ <xsl:call-template name="ENTITY">
+ <xsl:with-param name="kind">Declaration</xsl:with-param>
+ </xsl:call-template>
</xsl:template>
<xsl:template match="ABBR">
- <h2>
- <span class="global">
- <xsl:text>Definition:</xsl:text>
- <xsl:call-template name="entity"/>
- </span>
- </h2>
- <xsl:call-template name="META"/>
- <div><xsl:apply-templates/></div>
+ <xsl:call-template name="ENTITY">
+ <xsl:with-param name="kind">Definition</xsl:with-param>
+ </xsl:call-template>
</xsl:template>
</xsl:stylesheet>