1<?xml version="1.0" encoding="utf-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> 2 3<!-- This stylesheet was created by template/titlepage.xsl; do not edit it by hand. --> 4 5<xsl:template name="article.titlepage.recto"> 6 <xsl:choose> 7 <xsl:when test="articleinfo/title"> 8 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/title"/> 9 </xsl:when> 10 <xsl:when test="artheader/title"> 11 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/title"/> 12 </xsl:when> 13 <xsl:when test="title"> 14 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="title"/> 15 </xsl:when> 16 </xsl:choose> 17 18 <xsl:choose> 19 <xsl:when test="articleinfo/subtitle"> 20 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/subtitle"/> 21 </xsl:when> 22 <xsl:when test="artheader/subtitle"> 23 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/subtitle"/> 24 </xsl:when> 25 <xsl:when test="subtitle"> 26 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="subtitle"/> 27 </xsl:when> 28 </xsl:choose> 29 30 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/corpauthor"/> 31 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/corpauthor"/> 32 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/authorgroup"/> 33 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/authorgroup"/> 34 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/author"/> 35 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/author"/> 36 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/releaseinfo"/> 37 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/releaseinfo"/> 38 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/copyright"/> 39 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/copyright"/> 40 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/legalnotice"/> 41 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/legalnotice"/> 42 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/pubdate"/> 43 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/pubdate"/> 44 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revision"/> 45 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revision"/> 46 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revhistory"/> 47 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revhistory"/> 48 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/abstract"/> 49 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/abstract"/> 50</xsl:template> 51 52<xsl:template name="article.titlepage.verso"> 53</xsl:template> 54 55<xsl:template name="article.titlepage.separator"><hr/> 56</xsl:template> 57 58<xsl:template name="article.titlepage.before.recto"> 59</xsl:template> 60 61<xsl:template name="article.titlepage.before.verso"> 62</xsl:template> 63 64<xsl:template name="article.titlepage"> 65 <div class="titlepage"> 66 <xsl:call-template name="article.titlepage.before.recto"/> 67 <xsl:call-template name="article.titlepage.recto"/> 68 <xsl:call-template name="article.titlepage.before.verso"/> 69 <xsl:call-template name="article.titlepage.verso"/> 70 <xsl:call-template name="article.titlepage.separator"/> 71 </div> 72</xsl:template> 73 74<xsl:template match="*" mode="article.titlepage.recto.mode"> 75 <!-- if an element isn't found in this mode, --> 76 <!-- try the generic titlepage.mode --> 77 <xsl:apply-templates select="." mode="titlepage.mode"/> 78</xsl:template> 79 80<xsl:template match="*" mode="article.titlepage.verso.mode"> 81 <!-- if an element isn't found in this mode, --> 82 <!-- try the generic titlepage.mode --> 83 <xsl:apply-templates select="." mode="titlepage.mode"/> 84</xsl:template> 85 86<xsl:template match="title" mode="article.titlepage.recto.auto.mode"> 87<div xsl:use-attribute-sets="article.titlepage.recto.style"> 88<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> 89</div> 90</xsl:template> 91 92<xsl:template match="subtitle" mode="article.titlepage.recto.auto.mode"> 93<div xsl:use-attribute-sets="article.titlepage.recto.style"> 94<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> 95</div> 96</xsl:template> 97 98<xsl:template match="corpauthor" mode="article.titlepage.recto.auto.mode"> 99<div xsl:use-attribute-sets="article.titlepage.recto.style"> 100<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> 101</div> 102</xsl:template> 103 104<xsl:template match="authorgroup" mode="article.titlepage.recto.auto.mode"> 105<div xsl:use-attribute-sets="article.titlepage.recto.style"> 106<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> 107</div> 108</xsl:template> 109 110<xsl:template match="author" mode="article.titlepage.recto.auto.mode"> 111<div xsl:use-attribute-sets="article.titlepage.recto.style"> 112<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> 113</div> 114</xsl:template> 115 116<xsl:template match="releaseinfo" mode="article.titlepage.recto.auto.mode"> 117<div xsl:use-attribute-sets="article.titlepage.recto.style"> 118<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> 119</div> 120</xsl:template> 121 122<xsl:template match="copyright" mode="article.titlepage.recto.auto.mode"> 123<div xsl:use-attribute-sets="article.titlepage.recto.style"> 124<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> 125</div> 126</xsl:template> 127 128<xsl:template match="legalnotice" mode="article.titlepage.recto.auto.mode"> 129<div xsl:use-attribute-sets="article.titlepage.recto.style"> 130<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> 131</div> 132</xsl:template> 133 134<xsl:template match="pubdate" mode="article.titlepage.recto.auto.mode"> 135<div xsl:use-attribute-sets="article.titlepage.recto.style"> 136<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> 137</div> 138</xsl:template> 139 140<xsl:template match="revision" mode="article.titlepage.recto.auto.mode"> 141<div xsl:use-attribute-sets="article.titlepage.recto.style"> 142<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> 143</div> 144</xsl:template> 145 146<xsl:template match="revhistory" mode="article.titlepage.recto.auto.mode"> 147<div xsl:use-attribute-sets="article.titlepage.recto.style"> 148<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> 149</div> 150</xsl:template> 151 152<xsl:template match="abstract" mode="article.titlepage.recto.auto.mode"> 153<div xsl:use-attribute-sets="article.titlepage.recto.style"> 154<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> 155</div> 156</xsl:template> 157 158<xsl:template name="set.titlepage.recto"> 159 <xsl:choose> 160 <xsl:when test="setinfo/title"> 161 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/title"/> 162 </xsl:when> 163 <xsl:when test="title"> 164 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="title"/> 165 </xsl:when> 166 </xsl:choose> 167 168 <xsl:choose> 169 <xsl:when test="setinfo/subtitle"> 170 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/subtitle"/> 171 </xsl:when> 172 <xsl:when test="subtitle"> 173 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="subtitle"/> 174 </xsl:when> 175 </xsl:choose> 176 177 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/corpauthor"/> 178 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/authorgroup"/> 179 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/author"/> 180 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/releaseinfo"/> 181 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/copyright"/> 182 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/legalnotice"/> 183 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/pubdate"/> 184 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revision"/> 185 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revhistory"/> 186 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/abstract"/> 187</xsl:template> 188 189<xsl:template name="set.titlepage.verso"> 190</xsl:template> 191 192<xsl:template name="set.titlepage.separator"><hr/> 193</xsl:template> 194 195<xsl:template name="set.titlepage.before.recto"> 196</xsl:template> 197 198<xsl:template name="set.titlepage.before.verso"> 199</xsl:template> 200 201<xsl:template name="set.titlepage"> 202 <div class="titlepage"> 203 <xsl:call-template name="set.titlepage.before.recto"/> 204 <xsl:call-template name="set.titlepage.recto"/> 205 <xsl:call-template name="set.titlepage.before.verso"/> 206 <xsl:call-template name="set.titlepage.verso"/> 207 <xsl:call-template name="set.titlepage.separator"/> 208 </div> 209</xsl:template> 210 211<xsl:template match="*" mode="set.titlepage.recto.mode"> 212 <!-- if an element isn't found in this mode, --> 213 <!-- try the generic titlepage.mode --> 214 <xsl:apply-templates select="." mode="titlepage.mode"/> 215</xsl:template> 216 217<xsl:template match="*" mode="set.titlepage.verso.mode"> 218 <!-- if an element isn't found in this mode, --> 219 <!-- try the generic titlepage.mode --> 220 <xsl:apply-templates select="." mode="titlepage.mode"/> 221</xsl:template> 222 223<xsl:template match="title" mode="set.titlepage.recto.auto.mode"> 224<div xsl:use-attribute-sets="set.titlepage.recto.style"> 225<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> 226</div> 227</xsl:template> 228 229<xsl:template match="subtitle" mode="set.titlepage.recto.auto.mode"> 230<div xsl:use-attribute-sets="set.titlepage.recto.style"> 231<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> 232</div> 233</xsl:template> 234 235<xsl:template match="corpauthor" mode="set.titlepage.recto.auto.mode"> 236<div xsl:use-attribute-sets="set.titlepage.recto.style"> 237<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> 238</div> 239</xsl:template> 240 241<xsl:template match="authorgroup" mode="set.titlepage.recto.auto.mode"> 242<div xsl:use-attribute-sets="set.titlepage.recto.style"> 243<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> 244</div> 245</xsl:template> 246 247<xsl:template match="author" mode="set.titlepage.recto.auto.mode"> 248<div xsl:use-attribute-sets="set.titlepage.recto.style"> 249<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> 250</div> 251</xsl:template> 252 253<xsl:template match="releaseinfo" mode="set.titlepage.recto.auto.mode"> 254<div xsl:use-attribute-sets="set.titlepage.recto.style"> 255<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> 256</div> 257</xsl:template> 258 259<xsl:template match="copyright" mode="set.titlepage.recto.auto.mode"> 260<div xsl:use-attribute-sets="set.titlepage.recto.style"> 261<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> 262</div> 263</xsl:template> 264 265<xsl:template match="legalnotice" mode="set.titlepage.recto.auto.mode"> 266<div xsl:use-attribute-sets="set.titlepage.recto.style"> 267<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> 268</div> 269</xsl:template> 270 271<xsl:template match="pubdate" mode="set.titlepage.recto.auto.mode"> 272<div xsl:use-attribute-sets="set.titlepage.recto.style"> 273<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> 274</div> 275</xsl:template> 276 277<xsl:template match="revision" mode="set.titlepage.recto.auto.mode"> 278<div xsl:use-attribute-sets="set.titlepage.recto.style"> 279<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> 280</div> 281</xsl:template> 282 283<xsl:template match="revhistory" mode="set.titlepage.recto.auto.mode"> 284<div xsl:use-attribute-sets="set.titlepage.recto.style"> 285<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> 286</div> 287</xsl:template> 288 289<xsl:template match="abstract" mode="set.titlepage.recto.auto.mode"> 290<div xsl:use-attribute-sets="set.titlepage.recto.style"> 291<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> 292</div> 293</xsl:template> 294 295<xsl:template name="book.titlepage.recto"> 296 <xsl:choose> 297 <xsl:when test="bookinfo/title"> 298 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title"/> 299 </xsl:when> 300 <xsl:when test="title"> 301 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title"/> 302 </xsl:when> 303 </xsl:choose> 304 305 <xsl:choose> 306 <xsl:when test="bookinfo/subtitle"> 307 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle"/> 308 </xsl:when> 309 <xsl:when test="subtitle"> 310 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle"/> 311 </xsl:when> 312 </xsl:choose> 313 314 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/corpauthor"/> 315 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/> 316 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/> 317 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/releaseinfo"/> 318 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/copyright"/> 319 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/legalnotice"/> 320 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/pubdate"/> 321 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revision"/> 322 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revhistory"/> 323 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/abstract"/> 324</xsl:template> 325 326<xsl:template name="book.titlepage.verso"> 327</xsl:template> 328 329<xsl:template name="book.titlepage.separator"><hr/> 330</xsl:template> 331 332<xsl:template name="book.titlepage.before.recto"> 333</xsl:template> 334 335<xsl:template name="book.titlepage.before.verso"> 336</xsl:template> 337 338<xsl:template name="book.titlepage"> 339 <div class="titlepage"> 340 <xsl:call-template name="book.titlepage.before.recto"/> 341 <xsl:call-template name="book.titlepage.recto"/> 342 <xsl:call-template name="book.titlepage.before.verso"/> 343 <xsl:call-template name="book.titlepage.verso"/> 344 <xsl:call-template name="book.titlepage.separator"/> 345 </div> 346</xsl:template> 347 348<xsl:template match="*" mode="book.titlepage.recto.mode"> 349 <!-- if an element isn't found in this mode, --> 350 <!-- try the generic titlepage.mode --> 351 <xsl:apply-templates select="." mode="titlepage.mode"/> 352</xsl:template> 353 354<xsl:template match="*" mode="book.titlepage.verso.mode"> 355 <!-- if an element isn't found in this mode, --> 356 <!-- try the generic titlepage.mode --> 357 <xsl:apply-templates select="." mode="titlepage.mode"/> 358</xsl:template> 359 360<xsl:template match="title" mode="book.titlepage.recto.auto.mode"> 361<div xsl:use-attribute-sets="book.titlepage.recto.style"> 362<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> 363</div> 364</xsl:template> 365 366<xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode"> 367<div xsl:use-attribute-sets="book.titlepage.recto.style"> 368<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> 369</div> 370</xsl:template> 371 372<xsl:template match="corpauthor" mode="book.titlepage.recto.auto.mode"> 373<div xsl:use-attribute-sets="book.titlepage.recto.style"> 374<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> 375</div> 376</xsl:template> 377 378<xsl:template match="authorgroup" mode="book.titlepage.recto.auto.mode"> 379<div xsl:use-attribute-sets="book.titlepage.recto.style"> 380<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> 381</div> 382</xsl:template> 383 384<xsl:template match="author" mode="book.titlepage.recto.auto.mode"> 385<div xsl:use-attribute-sets="book.titlepage.recto.style"> 386<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> 387</div> 388</xsl:template> 389 390<xsl:template match="releaseinfo" mode="book.titlepage.recto.auto.mode"> 391<div xsl:use-attribute-sets="book.titlepage.recto.style"> 392<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> 393</div> 394</xsl:template> 395 396<xsl:template match="copyright" mode="book.titlepage.recto.auto.mode"> 397<div xsl:use-attribute-sets="book.titlepage.recto.style"> 398<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> 399</div> 400</xsl:template> 401 402<xsl:template match="legalnotice" mode="book.titlepage.recto.auto.mode"> 403<div xsl:use-attribute-sets="book.titlepage.recto.style"> 404<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> 405</div> 406</xsl:template> 407 408<xsl:template match="pubdate" mode="book.titlepage.recto.auto.mode"> 409<div xsl:use-attribute-sets="book.titlepage.recto.style"> 410<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> 411</div> 412</xsl:template> 413 414<xsl:template match="revision" mode="book.titlepage.recto.auto.mode"> 415<div xsl:use-attribute-sets="book.titlepage.recto.style"> 416<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> 417</div> 418</xsl:template> 419 420<xsl:template match="revhistory" mode="book.titlepage.recto.auto.mode"> 421<div xsl:use-attribute-sets="book.titlepage.recto.style"> 422<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> 423</div> 424</xsl:template> 425 426<xsl:template match="abstract" mode="book.titlepage.recto.auto.mode"> 427<div xsl:use-attribute-sets="book.titlepage.recto.style"> 428<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> 429</div> 430</xsl:template> 431 432<xsl:template name="part.titlepage.recto"> 433 <xsl:choose> 434 <xsl:when test="partinfo/title"> 435 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/title"/> 436 </xsl:when> 437 <xsl:when test="docinfo/title"> 438 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/title"/> 439 </xsl:when> 440 <xsl:when test="title"> 441 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="title"/> 442 </xsl:when> 443 </xsl:choose> 444 445 <xsl:choose> 446 <xsl:when test="partinfo/subtitle"> 447 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/subtitle"/> 448 </xsl:when> 449 <xsl:when test="docinfo/subtitle"> 450 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/subtitle"/> 451 </xsl:when> 452 <xsl:when test="subtitle"> 453 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="subtitle"/> 454 </xsl:when> 455 </xsl:choose> 456 457 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/corpauthor"/> 458 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> 459 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/authorgroup"/> 460 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> 461 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/author"/> 462 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/author"/> 463 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/releaseinfo"/> 464 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> 465 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/copyright"/> 466 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/copyright"/> 467 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/legalnotice"/> 468 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> 469 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/pubdate"/> 470 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/pubdate"/> 471 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revision"/> 472 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revision"/> 473 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revhistory"/> 474 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revhistory"/> 475 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/abstract"/> 476 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/abstract"/> 477</xsl:template> 478 479<xsl:template name="part.titlepage.verso"> 480</xsl:template> 481 482<xsl:template name="part.titlepage.separator"> 483</xsl:template> 484 485<xsl:template name="part.titlepage.before.recto"> 486</xsl:template> 487 488<xsl:template name="part.titlepage.before.verso"> 489</xsl:template> 490 491<xsl:template name="part.titlepage"> 492 <div class="titlepage"> 493 <xsl:call-template name="part.titlepage.before.recto"/> 494 <xsl:call-template name="part.titlepage.recto"/> 495 <xsl:call-template name="part.titlepage.before.verso"/> 496 <xsl:call-template name="part.titlepage.verso"/> 497 <xsl:call-template name="part.titlepage.separator"/> 498 </div> 499</xsl:template> 500 501<xsl:template match="*" mode="part.titlepage.recto.mode"> 502 <!-- if an element isn't found in this mode, --> 503 <!-- try the generic titlepage.mode --> 504 <xsl:apply-templates select="." mode="titlepage.mode"/> 505</xsl:template> 506 507<xsl:template match="*" mode="part.titlepage.verso.mode"> 508 <!-- if an element isn't found in this mode, --> 509 <!-- try the generic titlepage.mode --> 510 <xsl:apply-templates select="." mode="titlepage.mode"/> 511</xsl:template> 512 513<xsl:template match="title" mode="part.titlepage.recto.auto.mode"> 514<div xsl:use-attribute-sets="part.titlepage.recto.style"> 515<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> 516</div> 517</xsl:template> 518 519<xsl:template match="subtitle" mode="part.titlepage.recto.auto.mode"> 520<div xsl:use-attribute-sets="part.titlepage.recto.style"> 521<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> 522</div> 523</xsl:template> 524 525<xsl:template match="corpauthor" mode="part.titlepage.recto.auto.mode"> 526<div xsl:use-attribute-sets="part.titlepage.recto.style"> 527<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> 528</div> 529</xsl:template> 530 531<xsl:template match="authorgroup" mode="part.titlepage.recto.auto.mode"> 532<div xsl:use-attribute-sets="part.titlepage.recto.style"> 533<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> 534</div> 535</xsl:template> 536 537<xsl:template match="author" mode="part.titlepage.recto.auto.mode"> 538<div xsl:use-attribute-sets="part.titlepage.recto.style"> 539<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> 540</div> 541</xsl:template> 542 543<xsl:template match="releaseinfo" mode="part.titlepage.recto.auto.mode"> 544<div xsl:use-attribute-sets="part.titlepage.recto.style"> 545<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> 546</div> 547</xsl:template> 548 549<xsl:template match="copyright" mode="part.titlepage.recto.auto.mode"> 550<div xsl:use-attribute-sets="part.titlepage.recto.style"> 551<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> 552</div> 553</xsl:template> 554 555<xsl:template match="legalnotice" mode="part.titlepage.recto.auto.mode"> 556<div xsl:use-attribute-sets="part.titlepage.recto.style"> 557<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> 558</div> 559</xsl:template> 560 561<xsl:template match="pubdate" mode="part.titlepage.recto.auto.mode"> 562<div xsl:use-attribute-sets="part.titlepage.recto.style"> 563<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> 564</div> 565</xsl:template> 566 567<xsl:template match="revision" mode="part.titlepage.recto.auto.mode"> 568<div xsl:use-attribute-sets="part.titlepage.recto.style"> 569<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> 570</div> 571</xsl:template> 572 573<xsl:template match="revhistory" mode="part.titlepage.recto.auto.mode"> 574<div xsl:use-attribute-sets="part.titlepage.recto.style"> 575<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> 576</div> 577</xsl:template> 578 579<xsl:template match="abstract" mode="part.titlepage.recto.auto.mode"> 580<div xsl:use-attribute-sets="part.titlepage.recto.style"> 581<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> 582</div> 583</xsl:template> 584 585<xsl:template name="partintro.titlepage.recto"> 586 <xsl:choose> 587 <xsl:when test="partintroinfo/title"> 588 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/title"/> 589 </xsl:when> 590 <xsl:when test="docinfo/title"> 591 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/title"/> 592 </xsl:when> 593 <xsl:when test="title"> 594 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="title"/> 595 </xsl:when> 596 </xsl:choose> 597 598 <xsl:choose> 599 <xsl:when test="partintroinfo/subtitle"> 600 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/subtitle"/> 601 </xsl:when> 602 <xsl:when test="docinfo/subtitle"> 603 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/subtitle"/> 604 </xsl:when> 605 <xsl:when test="subtitle"> 606 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="subtitle"/> 607 </xsl:when> 608 </xsl:choose> 609 610 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/corpauthor"/> 611 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> 612 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/authorgroup"/> 613 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> 614 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/author"/> 615 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/author"/> 616 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/releaseinfo"/> 617 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> 618 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/copyright"/> 619 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/copyright"/> 620 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/legalnotice"/> 621 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> 622 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/pubdate"/> 623 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/pubdate"/> 624 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revision"/> 625 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revision"/> 626 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revhistory"/> 627 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revhistory"/> 628 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/abstract"/> 629 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/abstract"/> 630</xsl:template> 631 632<xsl:template name="partintro.titlepage.verso"> 633</xsl:template> 634 635<xsl:template name="partintro.titlepage.separator"> 636</xsl:template> 637 638<xsl:template name="partintro.titlepage.before.recto"> 639</xsl:template> 640 641<xsl:template name="partintro.titlepage.before.verso"> 642</xsl:template> 643 644<xsl:template name="partintro.titlepage"> 645 <div> 646 <xsl:call-template name="partintro.titlepage.before.recto"/> 647 <xsl:call-template name="partintro.titlepage.recto"/> 648 <xsl:call-template name="partintro.titlepage.before.verso"/> 649 <xsl:call-template name="partintro.titlepage.verso"/> 650 <xsl:call-template name="partintro.titlepage.separator"/> 651 </div> 652</xsl:template> 653 654<xsl:template match="*" mode="partintro.titlepage.recto.mode"> 655 <!-- if an element isn't found in this mode, --> 656 <!-- try the generic titlepage.mode --> 657 <xsl:apply-templates select="." mode="titlepage.mode"/> 658</xsl:template> 659 660<xsl:template match="*" mode="partintro.titlepage.verso.mode"> 661 <!-- if an element isn't found in this mode, --> 662 <!-- try the generic titlepage.mode --> 663 <xsl:apply-templates select="." mode="titlepage.mode"/> 664</xsl:template> 665 666<xsl:template match="title" mode="partintro.titlepage.recto.auto.mode"> 667<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> 668<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> 669</div> 670</xsl:template> 671 672<xsl:template match="subtitle" mode="partintro.titlepage.recto.auto.mode"> 673<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> 674<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> 675</div> 676</xsl:template> 677 678<xsl:template match="corpauthor" mode="partintro.titlepage.recto.auto.mode"> 679<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> 680<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> 681</div> 682</xsl:template> 683 684<xsl:template match="authorgroup" mode="partintro.titlepage.recto.auto.mode"> 685<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> 686<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> 687</div> 688</xsl:template> 689 690<xsl:template match="author" mode="partintro.titlepage.recto.auto.mode"> 691<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> 692<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> 693</div> 694</xsl:template> 695 696<xsl:template match="releaseinfo" mode="partintro.titlepage.recto.auto.mode"> 697<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> 698<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> 699</div> 700</xsl:template> 701 702<xsl:template match="copyright" mode="partintro.titlepage.recto.auto.mode"> 703<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> 704<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> 705</div> 706</xsl:template> 707 708<xsl:template match="legalnotice" mode="partintro.titlepage.recto.auto.mode"> 709<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> 710<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> 711</div> 712</xsl:template> 713 714<xsl:template match="pubdate" mode="partintro.titlepage.recto.auto.mode"> 715<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> 716<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> 717</div> 718</xsl:template> 719 720<xsl:template match="revision" mode="partintro.titlepage.recto.auto.mode"> 721<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> 722<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> 723</div> 724</xsl:template> 725 726<xsl:template match="revhistory" mode="partintro.titlepage.recto.auto.mode"> 727<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> 728<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> 729</div> 730</xsl:template> 731 732<xsl:template match="abstract" mode="partintro.titlepage.recto.auto.mode"> 733<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> 734<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> 735</div> 736</xsl:template> 737 738<xsl:template name="reference.titlepage.recto"> 739 <xsl:choose> 740 <xsl:when test="referenceinfo/title"> 741 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/title"/> 742 </xsl:when> 743 <xsl:when test="docinfo/title"> 744 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/title"/> 745 </xsl:when> 746 <xsl:when test="title"> 747 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="title"/> 748 </xsl:when> 749 </xsl:choose> 750 751 <xsl:choose> 752 <xsl:when test="referenceinfo/subtitle"> 753 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/subtitle"/> 754 </xsl:when> 755 <xsl:when test="docinfo/subtitle"> 756 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/subtitle"/> 757 </xsl:when> 758 <xsl:when test="subtitle"> 759 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="subtitle"/> 760 </xsl:when> 761 </xsl:choose> 762 763 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/corpauthor"/> 764 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> 765 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/authorgroup"/> 766 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> 767 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/author"/> 768 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/author"/> 769 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/releaseinfo"/> 770 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> 771 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/copyright"/> 772 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/copyright"/> 773 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/legalnotice"/> 774 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> 775 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/pubdate"/> 776 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/pubdate"/> 777 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revision"/> 778 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revision"/> 779 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revhistory"/> 780 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revhistory"/> 781 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/abstract"/> 782 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/abstract"/> 783</xsl:template> 784 785<xsl:template name="reference.titlepage.verso"> 786</xsl:template> 787 788<xsl:template name="reference.titlepage.separator"><hr/> 789</xsl:template> 790 791<xsl:template name="reference.titlepage.before.recto"> 792</xsl:template> 793 794<xsl:template name="reference.titlepage.before.verso"> 795</xsl:template> 796 797<xsl:template name="reference.titlepage"> 798 <div class="titlepage"> 799 <xsl:call-template name="reference.titlepage.before.recto"/> 800 <xsl:call-template name="reference.titlepage.recto"/> 801 <xsl:call-template name="reference.titlepage.before.verso"/> 802 <xsl:call-template name="reference.titlepage.verso"/> 803 <xsl:call-template name="reference.titlepage.separator"/> 804 </div> 805</xsl:template> 806 807<xsl:template match="*" mode="reference.titlepage.recto.mode"> 808 <!-- if an element isn't found in this mode, --> 809 <!-- try the generic titlepage.mode --> 810 <xsl:apply-templates select="." mode="titlepage.mode"/> 811</xsl:template> 812 813<xsl:template match="*" mode="reference.titlepage.verso.mode"> 814 <!-- if an element isn't found in this mode, --> 815 <!-- try the generic titlepage.mode --> 816 <xsl:apply-templates select="." mode="titlepage.mode"/> 817</xsl:template> 818 819<xsl:template match="title" mode="reference.titlepage.recto.auto.mode"> 820<div xsl:use-attribute-sets="reference.titlepage.recto.style"> 821<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> 822</div> 823</xsl:template> 824 825<xsl:template match="subtitle" mode="reference.titlepage.recto.auto.mode"> 826<div xsl:use-attribute-sets="reference.titlepage.recto.style"> 827<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> 828</div> 829</xsl:template> 830 831<xsl:template match="corpauthor" mode="reference.titlepage.recto.auto.mode"> 832<div xsl:use-attribute-sets="reference.titlepage.recto.style"> 833<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> 834</div> 835</xsl:template> 836 837<xsl:template match="authorgroup" mode="reference.titlepage.recto.auto.mode"> 838<div xsl:use-attribute-sets="reference.titlepage.recto.style"> 839<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> 840</div> 841</xsl:template> 842 843<xsl:template match="author" mode="reference.titlepage.recto.auto.mode"> 844<div xsl:use-attribute-sets="reference.titlepage.recto.style"> 845<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> 846</div> 847</xsl:template> 848 849<xsl:template match="releaseinfo" mode="reference.titlepage.recto.auto.mode"> 850<div xsl:use-attribute-sets="reference.titlepage.recto.style"> 851<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> 852</div> 853</xsl:template> 854 855<xsl:template match="copyright" mode="reference.titlepage.recto.auto.mode"> 856<div xsl:use-attribute-sets="reference.titlepage.recto.style"> 857<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> 858</div> 859</xsl:template> 860 861<xsl:template match="legalnotice" mode="reference.titlepage.recto.auto.mode"> 862<div xsl:use-attribute-sets="reference.titlepage.recto.style"> 863<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> 864</div> 865</xsl:template> 866 867<xsl:template match="pubdate" mode="reference.titlepage.recto.auto.mode"> 868<div xsl:use-attribute-sets="reference.titlepage.recto.style"> 869<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> 870</div> 871</xsl:template> 872 873<xsl:template match="revision" mode="reference.titlepage.recto.auto.mode"> 874<div xsl:use-attribute-sets="reference.titlepage.recto.style"> 875<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> 876</div> 877</xsl:template> 878 879<xsl:template match="revhistory" mode="reference.titlepage.recto.auto.mode"> 880<div xsl:use-attribute-sets="reference.titlepage.recto.style"> 881<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> 882</div> 883</xsl:template> 884 885<xsl:template match="abstract" mode="reference.titlepage.recto.auto.mode"> 886<div xsl:use-attribute-sets="reference.titlepage.recto.style"> 887<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> 888</div> 889</xsl:template> 890 891<xsl:template name="dedication.titlepage.recto"> 892 <div xsl:use-attribute-sets="dedication.titlepage.recto.style"> 893<xsl:call-template name="component.title"> 894<xsl:with-param name="node" select="ancestor-or-self::dedication[1]"/> 895</xsl:call-template></div> 896 <xsl:choose> 897 <xsl:when test="dedicationinfo/subtitle"> 898 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="dedicationinfo/subtitle"/> 899 </xsl:when> 900 <xsl:when test="docinfo/subtitle"> 901 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="docinfo/subtitle"/> 902 </xsl:when> 903 <xsl:when test="subtitle"> 904 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="subtitle"/> 905 </xsl:when> 906 </xsl:choose> 907 908</xsl:template> 909 910<xsl:template name="dedication.titlepage.verso"> 911</xsl:template> 912 913<xsl:template name="dedication.titlepage.separator"> 914</xsl:template> 915 916<xsl:template name="dedication.titlepage.before.recto"> 917</xsl:template> 918 919<xsl:template name="dedication.titlepage.before.verso"> 920</xsl:template> 921 922<xsl:template name="dedication.titlepage"> 923 <div class="titlepage"> 924 <xsl:call-template name="dedication.titlepage.before.recto"/> 925 <xsl:call-template name="dedication.titlepage.recto"/> 926 <xsl:call-template name="dedication.titlepage.before.verso"/> 927 <xsl:call-template name="dedication.titlepage.verso"/> 928 <xsl:call-template name="dedication.titlepage.separator"/> 929 </div> 930</xsl:template> 931 932<xsl:template match="*" mode="dedication.titlepage.recto.mode"> 933 <!-- if an element isn't found in this mode, --> 934 <!-- try the generic titlepage.mode --> 935 <xsl:apply-templates select="." mode="titlepage.mode"/> 936</xsl:template> 937 938<xsl:template match="*" mode="dedication.titlepage.verso.mode"> 939 <!-- if an element isn't found in this mode, --> 940 <!-- try the generic titlepage.mode --> 941 <xsl:apply-templates select="." mode="titlepage.mode"/> 942</xsl:template> 943 944<xsl:template match="subtitle" mode="dedication.titlepage.recto.auto.mode"> 945<div xsl:use-attribute-sets="dedication.titlepage.recto.style"> 946<xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/> 947</div> 948</xsl:template> 949 950<xsl:template name="preface.titlepage.recto"> 951 <xsl:choose> 952 <xsl:when test="prefaceinfo/title"> 953 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/title"/> 954 </xsl:when> 955 <xsl:when test="docinfo/title"> 956 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/title"/> 957 </xsl:when> 958 <xsl:when test="title"> 959 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="title"/> 960 </xsl:when> 961 </xsl:choose> 962 963 <xsl:choose> 964 <xsl:when test="prefaceinfo/subtitle"> 965 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/subtitle"/> 966 </xsl:when> 967 <xsl:when test="docinfo/subtitle"> 968 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/subtitle"/> 969 </xsl:when> 970 <xsl:when test="subtitle"> 971 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="subtitle"/> 972 </xsl:when> 973 </xsl:choose> 974 975 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/corpauthor"/> 976 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> 977 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/authorgroup"/> 978 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> 979 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/author"/> 980 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/author"/> 981 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/releaseinfo"/> 982 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> 983 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/copyright"/> 984 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/copyright"/> 985 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/legalnotice"/> 986 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> 987 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/pubdate"/> 988 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/pubdate"/> 989 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revision"/> 990 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revision"/> 991 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revhistory"/> 992 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory"/> 993 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/abstract"/> 994 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract"/> 995</xsl:template> 996 997<xsl:template name="preface.titlepage.verso"> 998</xsl:template> 999 1000<xsl:template name="preface.titlepage.separator"> 1001</xsl:template> 1002 1003<xsl:template name="preface.titlepage.before.recto"> 1004</xsl:template> 1005 1006<xsl:template name="preface.titlepage.before.verso"> 1007</xsl:template> 1008 1009<xsl:template name="preface.titlepage"> 1010 <div class="titlepage"> 1011 <xsl:call-template name="preface.titlepage.before.recto"/> 1012 <xsl:call-template name="preface.titlepage.recto"/> 1013 <xsl:call-template name="preface.titlepage.before.verso"/> 1014 <xsl:call-template name="preface.titlepage.verso"/> 1015 <xsl:call-template name="preface.titlepage.separator"/> 1016 </div> 1017</xsl:template> 1018 1019<xsl:template match="*" mode="preface.titlepage.recto.mode"> 1020 <!-- if an element isn't found in this mode, --> 1021 <!-- try the generic titlepage.mode --> 1022 <xsl:apply-templates select="." mode="titlepage.mode"/> 1023</xsl:template> 1024 1025<xsl:template match="*" mode="preface.titlepage.verso.mode"> 1026 <!-- if an element isn't found in this mode, --> 1027 <!-- try the generic titlepage.mode --> 1028 <xsl:apply-templates select="." mode="titlepage.mode"/> 1029</xsl:template> 1030 1031<xsl:template match="title" mode="preface.titlepage.recto.auto.mode"> 1032<div xsl:use-attribute-sets="preface.titlepage.recto.style"> 1033<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> 1034</div> 1035</xsl:template> 1036 1037<xsl:template match="subtitle" mode="preface.titlepage.recto.auto.mode"> 1038<div xsl:use-attribute-sets="preface.titlepage.recto.style"> 1039<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> 1040</div> 1041</xsl:template> 1042 1043<xsl:template match="corpauthor" mode="preface.titlepage.recto.auto.mode"> 1044<div xsl:use-attribute-sets="preface.titlepage.recto.style"> 1045<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> 1046</div> 1047</xsl:template> 1048 1049<xsl:template match="authorgroup" mode="preface.titlepage.recto.auto.mode"> 1050<div xsl:use-attribute-sets="preface.titlepage.recto.style"> 1051<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> 1052</div> 1053</xsl:template> 1054 1055<xsl:template match="author" mode="preface.titlepage.recto.auto.mode"> 1056<div xsl:use-attribute-sets="preface.titlepage.recto.style"> 1057<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> 1058</div> 1059</xsl:template> 1060 1061<xsl:template match="releaseinfo" mode="preface.titlepage.recto.auto.mode"> 1062<div xsl:use-attribute-sets="preface.titlepage.recto.style"> 1063<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> 1064</div> 1065</xsl:template> 1066 1067<xsl:template match="copyright" mode="preface.titlepage.recto.auto.mode"> 1068<div xsl:use-attribute-sets="preface.titlepage.recto.style"> 1069<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> 1070</div> 1071</xsl:template> 1072 1073<xsl:template match="legalnotice" mode="preface.titlepage.recto.auto.mode"> 1074<div xsl:use-attribute-sets="preface.titlepage.recto.style"> 1075<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> 1076</div> 1077</xsl:template> 1078 1079<xsl:template match="pubdate" mode="preface.titlepage.recto.auto.mode"> 1080<div xsl:use-attribute-sets="preface.titlepage.recto.style"> 1081<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> 1082</div> 1083</xsl:template> 1084 1085<xsl:template match="revision" mode="preface.titlepage.recto.auto.mode"> 1086<div xsl:use-attribute-sets="preface.titlepage.recto.style"> 1087<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> 1088</div> 1089</xsl:template> 1090 1091<xsl:template match="revhistory" mode="preface.titlepage.recto.auto.mode"> 1092<div xsl:use-attribute-sets="preface.titlepage.recto.style"> 1093<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> 1094</div> 1095</xsl:template> 1096 1097<xsl:template match="abstract" mode="preface.titlepage.recto.auto.mode"> 1098<div xsl:use-attribute-sets="preface.titlepage.recto.style"> 1099<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> 1100</div> 1101</xsl:template> 1102 1103<xsl:template name="chapter.titlepage.recto"> 1104 <xsl:choose> 1105 <xsl:when test="chapterinfo/title"> 1106 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/title"/> 1107 </xsl:when> 1108 <xsl:when test="docinfo/title"> 1109 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/title"/> 1110 </xsl:when> 1111 <xsl:when test="title"> 1112 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="title"/> 1113 </xsl:when> 1114 </xsl:choose> 1115 1116 <xsl:choose> 1117 <xsl:when test="chapterinfo/subtitle"> 1118 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/subtitle"/> 1119 </xsl:when> 1120 <xsl:when test="docinfo/subtitle"> 1121 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/subtitle"/> 1122 </xsl:when> 1123 <xsl:when test="subtitle"> 1124 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="subtitle"/> 1125 </xsl:when> 1126 </xsl:choose> 1127 1128 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/corpauthor"/> 1129 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> 1130 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/authorgroup"/> 1131 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> 1132 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/author"/> 1133 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/author"/> 1134 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/releaseinfo"/> 1135 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> 1136 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/copyright"/> 1137 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/copyright"/> 1138 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/legalnotice"/> 1139 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> 1140 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/pubdate"/> 1141 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/pubdate"/> 1142 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revision"/> 1143 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revision"/> 1144 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revhistory"/> 1145 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revhistory"/> 1146 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/abstract"/> 1147 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/abstract"/> 1148</xsl:template> 1149 1150<xsl:template name="chapter.titlepage.verso"> 1151</xsl:template> 1152 1153<xsl:template name="chapter.titlepage.separator"> 1154</xsl:template> 1155 1156<xsl:template name="chapter.titlepage.before.recto"> 1157</xsl:template> 1158 1159<xsl:template name="chapter.titlepage.before.verso"> 1160</xsl:template> 1161 1162<xsl:template name="chapter.titlepage"> 1163 <div class="titlepage"> 1164 <xsl:call-template name="chapter.titlepage.before.recto"/> 1165 <xsl:call-template name="chapter.titlepage.recto"/> 1166 <xsl:call-template name="chapter.titlepage.before.verso"/> 1167 <xsl:call-template name="chapter.titlepage.verso"/> 1168 <xsl:call-template name="chapter.titlepage.separator"/> 1169 </div> 1170</xsl:template> 1171 1172<xsl:template match="*" mode="chapter.titlepage.recto.mode"> 1173 <!-- if an element isn't found in this mode, --> 1174 <!-- try the generic titlepage.mode --> 1175 <xsl:apply-templates select="." mode="titlepage.mode"/> 1176</xsl:template> 1177 1178<xsl:template match="*" mode="chapter.titlepage.verso.mode"> 1179 <!-- if an element isn't found in this mode, --> 1180 <!-- try the generic titlepage.mode --> 1181 <xsl:apply-templates select="." mode="titlepage.mode"/> 1182</xsl:template> 1183 1184<xsl:template match="title" mode="chapter.titlepage.recto.auto.mode"> 1185<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> 1186<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> 1187</div> 1188</xsl:template> 1189 1190<xsl:template match="subtitle" mode="chapter.titlepage.recto.auto.mode"> 1191<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> 1192<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> 1193</div> 1194</xsl:template> 1195 1196<xsl:template match="corpauthor" mode="chapter.titlepage.recto.auto.mode"> 1197<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> 1198<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> 1199</div> 1200</xsl:template> 1201 1202<xsl:template match="authorgroup" mode="chapter.titlepage.recto.auto.mode"> 1203<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> 1204<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> 1205</div> 1206</xsl:template> 1207 1208<xsl:template match="author" mode="chapter.titlepage.recto.auto.mode"> 1209<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> 1210<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> 1211</div> 1212</xsl:template> 1213 1214<xsl:template match="releaseinfo" mode="chapter.titlepage.recto.auto.mode"> 1215<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> 1216<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> 1217</div> 1218</xsl:template> 1219 1220<xsl:template match="copyright" mode="chapter.titlepage.recto.auto.mode"> 1221<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> 1222<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> 1223</div> 1224</xsl:template> 1225 1226<xsl:template match="legalnotice" mode="chapter.titlepage.recto.auto.mode"> 1227<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> 1228<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> 1229</div> 1230</xsl:template> 1231 1232<xsl:template match="pubdate" mode="chapter.titlepage.recto.auto.mode"> 1233<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> 1234<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> 1235</div> 1236</xsl:template> 1237 1238<xsl:template match="revision" mode="chapter.titlepage.recto.auto.mode"> 1239<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> 1240<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> 1241</div> 1242</xsl:template> 1243 1244<xsl:template match="revhistory" mode="chapter.titlepage.recto.auto.mode"> 1245<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> 1246<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> 1247</div> 1248</xsl:template> 1249 1250<xsl:template match="abstract" mode="chapter.titlepage.recto.auto.mode"> 1251<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> 1252<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> 1253</div> 1254</xsl:template> 1255 1256<xsl:template name="appendix.titlepage.recto"> 1257 <xsl:choose> 1258 <xsl:when test="appendixinfo/title"> 1259 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/title"/> 1260 </xsl:when> 1261 <xsl:when test="docinfo/title"> 1262 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/title"/> 1263 </xsl:when> 1264 <xsl:when test="title"> 1265 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="title"/> 1266 </xsl:when> 1267 </xsl:choose> 1268 1269 <xsl:choose> 1270 <xsl:when test="appendixinfo/subtitle"> 1271 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/subtitle"/> 1272 </xsl:when> 1273 <xsl:when test="docinfo/subtitle"> 1274 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/subtitle"/> 1275 </xsl:when> 1276 <xsl:when test="subtitle"> 1277 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="subtitle"/> 1278 </xsl:when> 1279 </xsl:choose> 1280 1281 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/corpauthor"/> 1282 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> 1283 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/authorgroup"/> 1284 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> 1285 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/author"/> 1286 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/author"/> 1287 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/releaseinfo"/> 1288 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> 1289 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/copyright"/> 1290 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/copyright"/> 1291 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/legalnotice"/> 1292 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> 1293 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/pubdate"/> 1294 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/pubdate"/> 1295 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revision"/> 1296 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revision"/> 1297 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revhistory"/> 1298 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revhistory"/> 1299 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/abstract"/> 1300 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/abstract"/> 1301</xsl:template> 1302 1303<xsl:template name="appendix.titlepage.verso"> 1304</xsl:template> 1305 1306<xsl:template name="appendix.titlepage.separator"> 1307</xsl:template> 1308 1309<xsl:template name="appendix.titlepage.before.recto"> 1310</xsl:template> 1311 1312<xsl:template name="appendix.titlepage.before.verso"> 1313</xsl:template> 1314 1315<xsl:template name="appendix.titlepage"> 1316 <div class="titlepage"> 1317 <xsl:call-template name="appendix.titlepage.before.recto"/> 1318 <xsl:call-template name="appendix.titlepage.recto"/> 1319 <xsl:call-template name="appendix.titlepage.before.verso"/> 1320 <xsl:call-template name="appendix.titlepage.verso"/> 1321 <xsl:call-template name="appendix.titlepage.separator"/> 1322 </div> 1323</xsl:template> 1324 1325<xsl:template match="*" mode="appendix.titlepage.recto.mode"> 1326 <!-- if an element isn't found in this mode, --> 1327 <!-- try the generic titlepage.mode --> 1328 <xsl:apply-templates select="." mode="titlepage.mode"/> 1329</xsl:template> 1330 1331<xsl:template match="*" mode="appendix.titlepage.verso.mode"> 1332 <!-- if an element isn't found in this mode, --> 1333 <!-- try the generic titlepage.mode --> 1334 <xsl:apply-templates select="." mode="titlepage.mode"/> 1335</xsl:template> 1336 1337<xsl:template match="title" mode="appendix.titlepage.recto.auto.mode"> 1338<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> 1339<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> 1340</div> 1341</xsl:template> 1342 1343<xsl:template match="subtitle" mode="appendix.titlepage.recto.auto.mode"> 1344<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> 1345<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> 1346</div> 1347</xsl:template> 1348 1349<xsl:template match="corpauthor" mode="appendix.titlepage.recto.auto.mode"> 1350<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> 1351<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> 1352</div> 1353</xsl:template> 1354 1355<xsl:template match="authorgroup" mode="appendix.titlepage.recto.auto.mode"> 1356<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> 1357<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> 1358</div> 1359</xsl:template> 1360 1361<xsl:template match="author" mode="appendix.titlepage.recto.auto.mode"> 1362<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> 1363<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> 1364</div> 1365</xsl:template> 1366 1367<xsl:template match="releaseinfo" mode="appendix.titlepage.recto.auto.mode"> 1368<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> 1369<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> 1370</div> 1371</xsl:template> 1372 1373<xsl:template match="copyright" mode="appendix.titlepage.recto.auto.mode"> 1374<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> 1375<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> 1376</div> 1377</xsl:template> 1378 1379<xsl:template match="legalnotice" mode="appendix.titlepage.recto.auto.mode"> 1380<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> 1381<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> 1382</div> 1383</xsl:template> 1384 1385<xsl:template match="pubdate" mode="appendix.titlepage.recto.auto.mode"> 1386<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> 1387<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> 1388</div> 1389</xsl:template> 1390 1391<xsl:template match="revision" mode="appendix.titlepage.recto.auto.mode"> 1392<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> 1393<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> 1394</div> 1395</xsl:template> 1396 1397<xsl:template match="revhistory" mode="appendix.titlepage.recto.auto.mode"> 1398<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> 1399<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> 1400</div> 1401</xsl:template> 1402 1403<xsl:template match="abstract" mode="appendix.titlepage.recto.auto.mode"> 1404<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> 1405<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> 1406</div> 1407</xsl:template> 1408 1409<xsl:template name="section.titlepage.recto"> 1410 <xsl:choose> 1411 <xsl:when test="sectioninfo/title"> 1412 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/title"/> 1413 </xsl:when> 1414 <xsl:when test="title"> 1415 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="title"/> 1416 </xsl:when> 1417 </xsl:choose> 1418 1419 <xsl:choose> 1420 <xsl:when test="sectioninfo/subtitle"> 1421 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/subtitle"/> 1422 </xsl:when> 1423 <xsl:when test="subtitle"> 1424 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="subtitle"/> 1425 </xsl:when> 1426 </xsl:choose> 1427 1428 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/corpauthor"/> 1429 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/authorgroup"/> 1430 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/author"/> 1431 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/releaseinfo"/> 1432 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/copyright"/> 1433 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/legalnotice"/> 1434 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/pubdate"/> 1435 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revision"/> 1436 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revhistory"/> 1437 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/abstract"/> 1438</xsl:template> 1439 1440<xsl:template name="section.titlepage.verso"> 1441</xsl:template> 1442 1443<xsl:template name="section.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> 1444</xsl:template> 1445 1446<xsl:template name="section.titlepage.before.recto"> 1447</xsl:template> 1448 1449<xsl:template name="section.titlepage.before.verso"> 1450</xsl:template> 1451 1452<xsl:template name="section.titlepage"> 1453 <div class="titlepage"> 1454 <xsl:call-template name="section.titlepage.before.recto"/> 1455 <xsl:call-template name="section.titlepage.recto"/> 1456 <xsl:call-template name="section.titlepage.before.verso"/> 1457 <xsl:call-template name="section.titlepage.verso"/> 1458 <xsl:call-template name="section.titlepage.separator"/> 1459 </div> 1460</xsl:template> 1461 1462<xsl:template match="*" mode="section.titlepage.recto.mode"> 1463 <!-- if an element isn't found in this mode, --> 1464 <!-- try the generic titlepage.mode --> 1465 <xsl:apply-templates select="." mode="titlepage.mode"/> 1466</xsl:template> 1467 1468<xsl:template match="*" mode="section.titlepage.verso.mode"> 1469 <!-- if an element isn't found in this mode, --> 1470 <!-- try the generic titlepage.mode --> 1471 <xsl:apply-templates select="." mode="titlepage.mode"/> 1472</xsl:template> 1473 1474<xsl:template match="title" mode="section.titlepage.recto.auto.mode"> 1475<div xsl:use-attribute-sets="section.titlepage.recto.style"> 1476<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> 1477</div> 1478</xsl:template> 1479 1480<xsl:template match="subtitle" mode="section.titlepage.recto.auto.mode"> 1481<div xsl:use-attribute-sets="section.titlepage.recto.style"> 1482<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> 1483</div> 1484</xsl:template> 1485 1486<xsl:template match="corpauthor" mode="section.titlepage.recto.auto.mode"> 1487<div xsl:use-attribute-sets="section.titlepage.recto.style"> 1488<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> 1489</div> 1490</xsl:template> 1491 1492<xsl:template match="authorgroup" mode="section.titlepage.recto.auto.mode"> 1493<div xsl:use-attribute-sets="section.titlepage.recto.style"> 1494<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> 1495</div> 1496</xsl:template> 1497 1498<xsl:template match="author" mode="section.titlepage.recto.auto.mode"> 1499<div xsl:use-attribute-sets="section.titlepage.recto.style"> 1500<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> 1501</div> 1502</xsl:template> 1503 1504<xsl:template match="releaseinfo" mode="section.titlepage.recto.auto.mode"> 1505<div xsl:use-attribute-sets="section.titlepage.recto.style"> 1506<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> 1507</div> 1508</xsl:template> 1509 1510<xsl:template match="copyright" mode="section.titlepage.recto.auto.mode"> 1511<div xsl:use-attribute-sets="section.titlepage.recto.style"> 1512<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> 1513</div> 1514</xsl:template> 1515 1516<xsl:template match="legalnotice" mode="section.titlepage.recto.auto.mode"> 1517<div xsl:use-attribute-sets="section.titlepage.recto.style"> 1518<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> 1519</div> 1520</xsl:template> 1521 1522<xsl:template match="pubdate" mode="section.titlepage.recto.auto.mode"> 1523<div xsl:use-attribute-sets="section.titlepage.recto.style"> 1524<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> 1525</div> 1526</xsl:template> 1527 1528<xsl:template match="revision" mode="section.titlepage.recto.auto.mode"> 1529<div xsl:use-attribute-sets="section.titlepage.recto.style"> 1530<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> 1531</div> 1532</xsl:template> 1533 1534<xsl:template match="revhistory" mode="section.titlepage.recto.auto.mode"> 1535<div xsl:use-attribute-sets="section.titlepage.recto.style"> 1536<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> 1537</div> 1538</xsl:template> 1539 1540<xsl:template match="abstract" mode="section.titlepage.recto.auto.mode"> 1541<div xsl:use-attribute-sets="section.titlepage.recto.style"> 1542<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> 1543</div> 1544</xsl:template> 1545 1546<xsl:template name="sect1.titlepage.recto"> 1547 <xsl:choose> 1548 <xsl:when test="sect1info/title"> 1549 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/title"/> 1550 </xsl:when> 1551 <xsl:when test="title"> 1552 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="title"/> 1553 </xsl:when> 1554 </xsl:choose> 1555 1556 <xsl:choose> 1557 <xsl:when test="sect1info/subtitle"> 1558 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/subtitle"/> 1559 </xsl:when> 1560 <xsl:when test="subtitle"> 1561 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="subtitle"/> 1562 </xsl:when> 1563 </xsl:choose> 1564 1565 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/corpauthor"/> 1566 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/authorgroup"/> 1567 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/author"/> 1568 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/releaseinfo"/> 1569 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/copyright"/> 1570 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/legalnotice"/> 1571 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/pubdate"/> 1572 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revision"/> 1573 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revhistory"/> 1574 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/abstract"/> 1575</xsl:template> 1576 1577<xsl:template name="sect1.titlepage.verso"> 1578</xsl:template> 1579 1580<xsl:template name="sect1.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> 1581</xsl:template> 1582 1583<xsl:template name="sect1.titlepage.before.recto"> 1584</xsl:template> 1585 1586<xsl:template name="sect1.titlepage.before.verso"> 1587</xsl:template> 1588 1589<xsl:template name="sect1.titlepage"> 1590 <div class="titlepage"> 1591 <xsl:call-template name="sect1.titlepage.before.recto"/> 1592 <xsl:call-template name="sect1.titlepage.recto"/> 1593 <xsl:call-template name="sect1.titlepage.before.verso"/> 1594 <xsl:call-template name="sect1.titlepage.verso"/> 1595 <xsl:call-template name="sect1.titlepage.separator"/> 1596 </div> 1597</xsl:template> 1598 1599<xsl:template match="*" mode="sect1.titlepage.recto.mode"> 1600 <!-- if an element isn't found in this mode, --> 1601 <!-- try the generic titlepage.mode --> 1602 <xsl:apply-templates select="." mode="titlepage.mode"/> 1603</xsl:template> 1604 1605<xsl:template match="*" mode="sect1.titlepage.verso.mode"> 1606 <!-- if an element isn't found in this mode, --> 1607 <!-- try the generic titlepage.mode --> 1608 <xsl:apply-templates select="." mode="titlepage.mode"/> 1609</xsl:template> 1610 1611<xsl:template match="title" mode="sect1.titlepage.recto.auto.mode"> 1612<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> 1613<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> 1614</div> 1615</xsl:template> 1616 1617<xsl:template match="subtitle" mode="sect1.titlepage.recto.auto.mode"> 1618<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> 1619<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> 1620</div> 1621</xsl:template> 1622 1623<xsl:template match="corpauthor" mode="sect1.titlepage.recto.auto.mode"> 1624<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> 1625<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> 1626</div> 1627</xsl:template> 1628 1629<xsl:template match="authorgroup" mode="sect1.titlepage.recto.auto.mode"> 1630<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> 1631<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> 1632</div> 1633</xsl:template> 1634 1635<xsl:template match="author" mode="sect1.titlepage.recto.auto.mode"> 1636<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> 1637<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> 1638</div> 1639</xsl:template> 1640 1641<xsl:template match="releaseinfo" mode="sect1.titlepage.recto.auto.mode"> 1642<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> 1643<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> 1644</div> 1645</xsl:template> 1646 1647<xsl:template match="copyright" mode="sect1.titlepage.recto.auto.mode"> 1648<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> 1649<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> 1650</div> 1651</xsl:template> 1652 1653<xsl:template match="legalnotice" mode="sect1.titlepage.recto.auto.mode"> 1654<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> 1655<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> 1656</div> 1657</xsl:template> 1658 1659<xsl:template match="pubdate" mode="sect1.titlepage.recto.auto.mode"> 1660<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> 1661<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> 1662</div> 1663</xsl:template> 1664 1665<xsl:template match="revision" mode="sect1.titlepage.recto.auto.mode"> 1666<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> 1667<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> 1668</div> 1669</xsl:template> 1670 1671<xsl:template match="revhistory" mode="sect1.titlepage.recto.auto.mode"> 1672<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> 1673<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> 1674</div> 1675</xsl:template> 1676 1677<xsl:template match="abstract" mode="sect1.titlepage.recto.auto.mode"> 1678<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> 1679<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> 1680</div> 1681</xsl:template> 1682 1683<xsl:template name="sect2.titlepage.recto"> 1684 <xsl:choose> 1685 <xsl:when test="sect2info/title"> 1686 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/title"/> 1687 </xsl:when> 1688 <xsl:when test="title"> 1689 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="title"/> 1690 </xsl:when> 1691 </xsl:choose> 1692 1693 <xsl:choose> 1694 <xsl:when test="sect2info/subtitle"> 1695 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/subtitle"/> 1696 </xsl:when> 1697 <xsl:when test="subtitle"> 1698 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="subtitle"/> 1699 </xsl:when> 1700 </xsl:choose> 1701 1702 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/corpauthor"/> 1703 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/authorgroup"/> 1704 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/author"/> 1705 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/releaseinfo"/> 1706 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/copyright"/> 1707 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/legalnotice"/> 1708 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/pubdate"/> 1709 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revision"/> 1710 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revhistory"/> 1711 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/abstract"/> 1712</xsl:template> 1713 1714<xsl:template name="sect2.titlepage.verso"> 1715</xsl:template> 1716 1717<xsl:template name="sect2.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> 1718</xsl:template> 1719 1720<xsl:template name="sect2.titlepage.before.recto"> 1721</xsl:template> 1722 1723<xsl:template name="sect2.titlepage.before.verso"> 1724</xsl:template> 1725 1726<xsl:template name="sect2.titlepage"> 1727 <div class="titlepage"> 1728 <xsl:call-template name="sect2.titlepage.before.recto"/> 1729 <xsl:call-template name="sect2.titlepage.recto"/> 1730 <xsl:call-template name="sect2.titlepage.before.verso"/> 1731 <xsl:call-template name="sect2.titlepage.verso"/> 1732 <xsl:call-template name="sect2.titlepage.separator"/> 1733 </div> 1734</xsl:template> 1735 1736<xsl:template match="*" mode="sect2.titlepage.recto.mode"> 1737 <!-- if an element isn't found in this mode, --> 1738 <!-- try the generic titlepage.mode --> 1739 <xsl:apply-templates select="." mode="titlepage.mode"/> 1740</xsl:template> 1741 1742<xsl:template match="*" mode="sect2.titlepage.verso.mode"> 1743 <!-- if an element isn't found in this mode, --> 1744 <!-- try the generic titlepage.mode --> 1745 <xsl:apply-templates select="." mode="titlepage.mode"/> 1746</xsl:template> 1747 1748<xsl:template match="title" mode="sect2.titlepage.recto.auto.mode"> 1749<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> 1750<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> 1751</div> 1752</xsl:template> 1753 1754<xsl:template match="subtitle" mode="sect2.titlepage.recto.auto.mode"> 1755<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> 1756<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> 1757</div> 1758</xsl:template> 1759 1760<xsl:template match="corpauthor" mode="sect2.titlepage.recto.auto.mode"> 1761<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> 1762<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> 1763</div> 1764</xsl:template> 1765 1766<xsl:template match="authorgroup" mode="sect2.titlepage.recto.auto.mode"> 1767<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> 1768<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> 1769</div> 1770</xsl:template> 1771 1772<xsl:template match="author" mode="sect2.titlepage.recto.auto.mode"> 1773<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> 1774<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> 1775</div> 1776</xsl:template> 1777 1778<xsl:template match="releaseinfo" mode="sect2.titlepage.recto.auto.mode"> 1779<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> 1780<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> 1781</div> 1782</xsl:template> 1783 1784<xsl:template match="copyright" mode="sect2.titlepage.recto.auto.mode"> 1785<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> 1786<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> 1787</div> 1788</xsl:template> 1789 1790<xsl:template match="legalnotice" mode="sect2.titlepage.recto.auto.mode"> 1791<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> 1792<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> 1793</div> 1794</xsl:template> 1795 1796<xsl:template match="pubdate" mode="sect2.titlepage.recto.auto.mode"> 1797<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> 1798<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> 1799</div> 1800</xsl:template> 1801 1802<xsl:template match="revision" mode="sect2.titlepage.recto.auto.mode"> 1803<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> 1804<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> 1805</div> 1806</xsl:template> 1807 1808<xsl:template match="revhistory" mode="sect2.titlepage.recto.auto.mode"> 1809<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> 1810<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> 1811</div> 1812</xsl:template> 1813 1814<xsl:template match="abstract" mode="sect2.titlepage.recto.auto.mode"> 1815<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> 1816<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> 1817</div> 1818</xsl:template> 1819 1820<xsl:template name="sect3.titlepage.recto"> 1821 <xsl:choose> 1822 <xsl:when test="sect3info/title"> 1823 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/title"/> 1824 </xsl:when> 1825 <xsl:when test="title"> 1826 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="title"/> 1827 </xsl:when> 1828 </xsl:choose> 1829 1830 <xsl:choose> 1831 <xsl:when test="sect3info/subtitle"> 1832 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/subtitle"/> 1833 </xsl:when> 1834 <xsl:when test="subtitle"> 1835 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="subtitle"/> 1836 </xsl:when> 1837 </xsl:choose> 1838 1839 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/corpauthor"/> 1840 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/authorgroup"/> 1841 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/author"/> 1842 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/releaseinfo"/> 1843 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/copyright"/> 1844 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/legalnotice"/> 1845 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/pubdate"/> 1846 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revision"/> 1847 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revhistory"/> 1848 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/abstract"/> 1849</xsl:template> 1850 1851<xsl:template name="sect3.titlepage.verso"> 1852</xsl:template> 1853 1854<xsl:template name="sect3.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> 1855</xsl:template> 1856 1857<xsl:template name="sect3.titlepage.before.recto"> 1858</xsl:template> 1859 1860<xsl:template name="sect3.titlepage.before.verso"> 1861</xsl:template> 1862 1863<xsl:template name="sect3.titlepage"> 1864 <div class="titlepage"> 1865 <xsl:call-template name="sect3.titlepage.before.recto"/> 1866 <xsl:call-template name="sect3.titlepage.recto"/> 1867 <xsl:call-template name="sect3.titlepage.before.verso"/> 1868 <xsl:call-template name="sect3.titlepage.verso"/> 1869 <xsl:call-template name="sect3.titlepage.separator"/> 1870 </div> 1871</xsl:template> 1872 1873<xsl:template match="*" mode="sect3.titlepage.recto.mode"> 1874 <!-- if an element isn't found in this mode, --> 1875 <!-- try the generic titlepage.mode --> 1876 <xsl:apply-templates select="." mode="titlepage.mode"/> 1877</xsl:template> 1878 1879<xsl:template match="*" mode="sect3.titlepage.verso.mode"> 1880 <!-- if an element isn't found in this mode, --> 1881 <!-- try the generic titlepage.mode --> 1882 <xsl:apply-templates select="." mode="titlepage.mode"/> 1883</xsl:template> 1884 1885<xsl:template match="title" mode="sect3.titlepage.recto.auto.mode"> 1886<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> 1887<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> 1888</div> 1889</xsl:template> 1890 1891<xsl:template match="subtitle" mode="sect3.titlepage.recto.auto.mode"> 1892<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> 1893<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> 1894</div> 1895</xsl:template> 1896 1897<xsl:template match="corpauthor" mode="sect3.titlepage.recto.auto.mode"> 1898<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> 1899<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> 1900</div> 1901</xsl:template> 1902 1903<xsl:template match="authorgroup" mode="sect3.titlepage.recto.auto.mode"> 1904<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> 1905<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> 1906</div> 1907</xsl:template> 1908 1909<xsl:template match="author" mode="sect3.titlepage.recto.auto.mode"> 1910<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> 1911<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> 1912</div> 1913</xsl:template> 1914 1915<xsl:template match="releaseinfo" mode="sect3.titlepage.recto.auto.mode"> 1916<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> 1917<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> 1918</div> 1919</xsl:template> 1920 1921<xsl:template match="copyright" mode="sect3.titlepage.recto.auto.mode"> 1922<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> 1923<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> 1924</div> 1925</xsl:template> 1926 1927<xsl:template match="legalnotice" mode="sect3.titlepage.recto.auto.mode"> 1928<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> 1929<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> 1930</div> 1931</xsl:template> 1932 1933<xsl:template match="pubdate" mode="sect3.titlepage.recto.auto.mode"> 1934<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> 1935<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> 1936</div> 1937</xsl:template> 1938 1939<xsl:template match="revision" mode="sect3.titlepage.recto.auto.mode"> 1940<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> 1941<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> 1942</div> 1943</xsl:template> 1944 1945<xsl:template match="revhistory" mode="sect3.titlepage.recto.auto.mode"> 1946<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> 1947<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> 1948</div> 1949</xsl:template> 1950 1951<xsl:template match="abstract" mode="sect3.titlepage.recto.auto.mode"> 1952<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> 1953<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> 1954</div> 1955</xsl:template> 1956 1957<xsl:template name="sect4.titlepage.recto"> 1958 <xsl:choose> 1959 <xsl:when test="sect4info/title"> 1960 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/title"/> 1961 </xsl:when> 1962 <xsl:when test="title"> 1963 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="title"/> 1964 </xsl:when> 1965 </xsl:choose> 1966 1967 <xsl:choose> 1968 <xsl:when test="sect4info/subtitle"> 1969 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/subtitle"/> 1970 </xsl:when> 1971 <xsl:when test="subtitle"> 1972 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="subtitle"/> 1973 </xsl:when> 1974 </xsl:choose> 1975 1976 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/corpauthor"/> 1977 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/authorgroup"/> 1978 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/author"/> 1979 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/releaseinfo"/> 1980 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/copyright"/> 1981 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/legalnotice"/> 1982 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/pubdate"/> 1983 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revision"/> 1984 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revhistory"/> 1985 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/abstract"/> 1986</xsl:template> 1987 1988<xsl:template name="sect4.titlepage.verso"> 1989</xsl:template> 1990 1991<xsl:template name="sect4.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> 1992</xsl:template> 1993 1994<xsl:template name="sect4.titlepage.before.recto"> 1995</xsl:template> 1996 1997<xsl:template name="sect4.titlepage.before.verso"> 1998</xsl:template> 1999 2000<xsl:template name="sect4.titlepage"> 2001 <div class="titlepage"> 2002 <xsl:call-template name="sect4.titlepage.before.recto"/> 2003 <xsl:call-template name="sect4.titlepage.recto"/> 2004 <xsl:call-template name="sect4.titlepage.before.verso"/> 2005 <xsl:call-template name="sect4.titlepage.verso"/> 2006 <xsl:call-template name="sect4.titlepage.separator"/> 2007 </div> 2008</xsl:template> 2009 2010<xsl:template match="*" mode="sect4.titlepage.recto.mode"> 2011 <!-- if an element isn't found in this mode, --> 2012 <!-- try the generic titlepage.mode --> 2013 <xsl:apply-templates select="." mode="titlepage.mode"/> 2014</xsl:template> 2015 2016<xsl:template match="*" mode="sect4.titlepage.verso.mode"> 2017 <!-- if an element isn't found in this mode, --> 2018 <!-- try the generic titlepage.mode --> 2019 <xsl:apply-templates select="." mode="titlepage.mode"/> 2020</xsl:template> 2021 2022<xsl:template match="title" mode="sect4.titlepage.recto.auto.mode"> 2023<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> 2024<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> 2025</div> 2026</xsl:template> 2027 2028<xsl:template match="subtitle" mode="sect4.titlepage.recto.auto.mode"> 2029<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> 2030<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> 2031</div> 2032</xsl:template> 2033 2034<xsl:template match="corpauthor" mode="sect4.titlepage.recto.auto.mode"> 2035<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> 2036<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> 2037</div> 2038</xsl:template> 2039 2040<xsl:template match="authorgroup" mode="sect4.titlepage.recto.auto.mode"> 2041<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> 2042<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> 2043</div> 2044</xsl:template> 2045 2046<xsl:template match="author" mode="sect4.titlepage.recto.auto.mode"> 2047<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> 2048<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> 2049</div> 2050</xsl:template> 2051 2052<xsl:template match="releaseinfo" mode="sect4.titlepage.recto.auto.mode"> 2053<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> 2054<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> 2055</div> 2056</xsl:template> 2057 2058<xsl:template match="copyright" mode="sect4.titlepage.recto.auto.mode"> 2059<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> 2060<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> 2061</div> 2062</xsl:template> 2063 2064<xsl:template match="legalnotice" mode="sect4.titlepage.recto.auto.mode"> 2065<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> 2066<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> 2067</div> 2068</xsl:template> 2069 2070<xsl:template match="pubdate" mode="sect4.titlepage.recto.auto.mode"> 2071<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> 2072<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> 2073</div> 2074</xsl:template> 2075 2076<xsl:template match="revision" mode="sect4.titlepage.recto.auto.mode"> 2077<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> 2078<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> 2079</div> 2080</xsl:template> 2081 2082<xsl:template match="revhistory" mode="sect4.titlepage.recto.auto.mode"> 2083<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> 2084<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> 2085</div> 2086</xsl:template> 2087 2088<xsl:template match="abstract" mode="sect4.titlepage.recto.auto.mode"> 2089<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> 2090<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> 2091</div> 2092</xsl:template> 2093 2094<xsl:template name="sect5.titlepage.recto"> 2095 <xsl:choose> 2096 <xsl:when test="sect5info/title"> 2097 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/title"/> 2098 </xsl:when> 2099 <xsl:when test="title"> 2100 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="title"/> 2101 </xsl:when> 2102 </xsl:choose> 2103 2104 <xsl:choose> 2105 <xsl:when test="sect5info/subtitle"> 2106 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/subtitle"/> 2107 </xsl:when> 2108 <xsl:when test="subtitle"> 2109 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="subtitle"/> 2110 </xsl:when> 2111 </xsl:choose> 2112 2113 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/corpauthor"/> 2114 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/authorgroup"/> 2115 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/author"/> 2116 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/releaseinfo"/> 2117 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/copyright"/> 2118 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/legalnotice"/> 2119 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/pubdate"/> 2120 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revision"/> 2121 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revhistory"/> 2122 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/abstract"/> 2123</xsl:template> 2124 2125<xsl:template name="sect5.titlepage.verso"> 2126</xsl:template> 2127 2128<xsl:template name="sect5.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> 2129</xsl:template> 2130 2131<xsl:template name="sect5.titlepage.before.recto"> 2132</xsl:template> 2133 2134<xsl:template name="sect5.titlepage.before.verso"> 2135</xsl:template> 2136 2137<xsl:template name="sect5.titlepage"> 2138 <div class="titlepage"> 2139 <xsl:call-template name="sect5.titlepage.before.recto"/> 2140 <xsl:call-template name="sect5.titlepage.recto"/> 2141 <xsl:call-template name="sect5.titlepage.before.verso"/> 2142 <xsl:call-template name="sect5.titlepage.verso"/> 2143 <xsl:call-template name="sect5.titlepage.separator"/> 2144 </div> 2145</xsl:template> 2146 2147<xsl:template match="*" mode="sect5.titlepage.recto.mode"> 2148 <!-- if an element isn't found in this mode, --> 2149 <!-- try the generic titlepage.mode --> 2150 <xsl:apply-templates select="." mode="titlepage.mode"/> 2151</xsl:template> 2152 2153<xsl:template match="*" mode="sect5.titlepage.verso.mode"> 2154 <!-- if an element isn't found in this mode, --> 2155 <!-- try the generic titlepage.mode --> 2156 <xsl:apply-templates select="." mode="titlepage.mode"/> 2157</xsl:template> 2158 2159<xsl:template match="title" mode="sect5.titlepage.recto.auto.mode"> 2160<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> 2161<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> 2162</div> 2163</xsl:template> 2164 2165<xsl:template match="subtitle" mode="sect5.titlepage.recto.auto.mode"> 2166<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> 2167<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> 2168</div> 2169</xsl:template> 2170 2171<xsl:template match="corpauthor" mode="sect5.titlepage.recto.auto.mode"> 2172<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> 2173<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> 2174</div> 2175</xsl:template> 2176 2177<xsl:template match="authorgroup" mode="sect5.titlepage.recto.auto.mode"> 2178<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> 2179<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> 2180</div> 2181</xsl:template> 2182 2183<xsl:template match="author" mode="sect5.titlepage.recto.auto.mode"> 2184<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> 2185<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> 2186</div> 2187</xsl:template> 2188 2189<xsl:template match="releaseinfo" mode="sect5.titlepage.recto.auto.mode"> 2190<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> 2191<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> 2192</div> 2193</xsl:template> 2194 2195<xsl:template match="copyright" mode="sect5.titlepage.recto.auto.mode"> 2196<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> 2197<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> 2198</div> 2199</xsl:template> 2200 2201<xsl:template match="legalnotice" mode="sect5.titlepage.recto.auto.mode"> 2202<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> 2203<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> 2204</div> 2205</xsl:template> 2206 2207<xsl:template match="pubdate" mode="sect5.titlepage.recto.auto.mode"> 2208<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> 2209<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> 2210</div> 2211</xsl:template> 2212 2213<xsl:template match="revision" mode="sect5.titlepage.recto.auto.mode"> 2214<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> 2215<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> 2216</div> 2217</xsl:template> 2218 2219<xsl:template match="revhistory" mode="sect5.titlepage.recto.auto.mode"> 2220<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> 2221<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> 2222</div> 2223</xsl:template> 2224 2225<xsl:template match="abstract" mode="sect5.titlepage.recto.auto.mode"> 2226<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> 2227<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> 2228</div> 2229</xsl:template> 2230 2231<xsl:template name="simplesect.titlepage.recto"> 2232 <xsl:choose> 2233 <xsl:when test="simplesectinfo/title"> 2234 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/title"/> 2235 </xsl:when> 2236 <xsl:when test="docinfo/title"> 2237 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/title"/> 2238 </xsl:when> 2239 <xsl:when test="title"> 2240 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="title"/> 2241 </xsl:when> 2242 </xsl:choose> 2243 2244 <xsl:choose> 2245 <xsl:when test="simplesectinfo/subtitle"> 2246 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/subtitle"/> 2247 </xsl:when> 2248 <xsl:when test="docinfo/subtitle"> 2249 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/subtitle"/> 2250 </xsl:when> 2251 <xsl:when test="subtitle"> 2252 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="subtitle"/> 2253 </xsl:when> 2254 </xsl:choose> 2255 2256 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/corpauthor"/> 2257 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> 2258 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/authorgroup"/> 2259 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> 2260 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/author"/> 2261 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/author"/> 2262 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/releaseinfo"/> 2263 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> 2264 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/copyright"/> 2265 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/copyright"/> 2266 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/legalnotice"/> 2267 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> 2268 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/pubdate"/> 2269 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/pubdate"/> 2270 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revision"/> 2271 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revision"/> 2272 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revhistory"/> 2273 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revhistory"/> 2274 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/abstract"/> 2275 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/abstract"/> 2276</xsl:template> 2277 2278<xsl:template name="simplesect.titlepage.verso"> 2279</xsl:template> 2280 2281<xsl:template name="simplesect.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> 2282</xsl:template> 2283 2284<xsl:template name="simplesect.titlepage.before.recto"> 2285</xsl:template> 2286 2287<xsl:template name="simplesect.titlepage.before.verso"> 2288</xsl:template> 2289 2290<xsl:template name="simplesect.titlepage"> 2291 <div class="titlepage"> 2292 <xsl:call-template name="simplesect.titlepage.before.recto"/> 2293 <xsl:call-template name="simplesect.titlepage.recto"/> 2294 <xsl:call-template name="simplesect.titlepage.before.verso"/> 2295 <xsl:call-template name="simplesect.titlepage.verso"/> 2296 <xsl:call-template name="simplesect.titlepage.separator"/> 2297 </div> 2298</xsl:template> 2299 2300<xsl:template match="*" mode="simplesect.titlepage.recto.mode"> 2301 <!-- if an element isn't found in this mode, --> 2302 <!-- try the generic titlepage.mode --> 2303 <xsl:apply-templates select="." mode="titlepage.mode"/> 2304</xsl:template> 2305 2306<xsl:template match="*" mode="simplesect.titlepage.verso.mode"> 2307 <!-- if an element isn't found in this mode, --> 2308 <!-- try the generic titlepage.mode --> 2309 <xsl:apply-templates select="." mode="titlepage.mode"/> 2310</xsl:template> 2311 2312<xsl:template match="title" mode="simplesect.titlepage.recto.auto.mode"> 2313<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> 2314<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> 2315</div> 2316</xsl:template> 2317 2318<xsl:template match="subtitle" mode="simplesect.titlepage.recto.auto.mode"> 2319<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> 2320<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> 2321</div> 2322</xsl:template> 2323 2324<xsl:template match="corpauthor" mode="simplesect.titlepage.recto.auto.mode"> 2325<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> 2326<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> 2327</div> 2328</xsl:template> 2329 2330<xsl:template match="authorgroup" mode="simplesect.titlepage.recto.auto.mode"> 2331<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> 2332<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> 2333</div> 2334</xsl:template> 2335 2336<xsl:template match="author" mode="simplesect.titlepage.recto.auto.mode"> 2337<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> 2338<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> 2339</div> 2340</xsl:template> 2341 2342<xsl:template match="releaseinfo" mode="simplesect.titlepage.recto.auto.mode"> 2343<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> 2344<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> 2345</div> 2346</xsl:template> 2347 2348<xsl:template match="copyright" mode="simplesect.titlepage.recto.auto.mode"> 2349<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> 2350<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> 2351</div> 2352</xsl:template> 2353 2354<xsl:template match="legalnotice" mode="simplesect.titlepage.recto.auto.mode"> 2355<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> 2356<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> 2357</div> 2358</xsl:template> 2359 2360<xsl:template match="pubdate" mode="simplesect.titlepage.recto.auto.mode"> 2361<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> 2362<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> 2363</div> 2364</xsl:template> 2365 2366<xsl:template match="revision" mode="simplesect.titlepage.recto.auto.mode"> 2367<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> 2368<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> 2369</div> 2370</xsl:template> 2371 2372<xsl:template match="revhistory" mode="simplesect.titlepage.recto.auto.mode"> 2373<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> 2374<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> 2375</div> 2376</xsl:template> 2377 2378<xsl:template match="abstract" mode="simplesect.titlepage.recto.auto.mode"> 2379<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> 2380<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> 2381</div> 2382</xsl:template> 2383 2384<xsl:template name="bibliography.titlepage.recto"> 2385 <div xsl:use-attribute-sets="bibliography.titlepage.recto.style"> 2386<xsl:call-template name="component.title"> 2387<xsl:with-param name="node" select="ancestor-or-self::bibliography[1]"/> 2388</xsl:call-template></div> 2389 <xsl:choose> 2390 <xsl:when test="bibliographyinfo/subtitle"> 2391 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/subtitle"/> 2392 </xsl:when> 2393 <xsl:when test="docinfo/subtitle"> 2394 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/subtitle"/> 2395 </xsl:when> 2396 <xsl:when test="subtitle"> 2397 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="subtitle"/> 2398 </xsl:when> 2399 </xsl:choose> 2400 2401</xsl:template> 2402 2403<xsl:template name="bibliography.titlepage.verso"> 2404</xsl:template> 2405 2406<xsl:template name="bibliography.titlepage.separator"> 2407</xsl:template> 2408 2409<xsl:template name="bibliography.titlepage.before.recto"> 2410</xsl:template> 2411 2412<xsl:template name="bibliography.titlepage.before.verso"> 2413</xsl:template> 2414 2415<xsl:template name="bibliography.titlepage"> 2416 <div class="titlepage"> 2417 <xsl:call-template name="bibliography.titlepage.before.recto"/> 2418 <xsl:call-template name="bibliography.titlepage.recto"/> 2419 <xsl:call-template name="bibliography.titlepage.before.verso"/> 2420 <xsl:call-template name="bibliography.titlepage.verso"/> 2421 <xsl:call-template name="bibliography.titlepage.separator"/> 2422 </div> 2423</xsl:template> 2424 2425<xsl:template match="*" mode="bibliography.titlepage.recto.mode"> 2426 <!-- if an element isn't found in this mode, --> 2427 <!-- try the generic titlepage.mode --> 2428 <xsl:apply-templates select="." mode="titlepage.mode"/> 2429</xsl:template> 2430 2431<xsl:template match="*" mode="bibliography.titlepage.verso.mode"> 2432 <!-- if an element isn't found in this mode, --> 2433 <!-- try the generic titlepage.mode --> 2434 <xsl:apply-templates select="." mode="titlepage.mode"/> 2435</xsl:template> 2436 2437<xsl:template match="subtitle" mode="bibliography.titlepage.recto.auto.mode"> 2438<div xsl:use-attribute-sets="bibliography.titlepage.recto.style"> 2439<xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/> 2440</div> 2441</xsl:template> 2442 2443<xsl:template name="glossary.titlepage.recto"> 2444 <div xsl:use-attribute-sets="glossary.titlepage.recto.style"> 2445<xsl:call-template name="component.title"> 2446<xsl:with-param name="node" select="ancestor-or-self::glossary[1]"/> 2447</xsl:call-template></div> 2448 <xsl:choose> 2449 <xsl:when test="glossaryinfo/subtitle"> 2450 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/subtitle"/> 2451 </xsl:when> 2452 <xsl:when test="docinfo/subtitle"> 2453 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/subtitle"/> 2454 </xsl:when> 2455 <xsl:when test="subtitle"> 2456 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="subtitle"/> 2457 </xsl:when> 2458 </xsl:choose> 2459 2460</xsl:template> 2461 2462<xsl:template name="glossary.titlepage.verso"> 2463</xsl:template> 2464 2465<xsl:template name="glossary.titlepage.separator"> 2466</xsl:template> 2467 2468<xsl:template name="glossary.titlepage.before.recto"> 2469</xsl:template> 2470 2471<xsl:template name="glossary.titlepage.before.verso"> 2472</xsl:template> 2473 2474<xsl:template name="glossary.titlepage"> 2475 <div class="titlepage"> 2476 <xsl:call-template name="glossary.titlepage.before.recto"/> 2477 <xsl:call-template name="glossary.titlepage.recto"/> 2478 <xsl:call-template name="glossary.titlepage.before.verso"/> 2479 <xsl:call-template name="glossary.titlepage.verso"/> 2480 <xsl:call-template name="glossary.titlepage.separator"/> 2481 </div> 2482</xsl:template> 2483 2484<xsl:template match="*" mode="glossary.titlepage.recto.mode"> 2485 <!-- if an element isn't found in this mode, --> 2486 <!-- try the generic titlepage.mode --> 2487 <xsl:apply-templates select="." mode="titlepage.mode"/> 2488</xsl:template> 2489 2490<xsl:template match="*" mode="glossary.titlepage.verso.mode"> 2491 <!-- if an element isn't found in this mode, --> 2492 <!-- try the generic titlepage.mode --> 2493 <xsl:apply-templates select="." mode="titlepage.mode"/> 2494</xsl:template> 2495 2496<xsl:template match="subtitle" mode="glossary.titlepage.recto.auto.mode"> 2497<div xsl:use-attribute-sets="glossary.titlepage.recto.style"> 2498<xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/> 2499</div> 2500</xsl:template> 2501 2502<xsl:template name="index.titlepage.recto"> 2503 <div xsl:use-attribute-sets="index.titlepage.recto.style"> 2504<xsl:call-template name="component.title"> 2505<xsl:with-param name="node" select="ancestor-or-self::index[1]"/> 2506</xsl:call-template></div> 2507 <xsl:choose> 2508 <xsl:when test="indexinfo/subtitle"> 2509 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="indexinfo/subtitle"/> 2510 </xsl:when> 2511 <xsl:when test="docinfo/subtitle"> 2512 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="docinfo/subtitle"/> 2513 </xsl:when> 2514 <xsl:when test="subtitle"> 2515 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="subtitle"/> 2516 </xsl:when> 2517 </xsl:choose> 2518 2519</xsl:template> 2520 2521<xsl:template name="index.titlepage.verso"> 2522</xsl:template> 2523 2524<xsl:template name="index.titlepage.separator"> 2525</xsl:template> 2526 2527<xsl:template name="index.titlepage.before.recto"> 2528</xsl:template> 2529 2530<xsl:template name="index.titlepage.before.verso"> 2531</xsl:template> 2532 2533<xsl:template name="index.titlepage"> 2534 <div class="titlepage"> 2535 <xsl:call-template name="index.titlepage.before.recto"/> 2536 <xsl:call-template name="index.titlepage.recto"/> 2537 <xsl:call-template name="index.titlepage.before.verso"/> 2538 <xsl:call-template name="index.titlepage.verso"/> 2539 <xsl:call-template name="index.titlepage.separator"/> 2540 </div> 2541</xsl:template> 2542 2543<xsl:template match="*" mode="index.titlepage.recto.mode"> 2544 <!-- if an element isn't found in this mode, --> 2545 <!-- try the generic titlepage.mode --> 2546 <xsl:apply-templates select="." mode="titlepage.mode"/> 2547</xsl:template> 2548 2549<xsl:template match="*" mode="index.titlepage.verso.mode"> 2550 <!-- if an element isn't found in this mode, --> 2551 <!-- try the generic titlepage.mode --> 2552 <xsl:apply-templates select="." mode="titlepage.mode"/> 2553</xsl:template> 2554 2555<xsl:template match="subtitle" mode="index.titlepage.recto.auto.mode"> 2556<div xsl:use-attribute-sets="index.titlepage.recto.style"> 2557<xsl:apply-templates select="." mode="index.titlepage.recto.mode"/> 2558</div> 2559</xsl:template> 2560 2561</xsl:stylesheet>