summaryrefslogtreecommitdiffstats
path: root/documentation/template/formal.object.heading.xsl
blob: 1a5e697808f3074f7299b5d8aacbe50d41bef6ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:d="http://docbook.org/ns/docbook"
  xmlns="http://www.w3.org/1999/xhtml"
  exclude-result-prefixes="d">
  
  <xsl:template name="formal.object.heading">
    <xsl:param name="object" select="."/>
    <xsl:param name="title">
      <xsl:apply-templates select="$object" mode="object.title.markup">
        <xsl:with-param name="allow-anchors" select="1"/>
      </xsl:apply-templates>
    </xsl:param>
    <p class="title">
      <b><xsl:copy-of select="$title"/></b>
      <xsl:call-template name="permalink">
        <xsl:with-param name="node" select="$object"/>
      </xsl:call-template>
    </p>
  </xsl:template>
</xsl:stylesheet>