division.title.xsl 847 B

123456789101112131415161718192021222324
  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="division.title">
  7. <xsl:param name="node" select="."/>
  8. <h1>
  9. <xsl:attribute name="class">title</xsl:attribute>
  10. <xsl:call-template name="anchor">
  11. <xsl:with-param name="node" select="$node"/>
  12. <xsl:with-param name="conditional" select="0"/>
  13. </xsl:call-template>
  14. <xsl:apply-templates select="$node" mode="object.title.markup">
  15. <xsl:with-param name="allow-anchors" select="1"/>
  16. </xsl:apply-templates>
  17. <xsl:call-template name="permalink">
  18. <xsl:with-param name="node" select="$node"/>
  19. </xsl:call-template>
  20. </h1>
  21. </xsl:template>
  22. </xsl:stylesheet>