| [f8c4e94] | 1 | <?xml version="1.0" encoding="ASCII"?>
 | 
|---|
 | 2 | <!--This file was created automatically by html2xhtml-->
 | 
|---|
 | 3 | <!--from the HTML stylesheets.-->
 | 
|---|
 | 4 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
 | 
|---|
 | 5 | 
 | 
|---|
 | 6 | <!-- ********************************************************************
 | 
|---|
 | 7 |      $Id$
 | 
|---|
 | 8 |      ********************************************************************
 | 
|---|
 | 9 | 
 | 
|---|
 | 10 |      This file is part of the XSL DocBook Stylesheet distribution.
 | 
|---|
 | 11 |      See ../README or http://docbook.sf.net/release/xsl/current/ for
 | 
|---|
 | 12 |      copyright and other information.
 | 
|---|
 | 13 | 
 | 
|---|
 | 14 |      ******************************************************************** -->
 | 
|---|
 | 15 | 
 | 
|---|
 | 16 | <!-- ==================================================================== -->
 | 
|---|
 | 17 | 
 | 
|---|
 | 18 | <xsl:attribute-set name="book.titlepage.recto.style"/>
 | 
|---|
 | 19 | <xsl:attribute-set name="book.titlepage.verso.style"/>
 | 
|---|
 | 20 | 
 | 
|---|
 | 21 | <xsl:attribute-set name="article.titlepage.recto.style"/>
 | 
|---|
 | 22 | <xsl:attribute-set name="article.titlepage.verso.style"/>
 | 
|---|
 | 23 | 
 | 
|---|
 | 24 | <xsl:attribute-set name="set.titlepage.recto.style"/>
 | 
|---|
 | 25 | <xsl:attribute-set name="set.titlepage.verso.style"/>
 | 
|---|
 | 26 | 
 | 
|---|
 | 27 | <xsl:attribute-set name="part.titlepage.recto.style"/>
 | 
|---|
 | 28 | <xsl:attribute-set name="part.titlepage.verso.style"/>
 | 
|---|
 | 29 | 
 | 
|---|
 | 30 | <xsl:attribute-set name="partintro.titlepage.recto.style"/>
 | 
|---|
 | 31 | <xsl:attribute-set name="partintro.titlepage.verso.style"/>
 | 
|---|
 | 32 | 
 | 
|---|
 | 33 | <xsl:attribute-set name="reference.titlepage.recto.style"/>
 | 
|---|
 | 34 | <xsl:attribute-set name="reference.titlepage.verso.style"/>
 | 
|---|
 | 35 | 
 | 
|---|
 | 36 | <xsl:attribute-set name="refentry.titlepage.recto.style"/>
 | 
|---|
 | 37 | <xsl:attribute-set name="refentry.titlepage.verso.style"/>
 | 
|---|
 | 38 | 
 | 
|---|
 | 39 | <xsl:attribute-set name="dedication.titlepage.recto.style"/>
 | 
|---|
 | 40 | <xsl:attribute-set name="dedication.titlepage.verso.style"/>
 | 
|---|
 | 41 | 
 | 
|---|
 | 42 | <xsl:attribute-set name="preface.titlepage.recto.style"/>
 | 
|---|
 | 43 | <xsl:attribute-set name="preface.titlepage.verso.style"/>
 | 
|---|
 | 44 | 
 | 
|---|
 | 45 | <xsl:attribute-set name="chapter.titlepage.recto.style"/>
 | 
|---|
 | 46 | <xsl:attribute-set name="chapter.titlepage.verso.style"/>
 | 
|---|
 | 47 | 
 | 
|---|
 | 48 | <xsl:attribute-set name="appendix.titlepage.recto.style"/>
 | 
|---|
 | 49 | <xsl:attribute-set name="appendix.titlepage.verso.style"/>
 | 
|---|
 | 50 | 
 | 
|---|
 | 51 | <xsl:attribute-set name="bibliography.titlepage.recto.style"/>
 | 
|---|
 | 52 | <xsl:attribute-set name="bibliography.titlepage.verso.style"/>
 | 
|---|
 | 53 | 
 | 
|---|
 | 54 | <xsl:attribute-set name="glossary.titlepage.recto.style"/>
 | 
|---|
 | 55 | <xsl:attribute-set name="glossary.titlepage.verso.style"/>
 | 
|---|
 | 56 | 
 | 
|---|
 | 57 | <xsl:attribute-set name="index.titlepage.recto.style"/>
 | 
|---|
 | 58 | <xsl:attribute-set name="index.titlepage.verso.style"/>
 | 
|---|
 | 59 | 
 | 
|---|
 | 60 | <xsl:attribute-set name="setindex.titlepage.recto.style"/>
 | 
|---|
 | 61 | <xsl:attribute-set name="setindex.titlepage.verso.style"/>
 | 
|---|
 | 62 | 
 | 
|---|
 | 63 | <xsl:attribute-set name="section.titlepage.recto.style"/>
 | 
|---|
 | 64 | <xsl:attribute-set name="section.titlepage.verso.style"/>
 | 
|---|
 | 65 | 
 | 
|---|
 | 66 | <xsl:attribute-set name="sect1.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/>
 | 
|---|
 | 67 | <xsl:attribute-set name="sect1.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/>
 | 
|---|
 | 68 | 
 | 
|---|
 | 69 | <xsl:attribute-set name="sect2.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/>
 | 
|---|
 | 70 | <xsl:attribute-set name="sect2.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/>
 | 
|---|
 | 71 | 
 | 
|---|
 | 72 | <xsl:attribute-set name="sect3.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/>
 | 
|---|
 | 73 | <xsl:attribute-set name="sect3.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/>
 | 
|---|
 | 74 | 
 | 
|---|
 | 75 | <xsl:attribute-set name="sect4.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/>
 | 
|---|
 | 76 | <xsl:attribute-set name="sect4.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/>
 | 
|---|
 | 77 | 
 | 
|---|
 | 78 | <xsl:attribute-set name="sect5.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/>
 | 
|---|
 | 79 | <xsl:attribute-set name="sect5.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/>
 | 
|---|
 | 80 | 
 | 
|---|
 | 81 | <xsl:attribute-set name="simplesect.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/>
 | 
|---|
 | 82 | <xsl:attribute-set name="simplesect.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/>
 | 
|---|
 | 83 | 
 | 
|---|
 | 84 | <xsl:attribute-set name="table.of.contents.titlepage.recto.style"/>
 | 
|---|
 | 85 | <xsl:attribute-set name="table.of.contents.titlepage.verso.style"/>
 | 
|---|
 | 86 | 
 | 
|---|
 | 87 | <xsl:attribute-set name="list.of.tables.titlepage.recto.style"/>
 | 
|---|
 | 88 | <xsl:attribute-set name="list.of.tables.contents.titlepage.verso.style"/>
 | 
|---|
 | 89 | 
 | 
|---|
 | 90 | <xsl:attribute-set name="list.of.figures.titlepage.recto.style"/>
 | 
|---|
 | 91 | <xsl:attribute-set name="list.of.figures.contents.titlepage.verso.style"/>
 | 
|---|
 | 92 | 
 | 
|---|
 | 93 | <xsl:attribute-set name="list.of.equations.titlepage.recto.style"/>
 | 
