[5d4975d] | 1 | <?xml version='1.0' encoding='ISO-8859-1'?>
|
---|
| 2 |
|
---|
| 3 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
| 4 | xmlns="http://www.w3.org/1999/xhtml"
|
---|
| 5 | version="1.0">
|
---|
| 6 |
|
---|
[276015d2] | 7 | <!--
|
---|
| 8 | $LastChangedBy$
|
---|
| 9 | $Date$
|
---|
| 10 | -->
|
---|
| 11 |
|
---|
[5d4975d] | 12 | <xsl:template name="part.titlepage">
|
---|
| 13 | <div class="titlepage">
|
---|
[3fe8b511] | 14 | <xsl:if test="@id">
|
---|
| 15 | <a id="{@id}" name="{@id}"/>
|
---|
| 16 | </xsl:if>
|
---|
[5d4975d] | 17 | <h1 class="{name(.)}">
|
---|
| 18 | <xsl:value-of select="title"/>
|
---|
| 19 | </h1>
|
---|
| 20 | </div>
|
---|
| 21 | </xsl:template>
|
---|
| 22 |
|
---|
| 23 | <xsl:template name="chapter.titlepage">
|
---|
| 24 | <div class="titlepage">
|
---|
[3fe8b511] | 25 | <xsl:if test="@id">
|
---|
| 26 | <a id="{@id}" name="{@id}"/>
|
---|
| 27 | </xsl:if>
|
---|
[5d4975d] | 28 | <h1 class="{name(.)}">
|
---|
| 29 | <xsl:value-of select="title"/>
|
---|
| 30 | </h1>
|
---|
| 31 | </div>
|
---|
| 32 | </xsl:template>
|
---|
| 33 |
|
---|
| 34 | <xsl:template name="preface.titlepage">
|
---|
| 35 | <div class="titlepage">
|
---|
[3fe8b511] | 36 | <xsl:if test="@id">
|
---|
| 37 | <a id="{@id}" name="{@id}"/>
|
---|
| 38 | </xsl:if>
|
---|
| 39 | <h1 class="{name(.)}">
|
---|
| 40 | <xsl:value-of select="title"/>
|
---|
| 41 | </h1>
|
---|
| 42 | </div>
|
---|
| 43 | </xsl:template>
|
---|
| 44 |
|
---|
| 45 | <xsl:template name="appendix.titlepage">
|
---|
| 46 | <div class="titlepage">
|
---|
| 47 | <xsl:if test="@id">
|
---|
| 48 | <a id="{@id}" name="{@id}"/>
|
---|
| 49 | </xsl:if>
|
---|
[5d4975d] | 50 | <h1 class="{name(.)}">
|
---|
| 51 | <xsl:value-of select="title"/>
|
---|
| 52 | </h1>
|
---|
| 53 | </div>
|
---|
| 54 | </xsl:template>
|
---|
| 55 |
|
---|
| 56 | <xsl:template name="sect1.titlepage">
|
---|
[3fe8b511] | 57 | <div class="titlepage">
|
---|
| 58 | <xsl:if test="@id">
|
---|
| 59 | <a id="{@id}" name="{@id}"/>
|
---|
| 60 | </xsl:if>
|
---|
| 61 | <h1 class="{name(.)}">
|
---|
| 62 | <xsl:value-of select="title"/>
|
---|
| 63 | </h1>
|
---|
| 64 | </div>
|
---|
[5d4975d] | 65 | </xsl:template>
|
---|
| 66 |
|
---|
| 67 | <xsl:template name="sect2.titlepage">
|
---|
| 68 | <xsl:choose>
|
---|
| 69 | <xsl:when test="string-length(title) = 0"/>
|
---|
| 70 | <xsl:otherwise>
|
---|
| 71 | <div class="titlepage">
|
---|
| 72 | <xsl:if test="@id">
|
---|
| 73 | <a id="{@id}" name="{@id}"/>
|
---|
| 74 | </xsl:if>
|
---|
[3fe8b511] | 75 | <h2 class="{name(.)}">
|
---|
[5d4975d] | 76 | <xsl:value-of select="title"/>
|
---|
[3fe8b511] | 77 | </h2>
|
---|
[5d4975d] | 78 | </div>
|
---|
| 79 | </xsl:otherwise>
|
---|
| 80 | </xsl:choose>
|
---|
| 81 | </xsl:template>
|
---|
| 82 |
|
---|
| 83 | <xsl:template name="dedication.titlepage">
|
---|
| 84 | <div class="titlepage">
|
---|
| 85 | <h2 class="{name(.)}">
|
---|
| 86 | <xsl:value-of select="title"/>
|
---|
| 87 | </h2>
|
---|
| 88 | </div>
|
---|
| 89 | </xsl:template>
|
---|
| 90 |
|
---|
[3fe8b511] | 91 | <!-- Added the role param for proper punctuation in xref calls. -->
|
---|
| 92 | <xsl:template match="*" mode="insert.title.markup">
|
---|
| 93 | <xsl:param name="purpose"/>
|
---|
| 94 | <xsl:param name="xrefstyle"/>
|
---|
| 95 | <xsl:param name="title"/>
|
---|
| 96 | <xsl:param name="role"/>
|
---|
| 97 | <xsl:choose>
|
---|
| 98 | <xsl:when test="$purpose = 'xref' and titleabbrev">
|
---|
| 99 | <xsl:apply-templates select="." mode="titleabbrev.markup"/>
|
---|
| 100 | </xsl:when>
|
---|
| 101 | <xsl:otherwise>
|
---|
| 102 | <xsl:copy-of select="$title"/>
|
---|
| 103 | <xsl:value-of select="$role"/>
|
---|
| 104 | </xsl:otherwise>
|
---|
| 105 | </xsl:choose>
|
---|
| 106 | </xsl:template>
|
---|
| 107 |
|
---|
[5d4975d] | 108 | </xsl:stylesheet>
|
---|