Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 | |
| 7 | <xsl:template name="division.title"> |
| 8 | <xsl:param name="node" select="."/> |
| 9 | |
| 10 | <h1> |
| 11 | <xsl:attribute name="class">title</xsl:attribute> |
| 12 | <xsl:call-template name="anchor"> |
| 13 | <xsl:with-param name="node" select="$node"/> |
| 14 | <xsl:with-param name="conditional" select="0"/> |
| 15 | </xsl:call-template> |
| 16 | <xsl:apply-templates select="$node" mode="object.title.markup"> |
| 17 | <xsl:with-param name="allow-anchors" select="1"/> |
| 18 | </xsl:apply-templates> |
| 19 | <xsl:call-template name="permalink"> |
| 20 | <xsl:with-param name="node" select="$node"/> |
| 21 | </xsl:call-template> |
| 22 | </h1> |
| 23 | </xsl:template> |
| 24 | </xsl:stylesheet> |