|---|
 | 94 | <xsl:attribute-set name="list.of.equations.contents.titlepage.verso.style"/>
 | 
|---|
 | 95 | 
 | 
|---|
 | 96 | <xsl:attribute-set name="list.of.examples.titlepage.recto.style"/>
 | 
|---|
 | 97 | <xsl:attribute-set name="list.of.examples.contents.titlepage.verso.style"/>
 | 
|---|
 | 98 | 
 | 
|---|
 | 99 | <xsl:attribute-set name="list.of.unknowns.titlepage.recto.style"/>
 | 
|---|
 | 100 | <xsl:attribute-set name="list.of.unknowns.contents.titlepage.verso.style"/>
 | 
|---|
 | 101 | 
 | 
|---|
 | 102 | <!-- ==================================================================== -->
 | 
|---|
 | 103 | 
 | 
|---|
 | 104 | <xsl:template match="*" mode="titlepage.mode">
 | 
|---|
 | 105 |   <!-- if an element isn't found in this mode, try the default mode -->
 | 
|---|
 | 106 |   <xsl:apply-templates select="."/>
 | 
|---|
 | 107 | </xsl:template>
 | 
|---|
 | 108 | 
 | 
|---|
 | 109 | <xsl:template match="abbrev" mode="titlepage.mode">
 | 
|---|
 | 110 |   <span>
 | 
|---|
 | 111 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 112 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 113 |     <br/>
 | 
|---|
 | 114 |   </span>
 | 
|---|
 | 115 | </xsl:template>
 | 
|---|
 | 116 | 
 | 
|---|
 | 117 | <xsl:template match="abstract" mode="titlepage.mode">
 | 
|---|
 | 118 |   <div>
 | 
|---|
 | 119 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 120 |     <xsl:call-template name="anchor"/>
 | 
|---|
| [d7c9f58] | 121 |     <xsl:if test="$abstract.notitle.enabled = 0">
 | 
|---|
| [f8c4e94] | 122 |       <xsl:call-template name="formal.object.heading">
 | 
|---|
 | 123 |         <xsl:with-param name="title">
 | 
|---|
 | 124 |           <xsl:apply-templates select="." mode="title.markup"/>
 | 
|---|
 | 125 |         </xsl:with-param>
 | 
|---|
 | 126 |       </xsl:call-template>
 | 
|---|
 | 127 |     </xsl:if>
 | 
|---|
 | 128 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
| [d7c9f58] | 129 |     <xsl:call-template name="process.footnotes"/>
 | 
|---|
| [f8c4e94] | 130 |   </div>
 | 
|---|
 | 131 | </xsl:template>
 | 
|---|
 | 132 | 
 | 
|---|
 | 133 | <xsl:template match="abstract/title" mode="titlepage.mode">
 | 
|---|
 | 134 | </xsl:template>
 | 
|---|
 | 135 | 
 | 
|---|
 | 136 | <xsl:template match="address" mode="titlepage.mode">
 | 
|---|
 | 137 |   <xsl:param name="suppress-numbers" select="'0'"/>
 | 
|---|
 | 138 | 
 | 
|---|
 | 139 |   <xsl:variable name="rtf">
 | 
|---|
 | 140 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 141 |   </xsl:variable>
 | 
|---|
 | 142 | 
 | 
|---|
 | 143 |   <xsl:choose>
 | 
|---|
 | 144 |     <xsl:when test="$suppress-numbers = '0'                     and @linenumbering = 'numbered'                     and $use.extensions != '0'                     and $linenumbering.extension != '0'">
 | 
|---|
 | 145 |       <div>
 | 
|---|
 | 146 |         <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 147 |         <xsl:call-template name="paragraph">
 | 
|---|
 | 148 |           <xsl:with-param name="content">
 | 
|---|
 | 149 |             <xsl:call-template name="number.rtf.lines">
 | 
|---|
 | 150 |               <xsl:with-param name="rtf" select="$rtf"/>
 | 
|---|
 | 151 |             </xsl:call-template>
 | 
|---|
 | 152 |           </xsl:with-param>
 | 
|---|
 | 153 |         </xsl:call-template>
 | 
|---|
 | 154 |       </div>
 | 
|---|
 | 155 |     </xsl:when>
 | 
|---|
 | 156 | 
 | 
|---|
 | 157 |     <xsl:otherwise>
 | 
|---|
 | 158 |       <div>
 | 
|---|
 | 159 |         <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 160 |         <xsl:call-template name="paragraph">
 | 
|---|
 | 161 |           <xsl:with-param name="content">
 | 
|---|
 | 162 |             <xsl:call-template name="make-verbatim">
 | 
|---|
 | 163 |               <xsl:with-param name="rtf" select="$rtf"/>
 | 
|---|
 | 164 |             </xsl:call-template>
 | 
|---|
 | 165 |           </xsl:with-param>
 | 
|---|
 | 166 |         </xsl:call-template>
 | 
|---|
 | 167 |       </div>
 | 
|---|
 | 168 |     </xsl:otherwise>
 | 
|---|
 | 169 |   </xsl:choose>
 | 
|---|
 | 170 | </xsl:template>
 | 
|---|
 | 171 | 
 | 
|---|
 | 172 | <xsl:template match="affiliation" mode="titlepage.mode">
 | 
|---|
 | 173 |   <div>
 | 
|---|
 | 174 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 175 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 176 |   </div>
 | 
|---|
 | 177 | </xsl:template>
 | 
|---|
 | 178 | 
 | 
|---|
 | 179 | <xsl:template match="artpagenums" mode="titlepage.mode">
 | 
|---|
 | 180 |   <span>
 | 
|---|
 | 181 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 182 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 183 |     <br/>
 | 
|---|
 | 184 |   </span>
 | 
|---|
 | 185 | </xsl:template>
 | 
|---|
 | 186 | 
 | 
|---|
 | 187 | <xsl:template match="author|editor" mode="titlepage.mode">
 | 
|---|
 | 188 |   <xsl:call-template name="credits.div"/>
 | 
|---|
 | 189 | </xsl:template>
 | 
|---|
 | 190 | 
 | 
|---|
 | 191 | <xsl:template name="credits.div">
 | 
|---|
 | 192 |   <div>
 | 
|---|
 | 193 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 194 |     <xsl:if test="self::editor[position()=1] and not($editedby.enabled = 0)">
 | 
|---|
 | 195 |       <h4 class="editedby"><xsl:call-template name="gentext.edited.by"/></h4>
 | 
|---|
 | 196 |     </xsl:if>
 | 
|---|
 | 197 |     <h3>
 | 
|---|
 | 198 |       <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 199 |       <xsl:choose>
 | 
|---|
 | 200 |         <xsl:when test="orgname">
 | 
|---|
 | 201 |           <xsl:apply-templates/>
 | 
|---|
 | 202 |         </xsl:when>
 | 
|---|
 | 203 |         <xsl:otherwise>
 | 
|---|
 | 204 |           <xsl:call-template name="person.name"/>
 | 
|---|
 | 205 |         </xsl:otherwise>
 | 
|---|
 | 206 |       </xsl:choose>
 | 
|---|
 | 207 |     </h3>
 | 
|---|
 | 208 |     <xsl:if test="not($contrib.inline.enabled = 0)">
 | 
