formal.object.heading.xsl 724 B

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