|---|
 | 209 |       <xsl:apply-templates mode="titlepage.mode" select="contrib"/>
 | 
|---|
 | 210 |     </xsl:if>
 | 
|---|
 | 211 |     <xsl:apply-templates mode="titlepage.mode" select="affiliation"/>
 | 
|---|
 | 212 |     <xsl:apply-templates mode="titlepage.mode" select="email"/>
 | 
|---|
 | 213 |     <xsl:if test="not($blurb.on.titlepage.enabled = 0)">
 | 
|---|
 | 214 |       <xsl:choose>
 | 
|---|
 | 215 |         <xsl:when test="$contrib.inline.enabled = 0">
 | 
|---|
 | 216 |           <xsl:apply-templates mode="titlepage.mode" select="contrib|authorblurb|personblurb"/>
 | 
|---|
 | 217 |         </xsl:when>
 | 
|---|
 | 218 |         <xsl:otherwise>
 | 
|---|
 | 219 |           <xsl:apply-templates mode="titlepage.mode" select="authorblurb|personblurb"/>
 | 
|---|
 | 220 |         </xsl:otherwise>
 | 
|---|
 | 221 |       </xsl:choose>
 | 
|---|
 | 222 |     </xsl:if>
 | 
|---|
 | 223 |   </div>
 | 
|---|
 | 224 | </xsl:template>
 | 
|---|
 | 225 | 
 | 
|---|
 | 226 | <xsl:template match="authorblurb|personblurb" mode="titlepage.mode">
 | 
|---|
 | 227 |   <div>
 | 
|---|
 | 228 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 229 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 230 |   </div>
 | 
|---|
 | 231 | </xsl:template>
 | 
|---|
 | 232 | 
 | 
|---|
 | 233 | <xsl:template match="authorgroup" mode="titlepage.mode">
 | 
|---|
 | 234 |   <div>
 | 
|---|
 | 235 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 236 |     <xsl:call-template name="anchor"/>
 | 
|---|
 | 237 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 238 |   </div>
 | 
|---|
 | 239 | </xsl:template>
 | 
|---|
 | 240 | 
 | 
|---|
 | 241 | <xsl:template match="authorinitials" mode="titlepage.mode">
 | 
|---|
 | 242 |   <span>
 | 
|---|
 | 243 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 244 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 245 |     <br/>
 | 
|---|
 | 246 |   </span>
 | 
|---|
 | 247 | </xsl:template>
 | 
|---|
 | 248 | 
 | 
|---|
 | 249 | <xsl:template match="bibliomisc" mode="titlepage.mode">
 | 
|---|
 | 250 |   <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 251 | </xsl:template>
 | 
|---|
 | 252 | 
 | 
|---|
 | 253 | <xsl:template match="bibliomset" mode="titlepage.mode">
 | 
|---|
 | 254 |   <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 255 | </xsl:template>
 | 
|---|
 | 256 | 
 | 
|---|
 | 257 | <xsl:template match="collab" mode="titlepage.mode">
 | 
|---|
 | 258 |   <span>
 | 
|---|
 | 259 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 260 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 261 |     <br/>
 | 
|---|
 | 262 |   </span>
 | 
|---|
 | 263 | </xsl:template>
 | 
|---|
 | 264 | 
 | 
|---|
 | 265 | <xsl:template match="collabname" mode="titlepage.mode">
 | 
|---|
 | 266 |   <span>
 | 
|---|
 | 267 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 268 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 269 |   </span>
 | 
|---|
 | 270 | </xsl:template>
 | 
|---|
 | 271 | 
 | 
|---|
 | 272 | <xsl:template match="confgroup" mode="titlepage.mode">
 | 
|---|
 | 273 |   <div>
 | 
|---|
 | 274 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 275 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 276 |   </div>
 | 
|---|
 | 277 | </xsl:template>
 | 
|---|
 | 278 | 
 | 
|---|
 | 279 | <xsl:template match="confdates" mode="titlepage.mode">
 | 
|---|
 | 280 |   <span>
 | 
|---|
 | 281 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 282 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 283 |     <br/>
 | 
|---|
 | 284 |   </span>
 | 
|---|
 | 285 | </xsl:template>
 | 
|---|
 | 286 | 
 | 
|---|
 | 287 | <xsl:template match="confsponsor" mode="titlepage.mode">
 | 
|---|
 | 288 |   <span>
 | 
|---|
 | 289 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 290 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 291 |     <br/>
 | 
|---|
 | 292 |   </span>
 | 
|---|
 | 293 | </xsl:template>
 | 
|---|
 | 294 | 
 | 
|---|
 | 295 | <xsl:template match="conftitle" mode="titlepage.mode">
 | 
|---|
 | 296 |   <span>
 | 
|---|
 | 297 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 298 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 299 |     <br/>
 | 
|---|
 | 300 |   </span>
 | 
|---|
 | 301 | </xsl:template>
 | 
|---|
 | 302 | 
 | 
|---|
 | 303 | <xsl:template match="confnum" mode="titlepage.mode">
 | 
|---|
 | 304 |   <!-- suppress -->
 | 
|---|
 | 305 | </xsl:template>
 | 
|---|
 | 306 | 
 | 
|---|
 | 307 | <xsl:template match="contractnum" mode="titlepage.mode">
 | 
|---|
 | 308 |   <span>
 | 
|---|
 | 309 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 310 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 311 |     <br/>
 | 
|---|
 | 312 |   </span>
 | 
|---|
 | 313 | </xsl:template>
 | 
|---|
 | 314 | 
 | 
|---|
 | 315 | <xsl:template match="contractsponsor" mode="titlepage.mode">
 | 
|---|
 | 316 |   <span>
 | 
|---|
 | 317 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 318 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 319 |     <br/>
 | 
|---|
 | 320 |   </span>
 | 
|---|
 | 321 | </xsl:template>
 | 
|---|
 | 322 | 
 | 
|---|
 | 323 | <xsl:template match="contrib" mode="titlepage.mode">
 | 
|---|
 | 324 |   <xsl:choose>
 | 
|---|
 | 325 |     <xsl:when test="not($contrib.inline.enabled = 0)">
 | 
|---|
 | 326 |       <span>
 | 
|---|
 | 327 |         <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 328 |         <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 329 |       </span><xsl:text> </xsl:text>
 | 
|---|
 | 330 |     </xsl:when>
 | 
|---|
 | 331 |     <xsl:otherwise>
 | 
|---|
 | 332 |       <div>
 | 
|---|
 | 333 |         <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 334 |         <p><xsl:apply-templates mode="titlepage.mode"/></p>
 | 
|---|
 | 335 |       </div>
 | 
|---|
 | 336 |     </xsl:otherwise>
 | 
|---|
 | 337 |   </xsl:choose>
 | 
|---|
 | 338 | </xsl:template>
 | 
|---|
 | 339 | 
 | 
|---|
 | 340 | <xsl:template match="copyright" mode="titlepage.mode">
 | 
|---|
 | 341 |   <p>
 | 
|---|
 | 342 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 343 |     <xsl:call-template name="gentext">
 | 
|---|
 | 344 |       <xsl:with-param name="key" select="'Copyright'"/>
 | 
|---|
 | 345 |     </xsl:call-template>
 | 
|---|
 | 346 |     <xsl:call-template name="gentext.space"/>
 | 
|---|
 | 347 |     <xsl:call-template name="dingbat">
 | 
|---|
 | 348 |       <xsl:with-param name="dingbat">copyright</xsl:with-param>
 | 
|---|
 | 349 |     </xsl:call-template>
 | 
|---|
 | 350 |     <xsl:call-template name="gentext.space"/>
 | 
|---|
 | 351 |     <xsl:call-template name="copyright.years">
 | 
|---|
 | 352 |       <xsl:with-param name="years" select="year"/>
 | 
|---|
 | 353 |       <xsl:with-param name="print.ranges" select="$make.year.ranges"/>
 | 
|---|
 | 354 |       <xsl:with-param name="single.year.ranges" select="$make.single.year.ranges"/>
 | 
|---|
 | 355 |     </xsl:call-template>
 | 
|---|
 | 356 |     <xsl:call-template name="gentext.space"/>
 | 
|---|
 | 357 |     <xsl:apply-templates select="holder" mode="titlepage.mode"/>
 | 
|---|
 | 358 |   </p>
 | 
|---|
 | 359 | </xsl:template>
 | 
|---|
 | 360 | 
 | 
|---|
 | 361 | <xsl:template match="year" mode="titlepage.mode">
 | 
|---|
 | 362 |   <xsl:choose>
 | 
|---|
 | 363 |     <xsl:when test="$show.revisionflag != 0 and @revisionflag">
 | 
|---|
 | 364 |       <span class="{@revisionflag}">
 | 
|---|
 | 365 |         <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 366 |       </span>
 | 
|---|
 | 367 |     </xsl:when>
 | 
|---|
 | 368 |     <xsl:otherwise>
 | 
|---|
 | 369 |       <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 370 |     </xsl:otherwise>
 | 
|---|
 | 371 |   </xsl:choose>
 | 
|---|
 | 372 | </xsl:template>
 | 
|---|
 | 373 | 
 | 
|---|
 | 374 | <xsl:template match="holder" mode="titlepage.mode">
 | 
|---|
 | 375 |   <xsl:choose>
 | 
|---|
 | 376 |     <xsl:when test="$show.revisionflag != 0 and @revisionflag">
 | 
|---|
 | 377 |       <span class="{@revisionflag}">
 | 
|---|
 | 378 |         <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 379 |       </span>
 | 
|---|
 | 380 |     </xsl:when>
 | 
|---|
 | 381 |     <xsl:otherwise>
 | 
|---|
 | 382 |       <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 383 |     </xsl:otherwise>
 | 
|---|
 | 384 |   </xsl:choose>
 | 
|---|
 | 385 |   <xsl:if test="position() < last()">
 | 
|---|
 | 386 |     <xsl:text>, </xsl:text>
 | 
|---|
 | 387 |   </xsl:if>
 | 
|---|
 | 388 | </xsl:template>
 | 
|---|
 | 389 | 
 | 
|---|
 | 390 | <xsl:template match="corpauthor" mode="titlepage.mode">
 | 
|---|
 | 391 |   <h3>
 | 
|---|
 | 392 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 393 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 394 |   </h3>
 | 
|---|
 | 395 | </xsl:template>
 | 
|---|
 | 396 | 
 | 
|---|
 | 397 | <xsl:template match="corpcredit" mode="titlepage.mode">
 | 
|---|
 | 398 |   <span>
 | 
|---|
 | 399 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 400 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 401 |     <br/>
 | 
|---|
 | 402 |   </span>
 | 
|---|
 | 403 | </xsl:template>
 | 
|---|
 | 404 | 
 | 
|---|
 | 405 | <xsl:template match="corpname" mode="titlepage.mode">
 | 
|---|
 | 406 |   <span>
 | 
|---|
 | 407 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 408 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 409 |     <br/>
 | 
|---|
 | 410 |   </span>
 | 
|---|
 | 411 | </xsl:template>
 | 
|---|
 | 412 | 
 | 
|---|
 | 413 | <xsl:template match="date" mode="titlepage.mode">
 | 
|---|
 | 414 |   <span>
 | 
|---|
 | 415 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 416 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 417 |     <br/>
 | 
|---|
 | 418 |   </span>
 | 
|---|
 | 419 | </xsl:template>
 | 
|---|
 | 420 | 
 | 
|---|
 | 421 | <xsl:template match="edition" mode="titlepage.mode">
 | 
|---|
 | 422 |   <p>
 | 
|---|
 | 423 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 424 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 425 |     <xsl:call-template name="gentext.space"/>
 | 
|---|
 | 426 |     <xsl:call-template name="gentext">
 | 
|---|
 | 427 |       <xsl:with-param name="key" select="'Edition'"/>
 | 
|---|
 | 428 |     </xsl:call-template>
 | 
|---|
 | 429 |   </p>
 | 
|---|
 | 430 | </xsl:template>
 | 
|---|
 | 431 | 
 | 
|---|
 | 432 | <xsl:template match="email" mode="titlepage.mode">
 | 
|---|
 | 433 |   <!-- use the normal e-mail handling code -->
 | 
|---|
 | 434 |   <xsl:apply-templates select="."/>
 | 
|---|
 | 435 | </xsl:template>
 | 
|---|
 | 436 | 
 | 
|---|
 | 437 | <xsl:template match="firstname" mode="titlepage.mode">
 | 
|---|
 | 438 |   <span>
 | 
|---|
 | 439 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 440 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 441 |     <br/>
 | 
|---|
 | 442 |   </span>
 | 
|---|
 | 443 | </xsl:template>
 | 
|---|
 | 444 | 
 | 
|---|
 | 445 | <xsl:template match="graphic" mode="titlepage.mode">
 | 
|---|
 | 446 |   <!-- use the normal graphic handling code -->
 | 
|---|
 | 447 |   <xsl:apply-templates select="."/>
 | 
|---|
 | 448 | </xsl:template>
 | 
|---|
 | 449 | 
 | 
|---|
 | 450 | <xsl:template match="honorific" mode="titlepage.mode">
 | 
|---|
 | 451 |   <span>
 | 
|---|
 | 452 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 453 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 454 |     <br/>
 | 
|---|
 | 455 |   </span>
 | 
|---|
 | 456 | </xsl:template>
 | 
|---|
 | 457 | 
 | 
|---|
 | 458 | <xsl:template match="isbn" mode="titlepage.mode">
 | 
|---|
 | 459 |   <span>
 | 
|---|
 | 460 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 461 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 462 |     <br/>
 | 
|---|
 | 463 |   </span>
 | 
|---|
 | 464 | </xsl:template>
 | 
|---|
 | 465 | 
 | 
|---|
 | 466 | <xsl:template match="issn" mode="titlepage.mode">
 | 
|---|
 | 467 |   <span>
 | 
|---|
 | 468 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 469 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 470 |     <br/>
 | 
|---|
 | 471 |   </span>
 | 
|---|
 | 472 | </xsl:template>
 | 
|---|
 | 473 | 
 | 
|---|
 | 474 | <xsl:template match="biblioid" mode="titlepage.mode">
 | 
|---|
 | 475 |   <span>
 | 
|---|
 | 476 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 477 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 478 |     <br/>
 | 
|---|
 | 479 |   </span>
 | 
|---|
 | 480 | </xsl:template>
 | 
|---|
 | 481 | 
 | 
|---|
 | 482 | <xsl:template match="itermset" mode="titlepage.mode">
 | 
|---|
 | 483 | </xsl:template>
 | 
|---|
 | 484 | 
 | 
|---|
 | 485 | <xsl:template match="invpartnumber" mode="titlepage.mode">
 | 
|---|
 | 486 |   <span>
 | 
|---|
 | 487 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 488 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 489 |     <br/>
 | 
|---|
 | 490 |   </span>
 | 
|---|
 | 491 | </xsl:template>
 | 
|---|
 | 492 | 
 | 
|---|
 | 493 | <xsl:template match="issuenum" mode="titlepage.mode">
 | 
|---|
 | 494 |   <span>
 | 
|---|
 | 495 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 496 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 497 |     <br/>
 | 
|---|
 | 498 |   </span>
 | 
|---|
 | 499 | </xsl:template>
 | 
|---|
 | 500 | 
 | 
|---|
 | 501 | <xsl:template match="jobtitle" mode="titlepage.mode">
 | 
|---|
 | 502 |   <span>
 | 
|---|
 | 503 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 504 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 505 |     <br/>
 | 
|---|
 | 506 |   </span>
 | 
|---|
 | 507 | </xsl:template>
 | 
|---|
 | 508 | 
 | 
|---|
 | 509 | <xsl:template match="keywordset" mode="titlepage.mode">
 | 
|---|
 | 510 | </xsl:template>
 | 
|---|
 | 511 | 
 | 
|---|
 | 512 | <xsl:template match="legalnotice" mode="titlepage.mode">
 | 
|---|
 | 513 |   <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
 | 
|---|
 | 514 |   <xsl:choose>
 | 
|---|
 | 515 |     <xsl:when test="$generate.legalnotice.link != 0">
 | 
|---|
 | 516 |       <xsl:variable name="filename">
 | 
|---|
 | 517 |         <xsl:call-template name="make-relative-filename">
 | 
|---|
 | 518 |           <xsl:with-param name="base.dir" select="$base.dir"/>
 | 
|---|
| [d7c9f58] | 519 |           <xsl:with-param name="base.name" select="concat($id,$html.ext)"/>
 | 
|---|
| [f8c4e94] | 520 |         </xsl:call-template>
 | 
|---|
 | 521 |       </xsl:variable>
 | 
|---|
 | 522 | 
 | 
|---|
 | 523 |       <xsl:variable name="title">
 | 
|---|
 | 524 |         <xsl:apply-templates select="." mode="title.markup"/>
 | 
|---|
 | 525 |       </xsl:variable>
 | 
|---|
 | 526 | 
 | 
|---|
 | 527 |       <xsl:variable name="href">
 | 
|---|
 | 528 |         <xsl:apply-templates mode="chunk-filename" select="."/>
 | 
|---|
 | 529 |       </xsl:variable>
 | 
|---|
 | 530 | 
 | 
|---|
 | 531 |       <a href="{$href}">
 | 
|---|
 | 532 |         <xsl:copy-of select="$title"/>
 | 
|---|
 | 533 |       </a>
 | 
|---|
 | 534 | 
 | 
|---|
 | 535 |       <xsl:call-template name="write.chunk">
 | 
|---|
 | 536 |         <xsl:with-param name="filename" select="$filename"/>
 | 
|---|
 | 537 |         <xsl:with-param name="quiet" select="$chunk.quietly"/>
 | 
|---|
 | 538 |         <xsl:with-param name="content">
 | 
|---|
 | 539 |         <xsl:call-template name="user.preroot"/>
 | 
|---|
 | 540 |           <html>
 | 
|---|
 | 541 |             <head>
 | 
|---|
 | 542 |               <xsl:call-template name="system.head.content"/>
 | 
|---|
 | 543 |               <xsl:call-template name="head.content"/>
 | 
|---|
 | 544 |               <xsl:call-template name="user.head.content"/>
 | 
|---|
 | 545 |             </head>
 | 
|---|
 | 546 |             <body>
 | 
|---|
 | 547 |               <xsl:call-template name="body.attributes"/>
 | 
|---|
 | 548 |               <div>
 | 
|---|
 | 549 |                 <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 550 |                 <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 551 |               </div>
 | 
|---|
 | 552 |             </body>
 | 
|---|
 | 553 |           </html>
 | 
|---|
 | 554 |           <xsl:value-of select="$chunk.append"/>
 | 
|---|
 | 555 |         </xsl:with-param>
 | 
|---|
 | 556 |       </xsl:call-template>
 | 
|---|
 | 557 |     </xsl:when>
 | 
|---|
 | 558 |     <xsl:otherwise>
 | 
|---|
 | 559 |       <div>
 | 
|---|
 | 560 |         <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 561 |         <a id="{$id}"/>
 | 
|---|
 | 562 |         <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 563 |       </div>
 | 
|---|
 | 564 |     </xsl:otherwise>
 | 
|---|
 | 565 |   </xsl:choose>
 | 
|---|
 | 566 | </xsl:template>
 | 
|---|
 | 567 | 
 | 
|---|
 | 568 | <xsl:template match="legalnotice/title" mode="titlepage.mode">
 | 
|---|
 | 569 |   <p class="legalnotice-title"><b><xsl:apply-templates/></b></p>
 | 
|---|
 | 570 | </xsl:template>
 | 
|---|
 | 571 | 
 | 
|---|
 | 572 | <xsl:template match="lineage" mode="titlepage.mode">
 | 
|---|
 | 573 |   <span>
 | 
|---|
 | 574 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 575 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 576 |     <br/>
 | 
|---|
 | 577 |   </span>
 | 
|---|
 | 578 | </xsl:template>
 | 
|---|
 | 579 | 
 | 
|---|
 | 580 | <xsl:template match="modespec" mode="titlepage.mode">
 | 
|---|
 | 581 | </xsl:template>
 | 
|---|
 | 582 | 
 | 
|---|
 | 583 | <xsl:template match="orgdiv" mode="titlepage.mode">
 | 
|---|
 | 584 |   <xsl:if test="preceding-sibling::*[1][self::orgname]">
 | 
|---|
 | 585 |     <xsl:text> </xsl:text>
 | 
|---|
 | 586 |   </xsl:if>
 | 
|---|
 | 587 |   <span>
 | 
|---|
 | 588 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 589 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 590 |     <br/>
 | 
|---|
 | 591 |   </span>
 | 
|---|
 | 592 | </xsl:template>
 | 
|---|
 | 593 | 
 | 
|---|
 | 594 | <xsl:template match="orgname" mode="titlepage.mode">
 | 
|---|
 | 595 |   <span>
 | 
|---|
 | 596 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 597 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 598 |     <br/>
 | 
|---|
 | 599 |   </span>
 | 
|---|
 | 600 | </xsl:template>
 | 
|---|
 | 601 | 
 | 
|---|
 | 602 | <xsl:template match="othercredit" mode="titlepage.mode">
 | 
|---|
 | 603 | <xsl:choose>
 | 
|---|
 | 604 |   <xsl:when test="not($othercredit.like.author.enabled = 0)">
 | 
|---|
 | 605 |   <xsl:variable name="contrib" select="string(contrib)"/>
 | 
|---|
 | 606 |   <xsl:choose>
 | 
|---|
 | 607 |     <xsl:when test="contrib">
 | 
|---|
 | 608 |       <xsl:if test="not(preceding-sibling::othercredit[string(contrib)=$contrib])">
 | 
|---|
 | 609 |         <xsl:call-template name="paragraph">
 | 
|---|
 | 610 |           <xsl:with-param name="class" select="local-name(.)"/>
 | 
|---|
 | 611 |           <xsl:with-param name="content">
 | 
|---|
 | 612 |             <xsl:apply-templates mode="titlepage.mode" select="contrib"/>
 | 
|---|
 | 613 |             <xsl:text>: </xsl:text>
 | 
|---|
 | 614 |             <xsl:call-template name="person.name"/>
 | 
|---|
 | 615 |             <xsl:apply-templates mode="titlepage.mode" select="affiliation"/>
 | 
|---|
 | 616 |             <xsl:apply-templates select="following-sibling::othercredit[string(contrib)=$contrib]" mode="titlepage.othercredits"/>
 | 
|---|
 | 617 |           </xsl:with-param>
 | 
|---|
 | 618 |         </xsl:call-template>
 | 
|---|
 | 619 |       </xsl:if>
 | 
|---|
 | 620 |     </xsl:when>
 | 
|---|
 | 621 |     <xsl:otherwise>
 | 
|---|
 | 622 |       <xsl:call-template name="paragraph">
 | 
|---|
 | 623 |         <xsl:with-param name="class" select="local-name(.)"/>
 | 
|---|
 | 624 |         <xsl:with-param name="content">
 | 
|---|
 | 625 |           <xsl:call-template name="person.name"/>
 | 
|---|
 | 626 |         </xsl:with-param>
 | 
|---|
 | 627 |       </xsl:call-template>
 | 
|---|
 | 628 |       <xsl:apply-templates mode="titlepage.mode" select="affiliation"/>
 | 
|---|
 | 629 |     </xsl:otherwise>
 | 
|---|
 | 630 |   </xsl:choose>
 | 
|---|
 | 631 |   </xsl:when>
 | 
|---|
 | 632 |   <xsl:otherwise>
 | 
|---|
 | 633 |     <xsl:call-template name="credits.div"/>
 | 
|---|
 | 634 |   </xsl:otherwise>
 | 
|---|
 | 635 | </xsl:choose>
 | 
|---|
 | 636 | </xsl:template>
 | 
|---|
 | 637 | 
 | 
|---|
 | 638 | <xsl:template match="othercredit" mode="titlepage.othercredits">
 | 
|---|
 | 639 |   <xsl:text>, </xsl:text>
 | 
|---|
 | 640 |   <xsl:call-template name="person.name"/>
 | 
|---|
 | 641 | </xsl:template>
 | 
|---|
 | 642 | 
 | 
|---|
 | 643 | <xsl:template match="othername" mode="titlepage.mode">
 | 
|---|
 | 644 |   <span>
 | 
|---|
 | 645 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 646 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 647 |     <br/>
 | 
|---|
 | 648 |   </span>
 | 
|---|
 | 649 | </xsl:template>
 | 
|---|
 | 650 | 
 | 
|---|
 | 651 | <xsl:template match="pagenums" mode="titlepage.mode">
 | 
|---|
 | 652 |   <span>
 | 
|---|
 | 653 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 654 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 655 |     <br/>
 | 
|---|
 | 656 |   </span>
 | 
|---|
 | 657 | </xsl:template>
 | 
|---|
 | 658 | 
 | 
|---|
 | 659 | <xsl:template match="printhistory" mode="titlepage.mode">
 | 
|---|
 | 660 |   <div>
 | 
|---|
 | 661 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 662 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 663 |   </div>
 | 
|---|
 | 664 | </xsl:template>
 | 
|---|
 | 665 | 
 | 
|---|
 | 666 | <xsl:template match="productname" mode="titlepage.mode">
 | 
|---|
 | 667 |   <span>
 | 
|---|
 | 668 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 669 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 670 |     <br/>
 | 
|---|
 | 671 |   </span>
 | 
|---|
 | 672 | </xsl:template>
 | 
|---|
 | 673 | 
 | 
|---|
 | 674 | <xsl:template match="productnumber" mode="titlepage.mode">
 | 
|---|
 | 675 |   <span>
 | 
|---|
 | 676 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 677 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 678 |     <br/>
 | 
|---|
 | 679 |   </span>
 | 
|---|
 | 680 | </xsl:template>
 | 
|---|
 | 681 | 
 | 
|---|
 | 682 | <xsl:template match="pubdate" mode="titlepage.mode">
 | 
|---|
 | 683 |   <xsl:call-template name="paragraph">
 | 
|---|
 | 684 |     <xsl:with-param name="class" select="local-name(.)"/>
 | 
|---|
 | 685 |     <xsl:with-param name="content">
 | 
|---|
 | 686 |       <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 687 |     </xsl:with-param>
 | 
|---|
 | 688 |   </xsl:call-template>
 | 
|---|
 | 689 | </xsl:template>
 | 
|---|
 | 690 | 
 | 
|---|
 | 691 | <xsl:template match="publisher" mode="titlepage.mode">
 | 
|---|
 | 692 |   <xsl:call-template name="paragraph">
 | 
|---|
 | 693 |     <xsl:with-param name="class" select="local-name(.)"/>
 | 
|---|
 | 694 |     <xsl:with-param name="content">
 | 
|---|
 | 695 |       <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 696 |     </xsl:with-param>
 | 
|---|
 | 697 |   </xsl:call-template>
 | 
|---|
 | 698 | </xsl:template>
 | 
|---|
 | 699 | 
 | 
|---|
 | 700 | <xsl:template match="publishername" mode="titlepage.mode">
 | 
|---|
 | 701 |   <span>
 | 
|---|
 | 702 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 703 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 704 |     <br/>
 | 
|---|
 | 705 |   </span>
 | 
|---|
 | 706 | </xsl:template>
 | 
|---|
 | 707 | 
 | 
|---|
 | 708 | <xsl:template match="pubsnumber" mode="titlepage.mode">
 | 
|---|
 | 709 |   <span>
 | 
|---|
 | 710 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 711 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 712 |     <br/>
 | 
|---|
 | 713 |   </span>
 | 
|---|
 | 714 | </xsl:template>
 | 
|---|
 | 715 | 
 | 
|---|
 | 716 | <xsl:template match="releaseinfo" mode="titlepage.mode">
 | 
|---|
 | 717 |   <xsl:call-template name="paragraph">
 | 
|---|
 | 718 |     <xsl:with-param name="class" select="local-name(.)"/>
 | 
|---|
 | 719 |     <xsl:with-param name="content">
 | 
|---|
 | 720 |       <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 721 |     </xsl:with-param>
 | 
|---|
 | 722 |   </xsl:call-template>
 | 
|---|
 | 723 | </xsl:template>
 | 
|---|
 | 724 | 
 | 
|---|
 | 725 | <xsl:template match="revhistory" mode="titlepage.mode">
 | 
|---|
 | 726 |   <xsl:variable name="numcols">
 | 
|---|
 | 727 |     <xsl:choose>
 | 
|---|
 | 728 |       <xsl:when test=".//authorinitials|.//author">3</xsl:when>
 | 
|---|
 | 729 |       <xsl:otherwise>2</xsl:otherwise>
 | 
|---|
 | 730 |     </xsl:choose>
 | 
|---|
 | 731 |   </xsl:variable>
 | 
|---|
 | 732 | 
 | 
|---|
 | 733 |   <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
 | 
|---|
 | 734 | 
 | 
|---|
 | 735 |   <xsl:variable name="title">
 | 
|---|
 | 736 |     <xsl:call-template name="gentext">
 | 
|---|
 | 737 |       <xsl:with-param name="key">RevHistory</xsl:with-param>
 | 
|---|
 | 738 |     </xsl:call-template>
 | 
|---|
 | 739 |   </xsl:variable>
 | 
|---|
 | 740 | 
 | 
|---|
 | 741 |   <xsl:variable name="contents">
 | 
|---|
 | 742 |     <div>
 | 
|---|
 | 743 |       <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 744 |       <table border="1" width="100%" summary="Revision history">
 | 
|---|
 | 745 |         <tr>
 | 
|---|
 | 746 |           <th align="left" valign="top" colspan="{$numcols}">
 | 
|---|
 | 747 |             <b>
 | 
|---|
 | 748 |               <xsl:call-template name="gentext">
 | 
|---|
 | 749 |                 <xsl:with-param name="key" select="'RevHistory'"/>
 | 
|---|
 | 750 |               </xsl:call-template>
 | 
|---|
 | 751 |             </b>
 | 
|---|
 | 752 |           </th>
 | 
|---|
 | 753 |         </tr>
 | 
|---|
 | 754 |         <xsl:apply-templates mode="titlepage.mode">
 | 
|---|
 | 755 |           <xsl:with-param name="numcols" select="$numcols"/>
 | 
|---|
 | 756 |         </xsl:apply-templates>
 | 
|---|
 | 757 |       </table>
 | 
|---|
 | 758 |     </div>
 | 
|---|
 | 759 |   </xsl:variable>
 | 
|---|
 | 760 |   
 | 
|---|
 | 761 |   <xsl:choose>
 | 
|---|
 | 762 |     <xsl:when test="$generate.revhistory.link != 0">
 | 
|---|
 | 763 |       <xsl:variable name="filename">
 | 
|---|
 | 764 |         <xsl:call-template name="make-relative-filename">
 | 
|---|
 | 765 |           <xsl:with-param name="base.dir" select="$base.dir"/>
 | 
|---|
 | 766 |           <xsl:with-param name="base.name" select="concat($id,$html.ext)"/>
 | 
|---|
 | 767 |         </xsl:call-template>
 | 
|---|
 | 768 |       </xsl:variable>
 | 
|---|
 | 769 | 
 | 
|---|
 | 770 |       <a href="{concat($id,$html.ext)}">
 | 
|---|
 | 771 |         <xsl:copy-of select="$title"/>
 | 
|---|
 | 772 |       </a>
 | 
|---|
 | 773 | 
 | 
|---|
 | 774 |       <xsl:call-template name="write.chunk">
 | 
|---|
 | 775 |         <xsl:with-param name="filename" select="$filename"/>
 | 
|---|
 | 776 |         <xsl:with-param name="quiet" select="$chunk.quietly"/>
 | 
|---|
 | 777 |         <xsl:with-param name="content">
 | 
|---|
 | 778 |         <xsl:call-template name="user.preroot"/>
 | 
|---|
 | 779 |           <html>
 | 
|---|
 | 780 |             <head>
 | 
|---|
 | 781 |               <xsl:call-template name="system.head.content"/>
 | 
|---|
 | 782 |               <xsl:call-template name="head.content">
 | 
|---|
 | 783 |                 <xsl:with-param name="title">
 | 
|---|
 | 784 |                     <xsl:value-of select="$title"/>
 | 
|---|
 | 785 |                     <xsl:if test="../../title">
 | 
|---|
 | 786 |                         <xsl:value-of select="concat(' (', ../../title, ')')"/>
 | 
|---|
 | 787 |                     </xsl:if>
 | 
|---|
 | 788 |                 </xsl:with-param>
 | 
|---|
 | 789 |               </xsl:call-template>
 | 
|---|
 | 790 |               <xsl:call-template name="user.head.content"/>
 | 
|---|
 | 791 |             </head>
 | 
|---|
 | 792 |             <body>
 | 
|---|
 | 793 |               <xsl:call-template name="body.attributes"/>
 | 
|---|
 | 794 |               <xsl:copy-of select="$contents"/>
 | 
|---|
 | 795 |             </body>
 | 
|---|
 | 796 |           </html>
 | 
|---|
 | 797 |           <xsl:text>
 | 
|---|
 | 798 | </xsl:text>
 | 
|---|
 | 799 |         </xsl:with-param>
 | 
|---|
 | 800 |       </xsl:call-template>
 | 
|---|
 | 801 |     </xsl:when>
 | 
|---|
 | 802 |     <xsl:otherwise>
 | 
|---|
 | 803 |       <xsl:copy-of select="$contents"/>
 | 
|---|
 | 804 |     </xsl:otherwise>
 | 
|---|
 | 805 |   </xsl:choose>
 | 
|---|
 | 806 | </xsl:template>
 | 
|---|
 | 807 | 
 | 
|---|
 | 808 | <xsl:template match="revhistory/revision" mode="titlepage.mode">
 | 
|---|
 | 809 |   <xsl:param name="numcols" select="'3'"/>
 | 
|---|
 | 810 |   <xsl:variable name="revnumber" select="revnumber"/>
 | 
|---|
 | 811 |   <xsl:variable name="revdate" select="date"/>
 | 
|---|
 | 812 |   <xsl:variable name="revauthor" select="authorinitials|author"/>
 | 
|---|
 | 813 |   <xsl:variable name="revremark" select="revremark|revdescription"/>
 | 
|---|
 | 814 |   <tr>
 | 
|---|
 | 815 |     <td align="left">
 | 
|---|
 | 816 |       <xsl:if test="$revnumber">
 | 
|---|
 | 817 |         <xsl:call-template name="gentext">
 | 
|---|
 | 818 |           <xsl:with-param name="key" select="'Revision'"/>
 | 
|---|
 | 819 |         </xsl:call-template>
 | 
|---|
 | 820 |         <xsl:call-template name="gentext.space"/>
 | 
|---|
 | 821 |         <xsl:apply-templates select="$revnumber[1]" mode="titlepage.mode"/>
 | 
|---|
 | 822 |       </xsl:if>
 | 
|---|
 | 823 |     </td>
 | 
|---|
 | 824 |     <td align="left">
 | 
|---|
 | 825 |       <xsl:apply-templates select="$revdate[1]" mode="titlepage.mode"/>
 | 
|---|
 | 826 |     </td>
 | 
|---|
 | 827 |     <xsl:choose>
 | 
|---|
 | 828 |       <xsl:when test="$revauthor">
 | 
|---|
 | 829 |         <td align="left">
 | 
|---|
 | 830 |           <xsl:for-each select="$revauthor">
 | 
|---|
 | 831 |             <xsl:apply-templates select="." mode="titlepage.mode"/>
 | 
|---|
 | 832 |             <xsl:if test="position() != last()">
 | 
|---|
 | 833 |               <xsl:text>, </xsl:text>
 | 
|---|
 | 834 |             </xsl:if>
 | 
|---|
 | 835 |           </xsl:for-each>
 | 
|---|
 | 836 |         </td>
 | 
|---|
 | 837 |       </xsl:when>
 | 
|---|
 | 838 |       <xsl:when test="$numcols > 2">
 | 
|---|
 | 839 |         <td> </td>
 | 
|---|
 | 840 |       </xsl:when>
 | 
|---|
 | 841 |       <xsl:otherwise/>
 | 
|---|
 | 842 |     </xsl:choose>
 | 
|---|
 | 843 |   </tr>
 | 
|---|
 | 844 |   <xsl:if test="$revremark">
 | 
|---|
 | 845 |     <tr>
 | 
|---|
 | 846 |       <td align="left" colspan="{$numcols}">
 | 
|---|
 | 847 |         <xsl:apply-templates select="$revremark[1]" mode="titlepage.mode"/>
 | 
|---|
 | 848 |       </td>
 | 
|---|
 | 849 |     </tr>
 | 
|---|
 | 850 |   </xsl:if>
 | 
|---|
 | 851 | </xsl:template>
 | 
|---|
 | 852 | 
 | 
|---|
 | 853 | <xsl:template match="revision/revnumber" mode="titlepage.mode">
 | 
|---|
 | 854 |   <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 855 | </xsl:template>
 | 
|---|
 | 856 | 
 | 
|---|
 | 857 | <xsl:template match="revision/date" mode="titlepage.mode">
 | 
|---|
 | 858 |   <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 859 | </xsl:template>
 | 
|---|
 | 860 | 
 | 
|---|
 | 861 | <xsl:template match="revision/authorinitials" mode="titlepage.mode">
 | 
|---|
 | 862 |   <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 863 | </xsl:template>
 | 
|---|
 | 864 | 
 | 
|---|
 | 865 | <xsl:template match="revision/author" mode="titlepage.mode">
 | 
|---|
 | 866 |   <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 867 | </xsl:template>
 | 
|---|
 | 868 | 
 | 
|---|
 | 869 | <xsl:template match="revision/revremark" mode="titlepage.mode">
 | 
|---|
 | 870 |   <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 871 | </xsl:template>
 | 
|---|
 | 872 | 
 | 
|---|
 | 873 | <xsl:template match="revision/revdescription" mode="titlepage.mode">
 | 
|---|
 | 874 |   <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 875 | </xsl:template>
 | 
|---|
 | 876 | 
 | 
|---|
 | 877 | <xsl:template match="seriesvolnums" mode="titlepage.mode">
 | 
|---|
 | 878 |   <span>
 | 
|---|
 | 879 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 880 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 881 |     <br/>
 | 
|---|
 | 882 |   </span>
 | 
|---|
 | 883 | </xsl:template>
 | 
|---|
 | 884 | 
 | 
|---|
 | 885 | <xsl:template match="shortaffil" mode="titlepage.mode">
 | 
|---|
 | 886 |   <span>
 | 
|---|
 | 887 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 888 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 889 |     <br/>
 | 
|---|
 | 890 |   </span>
 | 
|---|
 | 891 | </xsl:template>
 | 
|---|
 | 892 | 
 | 
|---|
 | 893 | <xsl:template match="subjectset" mode="titlepage.mode">
 | 
|---|
 | 894 | </xsl:template>
 | 
|---|
 | 895 | 
 | 
|---|
 | 896 | <xsl:template match="subtitle" mode="titlepage.mode">
 | 
|---|
 | 897 |   <h2>
 | 
|---|
 | 898 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 899 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 900 |   </h2>
 | 
|---|
 | 901 | </xsl:template>
 | 
|---|
 | 902 | 
 | 
|---|
 | 903 | <xsl:template match="surname" mode="titlepage.mode">
 | 
|---|
 | 904 |   <span>
 | 
|---|
 | 905 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 906 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 907 |     <br/>
 | 
|---|
 | 908 |   </span>
 | 
|---|
 | 909 | </xsl:template>
 | 
|---|
 | 910 | 
 | 
|---|
 | 911 | <xsl:template match="title" mode="titlepage.mode">
 | 
|---|
 | 912 |   <xsl:variable name="id">
 | 
|---|
 | 913 |     <xsl:choose>
 | 
|---|
 | 914 |       <!-- if title is in an *info wrapper, get the grandparent -->
 | 
|---|
 | 915 |       <xsl:when test="contains(local-name(..), 'info')">
 | 
|---|
 | 916 |         <xsl:call-template name="object.id">
 | 
|---|
 | 917 |           <xsl:with-param name="object" select="../.."/>
 | 
|---|
 | 918 |         </xsl:call-template>
 | 
|---|
 | 919 |       </xsl:when>
 | 
|---|
 | 920 |       <xsl:otherwise>
 | 
|---|
 | 921 |         <xsl:call-template name="object.id">
 | 
|---|
 | 922 |           <xsl:with-param name="object" select=".."/>
 | 
|---|
 | 923 |         </xsl:call-template>
 | 
|---|
 | 924 |       </xsl:otherwise>
 | 
|---|
 | 925 |     </xsl:choose>
 | 
|---|
 | 926 |   </xsl:variable>
 | 
|---|
 | 927 | 
 | 
|---|
 | 928 |   <h1>
 | 
|---|
 | 929 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 930 |     <xsl:if test="$generate.id.attributes = 0">
 | 
|---|
 | 931 |       <a id="{$id}"/>
 | 
|---|
 | 932 |     </xsl:if>
 | 
|---|
 | 933 |     <xsl:choose>
 | 
|---|
 | 934 |       <xsl:when test="$show.revisionflag != 0 and @revisionflag">
 | 
|---|
 | 935 |         <span class="{@revisionflag}">
 | 
|---|
 | 936 |           <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 937 |         </span>
 | 
|---|
 | 938 |       </xsl:when>
 | 
|---|
 | 939 |       <xsl:otherwise>
 | 
|---|
 | 940 |         <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 941 |       </xsl:otherwise>
 | 
|---|
 | 942 |     </xsl:choose>
 | 
|---|
 | 943 |   </h1>
 | 
|---|
 | 944 | </xsl:template>
 | 
|---|
 | 945 | 
 | 
|---|
 | 946 | <xsl:template match="titleabbrev" mode="titlepage.mode">
 | 
|---|
 | 947 |   <!-- nop; title abbreviations don't belong on the title page! -->
 | 
|---|
 | 948 | </xsl:template>
 | 
|---|
 | 949 | 
 | 
|---|
 | 950 | <xsl:template match="volumenum" mode="titlepage.mode">
 | 
|---|
 | 951 |   <span>
 | 
|---|
 | 952 |     <xsl:apply-templates select="." mode="class.attribute"/>
 | 
|---|
 | 953 |     <xsl:apply-templates mode="titlepage.mode"/>
 | 
|---|
 | 954 |     <br/>
 | 
|---|
 | 955 |   </span>
 | 
|---|
 | 956 | </xsl:template>
 | 
|---|
 | 957 | 
 | 
|---|
 | 958 | <!-- ==================================================================== -->
 | 
|---|
 | 959 | 
 | 
|---|
 | 960 | </xsl:stylesheet>
 | 
|---|