1 <?xml version="1.0" encoding="ASCII"?>
2 <!--This file was created automatically by html2xhtml-->
3 <!--from the HTML stylesheets.-->
4 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="exsl">
6 <!-- This stylesheet was created by template/titlepage.xsl-->
8 <xsl:template name="article.titlepage.recto">
10 <xsl:when test="articleinfo/title">
11 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/title"/>
13 <xsl:when test="artheader/title">
14 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/title"/>
16 <xsl:when test="info/title">
17 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/title"/>
19 <xsl:when test="title">
20 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="title"/>
25 <xsl:when test="articleinfo/subtitle">
26 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/subtitle"/>
28 <xsl:when test="artheader/subtitle">
29 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/subtitle"/>
31 <xsl:when test="info/subtitle">
32 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/subtitle"/>
34 <xsl:when test="subtitle">
35 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="subtitle"/>
39 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/corpauthor"/>
40 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/corpauthor"/>
41 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/corpauthor"/>
42 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/authorgroup"/>
43 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/authorgroup"/>
44 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/authorgroup"/>
45 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/author"/>
46 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/author"/>
47 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/author"/>
48 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/othercredit"/>
49 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/othercredit"/>
50 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/othercredit"/>
51 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/releaseinfo"/>
52 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/releaseinfo"/>
53 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/releaseinfo"/>
54 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/copyright"/>
55 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/copyright"/>
56 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/copyright"/>
57 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/legalnotice"/>
58 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/legalnotice"/>
59 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/legalnotice"/>
60 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/pubdate"/>
61 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/pubdate"/>
62 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/pubdate"/>
63 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revision"/>
64 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revision"/>
65 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revision"/>
66 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revhistory"/>
67 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revhistory"/>
68 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revhistory"/>
69 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/abstract"/>
70 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/abstract"/>
71 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/abstract"/>
74 <xsl:template name="article.titlepage.verso">
77 <xsl:template name="article.titlepage.separator"><hr/>
80 <xsl:template name="article.titlepage.before.recto">
83 <xsl:template name="article.titlepage.before.verso">
86 <xsl:template name="article.titlepage">
87 <div class="titlepage">
88 <xsl:variable name="recto.content">
89 <xsl:call-template name="article.titlepage.before.recto"/>
90 <xsl:call-template name="article.titlepage.recto"/>
92 <xsl:variable name="recto.elements.count">
94 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
95 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
96 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
97 <xsl:otherwise>1</xsl:otherwise>
100 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
101 <div><xsl:copy-of select="$recto.content"/></div>
103 <xsl:variable name="verso.content">
104 <xsl:call-template name="article.titlepage.before.verso"/>
105 <xsl:call-template name="article.titlepage.verso"/>
107 <xsl:variable name="verso.elements.count">
109 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
110 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
111 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
112 <xsl:otherwise>1</xsl:otherwise>
115 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
116 <div><xsl:copy-of select="$verso.content"/></div>
118 <xsl:call-template name="article.titlepage.separator"/>
122 <xsl:template match="*" mode="article.titlepage.recto.mode">
123 <!-- if an element isn't found in this mode, -->
124 <!-- try the generic titlepage.mode -->
125 <xsl:apply-templates select="." mode="titlepage.mode"/>
128 <xsl:template match="*" mode="article.titlepage.verso.mode">
129 <!-- if an element isn't found in this mode, -->
130 <!-- try the generic titlepage.mode -->
131 <xsl:apply-templates select="." mode="titlepage.mode"/>
134 <xsl:template match="title" 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"/>
140 <xsl:template match="subtitle" 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"/>
146 <xsl:template match="corpauthor" 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"/>
152 <xsl:template match="authorgroup" 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"/>
158 <xsl:template match="author" mode="article.titlepage.recto.auto.mode">
159 <div xsl:use-attribute-sets="article.titlepage.recto.style">
160 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
164 <xsl:template match="othercredit" mode="article.titlepage.recto.auto.mode">
165 <div xsl:use-attribute-sets="article.titlepage.recto.style">
166 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
170 <xsl:template match="releaseinfo" mode="article.titlepage.recto.auto.mode">
171 <div xsl:use-attribute-sets="article.titlepage.recto.style">
172 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
176 <xsl:template match="copyright" mode="article.titlepage.recto.auto.mode">
177 <div xsl:use-attribute-sets="article.titlepage.recto.style">
178 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
182 <xsl:template match="legalnotice" mode="article.titlepage.recto.auto.mode">
183 <div xsl:use-attribute-sets="article.titlepage.recto.style">
184 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
188 <xsl:template match="pubdate" mode="article.titlepage.recto.auto.mode">
189 <div xsl:use-attribute-sets="article.titlepage.recto.style">
190 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
194 <xsl:template match="revision" mode="article.titlepage.recto.auto.mode">
195 <div xsl:use-attribute-sets="article.titlepage.recto.style">
196 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
200 <xsl:template match="revhistory" mode="article.titlepage.recto.auto.mode">
201 <div xsl:use-attribute-sets="article.titlepage.recto.style">
202 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
206 <xsl:template match="abstract" mode="article.titlepage.recto.auto.mode">
207 <div xsl:use-attribute-sets="article.titlepage.recto.style">
208 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
212 <xsl:template name="set.titlepage.recto">
214 <xsl:when test="setinfo/title">
215 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/title"/>
217 <xsl:when test="info/title">
218 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/title"/>
220 <xsl:when test="title">
221 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="title"/>
226 <xsl:when test="setinfo/subtitle">
227 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/subtitle"/>
229 <xsl:when test="info/subtitle">
230 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/subtitle"/>
232 <xsl:when test="subtitle">
233 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="subtitle"/>
237 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/corpauthor"/>
238 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/corpauthor"/>
239 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/authorgroup"/>
240 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/authorgroup"/>
241 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/author"/>
242 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/author"/>
243 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/othercredit"/>
244 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/othercredit"/>
245 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/releaseinfo"/>
246 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/releaseinfo"/>
247 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/copyright"/>
248 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/copyright"/>
249 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/legalnotice"/>
250 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/legalnotice"/>
251 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/pubdate"/>
252 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/pubdate"/>
253 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revision"/>
254 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revision"/>
255 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revhistory"/>
256 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revhistory"/>
257 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/abstract"/>
258 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/abstract"/>
261 <xsl:template name="set.titlepage.verso">
264 <xsl:template name="set.titlepage.separator"><hr/>
267 <xsl:template name="set.titlepage.before.recto">
270 <xsl:template name="set.titlepage.before.verso">
273 <xsl:template name="set.titlepage">
274 <div class="titlepage">
275 <xsl:variable name="recto.content">
276 <xsl:call-template name="set.titlepage.before.recto"/>
277 <xsl:call-template name="set.titlepage.recto"/>
279 <xsl:variable name="recto.elements.count">
281 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
282 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
283 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
284 <xsl:otherwise>1</xsl:otherwise>
287 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
288 <div><xsl:copy-of select="$recto.content"/></div>
290 <xsl:variable name="verso.content">
291 <xsl:call-template name="set.titlepage.before.verso"/>
292 <xsl:call-template name="set.titlepage.verso"/>
294 <xsl:variable name="verso.elements.count">
296 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
297 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
298 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
299 <xsl:otherwise>1</xsl:otherwise>
302 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
303 <div><xsl:copy-of select="$verso.content"/></div>
305 <xsl:call-template name="set.titlepage.separator"/>
309 <xsl:template match="*" mode="set.titlepage.recto.mode">
310 <!-- if an element isn't found in this mode, -->
311 <!-- try the generic titlepage.mode -->
312 <xsl:apply-templates select="." mode="titlepage.mode"/>
315 <xsl:template match="*" mode="set.titlepage.verso.mode">
316 <!-- if an element isn't found in this mode, -->
317 <!-- try the generic titlepage.mode -->
318 <xsl:apply-templates select="." mode="titlepage.mode"/>
321 <xsl:template match="title" mode="set.titlepage.recto.auto.mode">
322 <div xsl:use-attribute-sets="set.titlepage.recto.style">
323 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
327 <xsl:template match="subtitle" mode="set.titlepage.recto.auto.mode">
328 <div xsl:use-attribute-sets="set.titlepage.recto.style">
329 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
333 <xsl:template match="corpauthor" mode="set.titlepage.recto.auto.mode">
334 <div xsl:use-attribute-sets="set.titlepage.recto.style">
335 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
339 <xsl:template match="authorgroup" mode="set.titlepage.recto.auto.mode">
340 <div xsl:use-attribute-sets="set.titlepage.recto.style">
341 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
345 <xsl:template match="author" mode="set.titlepage.recto.auto.mode">
346 <div xsl:use-attribute-sets="set.titlepage.recto.style">
347 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
351 <xsl:template match="othercredit" mode="set.titlepage.recto.auto.mode">
352 <div xsl:use-attribute-sets="set.titlepage.recto.style">
353 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
357 <xsl:template match="releaseinfo" mode="set.titlepage.recto.auto.mode">
358 <div xsl:use-attribute-sets="set.titlepage.recto.style">
359 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
363 <xsl:template match="copyright" mode="set.titlepage.recto.auto.mode">
364 <div xsl:use-attribute-sets="set.titlepage.recto.style">
365 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
369 <xsl:template match="legalnotice" mode="set.titlepage.recto.auto.mode">
370 <div xsl:use-attribute-sets="set.titlepage.recto.style">
371 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
375 <xsl:template match="pubdate" mode="set.titlepage.recto.auto.mode">
376 <div xsl:use-attribute-sets="set.titlepage.recto.style">
377 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
381 <xsl:template match="revision" mode="set.titlepage.recto.auto.mode">
382 <div xsl:use-attribute-sets="set.titlepage.recto.style">
383 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
387 <xsl:template match="revhistory" mode="set.titlepage.recto.auto.mode">
388 <div xsl:use-attribute-sets="set.titlepage.recto.style">
389 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
393 <xsl:template match="abstract" mode="set.titlepage.recto.auto.mode">
394 <div xsl:use-attribute-sets="set.titlepage.recto.style">
395 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
399 <xsl:template name="book.titlepage.recto">
401 <xsl:when test="bookinfo/title">
402 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title"/>
404 <xsl:when test="info/title">
405 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/title"/>
407 <xsl:when test="title">
408 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title"/>
413 <xsl:when test="bookinfo/subtitle">
414 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle"/>
416 <xsl:when test="info/subtitle">
417 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/subtitle"/>
419 <xsl:when test="subtitle">
420 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle"/>
424 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/corpauthor"/>
425 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/corpauthor"/>
426 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/>
427 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/authorgroup"/>
428 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/>
429 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/author"/>
430 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/othercredit"/>
431 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/othercredit"/>
432 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/releaseinfo"/>
433 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/releaseinfo"/>
434 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/copyright"/>
435 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/copyright"/>
436 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/legalnotice"/>
437 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/legalnotice"/>
438 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/pubdate"/>
439 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/pubdate"/>
440 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revision"/>
441 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revision"/>
442 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revhistory"/>
443 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revhistory"/>
444 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/abstract"/>
445 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/abstract"/>
448 <xsl:template name="book.titlepage.verso">
451 <xsl:template name="book.titlepage.separator"><hr/>
454 <xsl:template name="book.titlepage.before.recto">
457 <xsl:template name="book.titlepage.before.verso">
460 <xsl:template name="book.titlepage">
461 <div class="titlepage">
462 <xsl:variable name="recto.content">
463 <xsl:call-template name="book.titlepage.before.recto"/>
464 <xsl:call-template name="book.titlepage.recto"/>
466 <xsl:variable name="recto.elements.count">
468 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
469 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
470 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
471 <xsl:otherwise>1</xsl:otherwise>
474 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
475 <div><xsl:copy-of select="$recto.content"/></div>
477 <xsl:variable name="verso.content">
478 <xsl:call-template name="book.titlepage.before.verso"/>
479 <xsl:call-template name="book.titlepage.verso"/>
481 <xsl:variable name="verso.elements.count">
483 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
484 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
485 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
486 <xsl:otherwise>1</xsl:otherwise>
489 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
490 <div><xsl:copy-of select="$verso.content"/></div>
492 <xsl:call-template name="book.titlepage.separator"/>
496 <xsl:template match="*" mode="book.titlepage.recto.mode">
497 <!-- if an element isn't found in this mode, -->
498 <!-- try the generic titlepage.mode -->
499 <xsl:apply-templates select="." mode="titlepage.mode"/>
502 <xsl:template match="*" mode="book.titlepage.verso.mode">
503 <!-- if an element isn't found in this mode, -->
504 <!-- try the generic titlepage.mode -->
505 <xsl:apply-templates select="." mode="titlepage.mode"/>
508 <xsl:template match="title" mode="book.titlepage.recto.auto.mode">
509 <div xsl:use-attribute-sets="book.titlepage.recto.style">
510 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
514 <xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode">
515 <div xsl:use-attribute-sets="book.titlepage.recto.style">
516 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
520 <xsl:template match="corpauthor" mode="book.titlepage.recto.auto.mode">
521 <div xsl:use-attribute-sets="book.titlepage.recto.style">
522 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
526 <xsl:template match="authorgroup" mode="book.titlepage.recto.auto.mode">
527 <div xsl:use-attribute-sets="book.titlepage.recto.style">
528 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
532 <xsl:template match="author" mode="book.titlepage.recto.auto.mode">
533 <div xsl:use-attribute-sets="book.titlepage.recto.style">
534 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
538 <xsl:template match="othercredit" mode="book.titlepage.recto.auto.mode">
539 <div xsl:use-attribute-sets="book.titlepage.recto.style">
540 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
544 <xsl:template match="releaseinfo" mode="book.titlepage.recto.auto.mode">
545 <div xsl:use-attribute-sets="book.titlepage.recto.style">
546 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
550 <xsl:template match="copyright" mode="book.titlepage.recto.auto.mode">
551 <div xsl:use-attribute-sets="book.titlepage.recto.style">
552 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
556 <xsl:template match="legalnotice" mode="book.titlepage.recto.auto.mode">
557 <div xsl:use-attribute-sets="book.titlepage.recto.style">
558 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
562 <xsl:template match="pubdate" mode="book.titlepage.recto.auto.mode">
563 <div xsl:use-attribute-sets="book.titlepage.recto.style">
564 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
568 <xsl:template match="revision" mode="book.titlepage.recto.auto.mode">
569 <div xsl:use-attribute-sets="book.titlepage.recto.style">
570 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
574 <xsl:template match="revhistory" mode="book.titlepage.recto.auto.mode">
575 <div xsl:use-attribute-sets="book.titlepage.recto.style">
576 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
580 <xsl:template match="abstract" mode="book.titlepage.recto.auto.mode">
581 <div xsl:use-attribute-sets="book.titlepage.recto.style">
582 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
586 <xsl:template name="part.titlepage.recto">
587 <div xsl:use-attribute-sets="part.titlepage.recto.style">
588 <xsl:call-template name="division.title">
589 <xsl:with-param name="node" select="ancestor-or-self::part[1]"/>
590 </xsl:call-template></div>
592 <xsl:when test="partinfo/subtitle">
593 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/subtitle"/>
595 <xsl:when test="docinfo/subtitle">
596 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
598 <xsl:when test="info/subtitle">
599 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/subtitle"/>
601 <xsl:when test="subtitle">
602 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="subtitle"/>
606 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/corpauthor"/>
607 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
608 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/corpauthor"/>
609 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/authorgroup"/>
610 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
611 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/authorgroup"/>
612 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/author"/>
613 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/author"/>
614 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/author"/>
615 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/othercredit"/>
616 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
617 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/othercredit"/>
618 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/releaseinfo"/>
619 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
620 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/releaseinfo"/>
621 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/copyright"/>
622 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/copyright"/>
623 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/copyright"/>
624 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/legalnotice"/>
625 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
626 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/legalnotice"/>
627 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/pubdate"/>
628 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
629 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/pubdate"/>
630 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revision"/>
631 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revision"/>
632 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/revision"/>
633 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revhistory"/>
634 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
635 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/revhistory"/>
636 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/abstract"/>
637 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/abstract"/>
638 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/abstract"/>
641 <xsl:template name="part.titlepage.verso">
644 <xsl:template name="part.titlepage.separator">
647 <xsl:template name="part.titlepage.before.recto">
650 <xsl:template name="part.titlepage.before.verso">
653 <xsl:template name="part.titlepage">
654 <div class="titlepage">
655 <xsl:variable name="recto.content">
656 <xsl:call-template name="part.titlepage.before.recto"/>
657 <xsl:call-template name="part.titlepage.recto"/>
659 <xsl:variable name="recto.elements.count">
661 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
662 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
663 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
664 <xsl:otherwise>1</xsl:otherwise>
667 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
668 <div><xsl:copy-of select="$recto.content"/></div>
670 <xsl:variable name="verso.content">
671 <xsl:call-template name="part.titlepage.before.verso"/>
672 <xsl:call-template name="part.titlepage.verso"/>
674 <xsl:variable name="verso.elements.count">
676 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
677 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
678 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
679 <xsl:otherwise>1</xsl:otherwise>
682 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
683 <div><xsl:copy-of select="$verso.content"/></div>
685 <xsl:call-template name="part.titlepage.separator"/>
689 <xsl:template match="*" mode="part.titlepage.recto.mode">
690 <!-- if an element isn't found in this mode, -->
691 <!-- try the generic titlepage.mode -->
692 <xsl:apply-templates select="." mode="titlepage.mode"/>
695 <xsl:template match="*" mode="part.titlepage.verso.mode">
696 <!-- if an element isn't found in this mode, -->
697 <!-- try the generic titlepage.mode -->
698 <xsl:apply-templates select="." mode="titlepage.mode"/>
701 <xsl:template match="subtitle" mode="part.titlepage.recto.auto.mode">
702 <div xsl:use-attribute-sets="part.titlepage.recto.style">
703 <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
707 <xsl:template match="corpauthor" mode="part.titlepage.recto.auto.mode">
708 <div xsl:use-attribute-sets="part.titlepage.recto.style">
709 <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
713 <xsl:template match="authorgroup" mode="part.titlepage.recto.auto.mode">
714 <div xsl:use-attribute-sets="part.titlepage.recto.style">
715 <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
719 <xsl:template match="author" mode="part.titlepage.recto.auto.mode">
720 <div xsl:use-attribute-sets="part.titlepage.recto.style">
721 <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
725 <xsl:template match="othercredit" mode="part.titlepage.recto.auto.mode">
726 <div xsl:use-attribute-sets="part.titlepage.recto.style">
727 <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
731 <xsl:template match="releaseinfo" mode="part.titlepage.recto.auto.mode">
732 <div xsl:use-attribute-sets="part.titlepage.recto.style">
733 <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
737 <xsl:template match="copyright" mode="part.titlepage.recto.auto.mode">
738 <div xsl:use-attribute-sets="part.titlepage.recto.style">
739 <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
743 <xsl:template match="legalnotice" mode="part.titlepage.recto.auto.mode">
744 <div xsl:use-attribute-sets="part.titlepage.recto.style">
745 <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
749 <xsl:template match="pubdate" mode="part.titlepage.recto.auto.mode">
750 <div xsl:use-attribute-sets="part.titlepage.recto.style">
751 <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
755 <xsl:template match="revision" mode="part.titlepage.recto.auto.mode">
756 <div xsl:use-attribute-sets="part.titlepage.recto.style">
757 <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
761 <xsl:template match="revhistory" mode="part.titlepage.recto.auto.mode">
762 <div xsl:use-attribute-sets="part.titlepage.recto.style">
763 <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
767 <xsl:template match="abstract" mode="part.titlepage.recto.auto.mode">
768 <div xsl:use-attribute-sets="part.titlepage.recto.style">
769 <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
773 <xsl:template name="partintro.titlepage.recto">
775 <xsl:when test="partintroinfo/title">
776 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/title"/>
778 <xsl:when test="docinfo/title">
779 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/title"/>
781 <xsl:when test="info/title">
782 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/title"/>
784 <xsl:when test="title">
785 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="title"/>
790 <xsl:when test="partintroinfo/subtitle">
791 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/subtitle"/>
793 <xsl:when test="docinfo/subtitle">
794 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
796 <xsl:when test="info/subtitle">
797 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/subtitle"/>
799 <xsl:when test="subtitle">
800 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="subtitle"/>
804 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/corpauthor"/>
805 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
806 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/corpauthor"/>
807 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/authorgroup"/>
808 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
809 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/authorgroup"/>
810 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/author"/>
811 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/author"/>
812 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/author"/>
813 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/othercredit"/>
814 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
815 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/othercredit"/>
816 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/releaseinfo"/>
817 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
818 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/releaseinfo"/>
819 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/copyright"/>
820 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/copyright"/>
821 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/copyright"/>
822 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/legalnotice"/>
823 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
824 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/legalnotice"/>
825 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/pubdate"/>
826 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
827 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/pubdate"/>
828 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revision"/>
829 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revision"/>
830 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revision"/>
831 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revhistory"/>
832 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
833 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revhistory"/>
834 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/abstract"/>
835 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/abstract"/>
836 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/abstract"/>
839 <xsl:template name="partintro.titlepage.verso">
842 <xsl:template name="partintro.titlepage.separator">
845 <xsl:template name="partintro.titlepage.before.recto">
848 <xsl:template name="partintro.titlepage.before.verso">
851 <xsl:template name="partintro.titlepage">
853 <xsl:variable name="recto.content">
854 <xsl:call-template name="partintro.titlepage.before.recto"/>
855 <xsl:call-template name="partintro.titlepage.recto"/>
857 <xsl:variable name="recto.elements.count">
859 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
860 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
861 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
862 <xsl:otherwise>1</xsl:otherwise>
865 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
866 <div><xsl:copy-of select="$recto.content"/></div>
868 <xsl:variable name="verso.content">
869 <xsl:call-template name="partintro.titlepage.before.verso"/>
870 <xsl:call-template name="partintro.titlepage.verso"/>
872 <xsl:variable name="verso.elements.count">
874 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
875 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
876 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
877 <xsl:otherwise>1</xsl:otherwise>
880 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
881 <div><xsl:copy-of select="$verso.content"/></div>
883 <xsl:call-template name="partintro.titlepage.separator"/>
887 <xsl:template match="*" mode="partintro.titlepage.recto.mode">
888 <!-- if an element isn't found in this mode, -->
889 <!-- try the generic titlepage.mode -->
890 <xsl:apply-templates select="." mode="titlepage.mode"/>
893 <xsl:template match="*" mode="partintro.titlepage.verso.mode">
894 <!-- if an element isn't found in this mode, -->
895 <!-- try the generic titlepage.mode -->
896 <xsl:apply-templates select="." mode="titlepage.mode"/>
899 <xsl:template match="title" mode="partintro.titlepage.recto.auto.mode">
900 <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
901 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
905 <xsl:template match="subtitle" mode="partintro.titlepage.recto.auto.mode">
906 <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
907 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
911 <xsl:template match="corpauthor" mode="partintro.titlepage.recto.auto.mode">
912 <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
913 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
917 <xsl:template match="authorgroup" mode="partintro.titlepage.recto.auto.mode">
918 <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
919 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
923 <xsl:template match="author" mode="partintro.titlepage.recto.auto.mode">
924 <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
925 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
929 <xsl:template match="othercredit" mode="partintro.titlepage.recto.auto.mode">
930 <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
931 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
935 <xsl:template match="releaseinfo" mode="partintro.titlepage.recto.auto.mode">
936 <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
937 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
941 <xsl:template match="copyright" mode="partintro.titlepage.recto.auto.mode">
942 <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
943 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
947 <xsl:template match="legalnotice" mode="partintro.titlepage.recto.auto.mode">
948 <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
949 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
953 <xsl:template match="pubdate" mode="partintro.titlepage.recto.auto.mode">
954 <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
955 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
959 <xsl:template match="revision" mode="partintro.titlepage.recto.auto.mode">
960 <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
961 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
965 <xsl:template match="revhistory" mode="partintro.titlepage.recto.auto.mode">
966 <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
967 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
971 <xsl:template match="abstract" mode="partintro.titlepage.recto.auto.mode">
972 <div xsl:use-attribute-sets="partintro.titlepage.recto.style">
973 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
977 <xsl:template name="reference.titlepage.recto">
979 <xsl:when test="referenceinfo/title">
980 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/title"/>
982 <xsl:when test="docinfo/title">
983 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/title"/>
985 <xsl:when test="info/title">
986 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/title"/>
988 <xsl:when test="title">
989 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="title"/>
994 <xsl:when test="referenceinfo/subtitle">
995 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/subtitle"/>
997 <xsl:when test="docinfo/subtitle">
998 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
1000 <xsl:when test="info/subtitle">
1001 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/subtitle"/>
1003 <xsl:when test="subtitle">
1004 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="subtitle"/>
1008 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/corpauthor"/>
1009 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
1010 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/corpauthor"/>
1011 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/authorgroup"/>
1012 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
1013 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/authorgroup"/>
1014 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/author"/>
1015 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/author"/>
1016 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/author"/>
1017 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/othercredit"/>
1018 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
1019 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/othercredit"/>
1020 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/releaseinfo"/>
1021 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
1022 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/releaseinfo"/>
1023 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/copyright"/>
1024 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/copyright"/>
1025 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/copyright"/>
1026 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/legalnotice"/>
1027 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
1028 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/legalnotice"/>
1029 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/pubdate"/>
1030 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
1031 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/pubdate"/>
1032 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revision"/>
1033 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revision"/>
1034 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revision"/>
1035 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revhistory"/>
1036 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
1037 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revhistory"/>
1038 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/abstract"/>
1039 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/abstract"/>
1040 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/abstract"/>
1043 <xsl:template name="reference.titlepage.verso">
1046 <xsl:template name="reference.titlepage.separator"><hr/>
1049 <xsl:template name="reference.titlepage.before.recto">
1052 <xsl:template name="reference.titlepage.before.verso">
1055 <xsl:template name="reference.titlepage">
1056 <div class="titlepage">
1057 <xsl:variable name="recto.content">
1058 <xsl:call-template name="reference.titlepage.before.recto"/>
1059 <xsl:call-template name="reference.titlepage.recto"/>
1061 <xsl:variable name="recto.elements.count">
1063 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1064 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1065 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1066 <xsl:otherwise>1</xsl:otherwise>
1069 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1070 <div><xsl:copy-of select="$recto.content"/></div>
1072 <xsl:variable name="verso.content">
1073 <xsl:call-template name="reference.titlepage.before.verso"/>
1074 <xsl:call-template name="reference.titlepage.verso"/>
1076 <xsl:variable name="verso.elements.count">
1078 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1079 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1080 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1081 <xsl:otherwise>1</xsl:otherwise>
1084 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1085 <div><xsl:copy-of select="$verso.content"/></div>
1087 <xsl:call-template name="reference.titlepage.separator"/>
1091 <xsl:template match="*" mode="reference.titlepage.recto.mode">
1092 <!-- if an element isn't found in this mode, -->
1093 <!-- try the generic titlepage.mode -->
1094 <xsl:apply-templates select="." mode="titlepage.mode"/>
1097 <xsl:template match="*" mode="reference.titlepage.verso.mode">
1098 <!-- if an element isn't found in this mode, -->
1099 <!-- try the generic titlepage.mode -->
1100 <xsl:apply-templates select="." mode="titlepage.mode"/>
1103 <xsl:template match="title" mode="reference.titlepage.recto.auto.mode">
1104 <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1105 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1109 <xsl:template match="subtitle" mode="reference.titlepage.recto.auto.mode">
1110 <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1111 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1115 <xsl:template match="corpauthor" mode="reference.titlepage.recto.auto.mode">
1116 <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1117 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1121 <xsl:template match="authorgroup" mode="reference.titlepage.recto.auto.mode">
1122 <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1123 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1127 <xsl:template match="author" mode="reference.titlepage.recto.auto.mode">
1128 <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1129 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1133 <xsl:template match="othercredit" mode="reference.titlepage.recto.auto.mode">
1134 <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1135 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1139 <xsl:template match="releaseinfo" mode="reference.titlepage.recto.auto.mode">
1140 <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1141 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1145 <xsl:template match="copyright" mode="reference.titlepage.recto.auto.mode">
1146 <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1147 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1151 <xsl:template match="legalnotice" mode="reference.titlepage.recto.auto.mode">
1152 <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1153 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1157 <xsl:template match="pubdate" mode="reference.titlepage.recto.auto.mode">
1158 <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1159 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1163 <xsl:template match="revision" mode="reference.titlepage.recto.auto.mode">
1164 <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1165 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1169 <xsl:template match="revhistory" mode="reference.titlepage.recto.auto.mode">
1170 <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1171 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1175 <xsl:template match="abstract" mode="reference.titlepage.recto.auto.mode">
1176 <div xsl:use-attribute-sets="reference.titlepage.recto.style">
1177 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1181 <xsl:template name="refentry.titlepage.recto">
1184 <xsl:template name="refentry.titlepage.verso">
1187 <xsl:template name="refentry.titlepage.separator">
1190 <xsl:template name="refentry.titlepage.before.recto">
1193 <xsl:template name="refentry.titlepage.before.verso">
1196 <xsl:template name="refentry.titlepage">
1197 <div class="titlepage">
1198 <xsl:variable name="recto.content">
1199 <xsl:call-template name="refentry.titlepage.before.recto"/>
1200 <xsl:call-template name="refentry.titlepage.recto"/>
1202 <xsl:variable name="recto.elements.count">
1204 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1205 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1206 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1207 <xsl:otherwise>1</xsl:otherwise>
1210 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1211 <div><xsl:copy-of select="$recto.content"/></div>
1213 <xsl:variable name="verso.content">
1214 <xsl:call-template name="refentry.titlepage.before.verso"/>
1215 <xsl:call-template name="refentry.titlepage.verso"/>
1217 <xsl:variable name="verso.elements.count">
1219 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1220 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1221 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1222 <xsl:otherwise>1</xsl:otherwise>
1225 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1226 <div><xsl:copy-of select="$verso.content"/></div>
1228 <xsl:call-template name="refentry.titlepage.separator"/>
1232 <xsl:template match="*" mode="refentry.titlepage.recto.mode">
1233 <!-- if an element isn't found in this mode, -->
1234 <!-- try the generic titlepage.mode -->
1235 <xsl:apply-templates select="." mode="titlepage.mode"/>
1238 <xsl:template match="*" mode="refentry.titlepage.verso.mode">
1239 <!-- if an element isn't found in this mode, -->
1240 <!-- try the generic titlepage.mode -->
1241 <xsl:apply-templates select="." mode="titlepage.mode"/>
1244 <xsl:template name="dedication.titlepage.recto">
1245 <div xsl:use-attribute-sets="dedication.titlepage.recto.style">
1246 <xsl:call-template name="component.title">
1247 <xsl:with-param name="node" select="ancestor-or-self::dedication[1]"/>
1248 </xsl:call-template></div>
1250 <xsl:when test="dedicationinfo/subtitle">
1251 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="dedicationinfo/subtitle"/>
1253 <xsl:when test="docinfo/subtitle">
1254 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
1256 <xsl:when test="info/subtitle">
1257 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="info/subtitle"/>
1259 <xsl:when test="subtitle">
1260 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="subtitle"/>
1266 <xsl:template name="dedication.titlepage.verso">
1269 <xsl:template name="dedication.titlepage.separator">
1272 <xsl:template name="dedication.titlepage.before.recto">
1275 <xsl:template name="dedication.titlepage.before.verso">
1278 <xsl:template name="dedication.titlepage">
1279 <div class="titlepage">
1280 <xsl:variable name="recto.content">
1281 <xsl:call-template name="dedication.titlepage.before.recto"/>
1282 <xsl:call-template name="dedication.titlepage.recto"/>
1284 <xsl:variable name="recto.elements.count">
1286 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1287 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1288 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1289 <xsl:otherwise>1</xsl:otherwise>
1292 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1293 <div><xsl:copy-of select="$recto.content"/></div>
1295 <xsl:variable name="verso.content">
1296 <xsl:call-template name="dedication.titlepage.before.verso"/>
1297 <xsl:call-template name="dedication.titlepage.verso"/>
1299 <xsl:variable name="verso.elements.count">
1301 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1302 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1303 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1304 <xsl:otherwise>1</xsl:otherwise>
1307 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1308 <div><xsl:copy-of select="$verso.content"/></div>
1310 <xsl:call-template name="dedication.titlepage.separator"/>
1314 <xsl:template match="*" mode="dedication.titlepage.recto.mode">
1315 <!-- if an element isn't found in this mode, -->
1316 <!-- try the generic titlepage.mode -->
1317 <xsl:apply-templates select="." mode="titlepage.mode"/>
1320 <xsl:template match="*" mode="dedication.titlepage.verso.mode">
1321 <!-- if an element isn't found in this mode, -->
1322 <!-- try the generic titlepage.mode -->
1323 <xsl:apply-templates select="." mode="titlepage.mode"/>
1326 <xsl:template match="subtitle" mode="dedication.titlepage.recto.auto.mode">
1327 <div xsl:use-attribute-sets="dedication.titlepage.recto.style">
1328 <xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/>
1332 <xsl:template name="acknowledgements.titlepage.recto">
1333 <div xsl:use-attribute-sets="acknowledgements.titlepage.recto.style">
1334 <xsl:call-template name="component.title">
1335 <xsl:with-param name="node" select="ancestor-or-self::acknowledgements[1]"/>
1336 </xsl:call-template></div>
1338 <xsl:when test="acknowledgementsinfo/subtitle">
1339 <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="acknowledgementsinfo/subtitle"/>
1341 <xsl:when test="docinfo/subtitle">
1342 <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
1344 <xsl:when test="info/subtitle">
1345 <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="info/subtitle"/>
1347 <xsl:when test="subtitle">
1348 <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="subtitle"/>
1354 <xsl:template name="acknowledgements.titlepage.verso">
1357 <xsl:template name="acknowledgements.titlepage.separator">
1360 <xsl:template name="acknowledgements.titlepage.before.recto">
1363 <xsl:template name="acknowledgements.titlepage.before.verso">
1366 <xsl:template name="acknowledgements.titlepage">
1367 <div class="titlepage">
1368 <xsl:variable name="recto.content">
1369 <xsl:call-template name="acknowledgements.titlepage.before.recto"/>
1370 <xsl:call-template name="acknowledgements.titlepage.recto"/>
1372 <xsl:variable name="recto.elements.count">
1374 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1375 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1376 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1377 <xsl:otherwise>1</xsl:otherwise>
1380 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1381 <div><xsl:copy-of select="$recto.content"/></div>
1383 <xsl:variable name="verso.content">
1384 <xsl:call-template name="acknowledgements.titlepage.before.verso"/>
1385 <xsl:call-template name="acknowledgements.titlepage.verso"/>
1387 <xsl:variable name="verso.elements.count">
1389 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1390 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1391 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1392 <xsl:otherwise>1</xsl:otherwise>
1395 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1396 <div><xsl:copy-of select="$verso.content"/></div>
1398 <xsl:call-template name="acknowledgements.titlepage.separator"/>
1402 <xsl:template match="*" mode="acknowledgements.titlepage.recto.mode">
1403 <!-- if an element isn't found in this mode, -->
1404 <!-- try the generic titlepage.mode -->
1405 <xsl:apply-templates select="." mode="titlepage.mode"/>
1408 <xsl:template match="*" mode="acknowledgements.titlepage.verso.mode">
1409 <!-- if an element isn't found in this mode, -->
1410 <!-- try the generic titlepage.mode -->
1411 <xsl:apply-templates select="." mode="titlepage.mode"/>
1414 <xsl:template match="subtitle" mode="acknowledgements.titlepage.recto.auto.mode">
1415 <div xsl:use-attribute-sets="acknowledgements.titlepage.recto.style">
1416 <xsl:apply-templates select="." mode="acknowledgements.titlepage.recto.mode"/>
1420 <xsl:template name="preface.titlepage.recto">
1422 <xsl:when test="prefaceinfo/title">
1423 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/title"/>
1425 <xsl:when test="docinfo/title">
1426 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/title"/>
1428 <xsl:when test="info/title">
1429 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/title"/>
1431 <xsl:when test="title">
1432 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="title"/>
1437 <xsl:when test="prefaceinfo/subtitle">
1438 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/subtitle"/>
1440 <xsl:when test="docinfo/subtitle">
1441 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
1443 <xsl:when test="info/subtitle">
1444 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/subtitle"/>
1446 <xsl:when test="subtitle">
1447 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="subtitle"/>
1451 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/corpauthor"/>
1452 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
1453 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/corpauthor"/>
1454 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/authorgroup"/>
1455 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
1456 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/authorgroup"/>
1457 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/author"/>
1458 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/author"/>
1459 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/author"/>
1460 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/othercredit"/>
1461 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
1462 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/othercredit"/>
1463 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/releaseinfo"/>
1464 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
1465 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/releaseinfo"/>
1466 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/copyright"/>
1467 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/copyright"/>
1468 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/copyright"/>
1469 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/legalnotice"/>
1470 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
1471 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/legalnotice"/>
1472 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/pubdate"/>
1473 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
1474 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/pubdate"/>
1475 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revision"/>
1476 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revision"/>
1477 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revision"/>
1478 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revhistory"/>
1479 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
1480 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revhistory"/>
1481 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/abstract"/>
1482 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract"/>
1483 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/abstract"/>
1486 <xsl:template name="preface.titlepage.verso">
1489 <xsl:template name="preface.titlepage.separator">
1492 <xsl:template name="preface.titlepage.before.recto">
1495 <xsl:template name="preface.titlepage.before.verso">
1498 <xsl:template name="preface.titlepage">
1499 <div class="titlepage">
1500 <xsl:variable name="recto.content">
1501 <xsl:call-template name="preface.titlepage.before.recto"/>
1502 <xsl:call-template name="preface.titlepage.recto"/>
1504 <xsl:variable name="recto.elements.count">
1506 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1507 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1508 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1509 <xsl:otherwise>1</xsl:otherwise>
1512 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1513 <div><xsl:copy-of select="$recto.content"/></div>
1515 <xsl:variable name="verso.content">
1516 <xsl:call-template name="preface.titlepage.before.verso"/>
1517 <xsl:call-template name="preface.titlepage.verso"/>
1519 <xsl:variable name="verso.elements.count">
1521 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1522 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1523 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1524 <xsl:otherwise>1</xsl:otherwise>
1527 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1528 <div><xsl:copy-of select="$verso.content"/></div>
1530 <xsl:call-template name="preface.titlepage.separator"/>
1534 <xsl:template match="*" mode="preface.titlepage.recto.mode">
1535 <!-- if an element isn't found in this mode, -->
1536 <!-- try the generic titlepage.mode -->
1537 <xsl:apply-templates select="." mode="titlepage.mode"/>
1540 <xsl:template match="*" mode="preface.titlepage.verso.mode">
1541 <!-- if an element isn't found in this mode, -->
1542 <!-- try the generic titlepage.mode -->
1543 <xsl:apply-templates select="." mode="titlepage.mode"/>
1546 <xsl:template match="title" mode="preface.titlepage.recto.auto.mode">
1547 <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1548 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1552 <xsl:template match="subtitle" mode="preface.titlepage.recto.auto.mode">
1553 <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1554 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1558 <xsl:template match="corpauthor" mode="preface.titlepage.recto.auto.mode">
1559 <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1560 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1564 <xsl:template match="authorgroup" mode="preface.titlepage.recto.auto.mode">
1565 <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1566 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1570 <xsl:template match="author" mode="preface.titlepage.recto.auto.mode">
1571 <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1572 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1576 <xsl:template match="othercredit" mode="preface.titlepage.recto.auto.mode">
1577 <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1578 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1582 <xsl:template match="releaseinfo" mode="preface.titlepage.recto.auto.mode">
1583 <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1584 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1588 <xsl:template match="copyright" mode="preface.titlepage.recto.auto.mode">
1589 <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1590 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1594 <xsl:template match="legalnotice" mode="preface.titlepage.recto.auto.mode">
1595 <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1596 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1600 <xsl:template match="pubdate" mode="preface.titlepage.recto.auto.mode">
1601 <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1602 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1606 <xsl:template match="revision" mode="preface.titlepage.recto.auto.mode">
1607 <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1608 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1612 <xsl:template match="revhistory" mode="preface.titlepage.recto.auto.mode">
1613 <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1614 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1618 <xsl:template match="abstract" mode="preface.titlepage.recto.auto.mode">
1619 <div xsl:use-attribute-sets="preface.titlepage.recto.style">
1620 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1624 <xsl:template name="chapter.titlepage.recto">
1626 <xsl:when test="chapterinfo/title">
1627 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/title"/>
1629 <xsl:when test="docinfo/title">
1630 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/title"/>
1632 <xsl:when test="info/title">
1633 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/title"/>
1635 <xsl:when test="title">
1636 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="title"/>
1641 <xsl:when test="chapterinfo/subtitle">
1642 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/subtitle"/>
1644 <xsl:when test="docinfo/subtitle">
1645 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
1647 <xsl:when test="info/subtitle">
1648 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/subtitle"/>
1650 <xsl:when test="subtitle">
1651 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="subtitle"/>
1655 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/corpauthor"/>
1656 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
1657 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/corpauthor"/>
1658 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/authorgroup"/>
1659 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
1660 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/authorgroup"/>
1661 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/author"/>
1662 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/author"/>
1663 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/author"/>
1664 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/othercredit"/>
1665 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
1666 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/othercredit"/>
1667 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/releaseinfo"/>
1668 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
1669 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/releaseinfo"/>
1670 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/copyright"/>
1671 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/copyright"/>
1672 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/copyright"/>
1673 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/legalnotice"/>
1674 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
1675 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/legalnotice"/>
1676 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/pubdate"/>
1677 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
1678 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/pubdate"/>
1679 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revision"/>
1680 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revision"/>
1681 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revision"/>
1682 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revhistory"/>
1683 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
1684 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revhistory"/>
1685 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/abstract"/>
1686 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/abstract"/>
1687 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/abstract"/>
1690 <xsl:template name="chapter.titlepage.verso">
1693 <xsl:template name="chapter.titlepage.separator">
1696 <xsl:template name="chapter.titlepage.before.recto">
1699 <xsl:template name="chapter.titlepage.before.verso">
1702 <xsl:template name="chapter.titlepage">
1703 <div class="titlepage">
1704 <xsl:variable name="recto.content">
1705 <xsl:call-template name="chapter.titlepage.before.recto"/>
1706 <xsl:call-template name="chapter.titlepage.recto"/>
1708 <xsl:variable name="recto.elements.count">
1710 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1711 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1712 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1713 <xsl:otherwise>1</xsl:otherwise>
1716 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1717 <div><xsl:copy-of select="$recto.content"/></div>
1719 <xsl:variable name="verso.content">
1720 <xsl:call-template name="chapter.titlepage.before.verso"/>
1721 <xsl:call-template name="chapter.titlepage.verso"/>
1723 <xsl:variable name="verso.elements.count">
1725 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1726 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1727 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1728 <xsl:otherwise>1</xsl:otherwise>
1731 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1732 <div><xsl:copy-of select="$verso.content"/></div>
1734 <xsl:call-template name="chapter.titlepage.separator"/>
1738 <xsl:template match="*" mode="chapter.titlepage.recto.mode">
1739 <!-- if an element isn't found in this mode, -->
1740 <!-- try the generic titlepage.mode -->
1741 <xsl:apply-templates select="." mode="titlepage.mode"/>
1744 <xsl:template match="*" mode="chapter.titlepage.verso.mode">
1745 <!-- if an element isn't found in this mode, -->
1746 <!-- try the generic titlepage.mode -->
1747 <xsl:apply-templates select="." mode="titlepage.mode"/>
1750 <xsl:template match="title" mode="chapter.titlepage.recto.auto.mode">
1751 <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1752 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1756 <xsl:template match="subtitle" mode="chapter.titlepage.recto.auto.mode">
1757 <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1758 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1762 <xsl:template match="corpauthor" mode="chapter.titlepage.recto.auto.mode">
1763 <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1764 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1768 <xsl:template match="authorgroup" mode="chapter.titlepage.recto.auto.mode">
1769 <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1770 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1774 <xsl:template match="author" mode="chapter.titlepage.recto.auto.mode">
1775 <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1776 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1780 <xsl:template match="othercredit" mode="chapter.titlepage.recto.auto.mode">
1781 <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1782 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1786 <xsl:template match="releaseinfo" mode="chapter.titlepage.recto.auto.mode">
1787 <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1788 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1792 <xsl:template match="copyright" mode="chapter.titlepage.recto.auto.mode">
1793 <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1794 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1798 <xsl:template match="legalnotice" mode="chapter.titlepage.recto.auto.mode">
1799 <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1800 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1804 <xsl:template match="pubdate" mode="chapter.titlepage.recto.auto.mode">
1805 <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1806 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1810 <xsl:template match="revision" mode="chapter.titlepage.recto.auto.mode">
1811 <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1812 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1816 <xsl:template match="revhistory" mode="chapter.titlepage.recto.auto.mode">
1817 <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1818 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1822 <xsl:template match="abstract" mode="chapter.titlepage.recto.auto.mode">
1823 <div xsl:use-attribute-sets="chapter.titlepage.recto.style">
1824 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
1828 <xsl:template name="appendix.titlepage.recto">
1830 <xsl:when test="appendixinfo/title">
1831 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/title"/>
1833 <xsl:when test="docinfo/title">
1834 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/title"/>
1836 <xsl:when test="info/title">
1837 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/title"/>
1839 <xsl:when test="title">
1840 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="title"/>
1845 <xsl:when test="appendixinfo/subtitle">
1846 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/subtitle"/>
1848 <xsl:when test="docinfo/subtitle">
1849 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
1851 <xsl:when test="info/subtitle">
1852 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/subtitle"/>
1854 <xsl:when test="subtitle">
1855 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="subtitle"/>
1859 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/corpauthor"/>
1860 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
1861 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/corpauthor"/>
1862 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/authorgroup"/>
1863 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
1864 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/authorgroup"/>
1865 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/author"/>
1866 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/author"/>
1867 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/author"/>
1868 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/othercredit"/>
1869 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
1870 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/othercredit"/>
1871 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/releaseinfo"/>
1872 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
1873 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/releaseinfo"/>
1874 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/copyright"/>
1875 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/copyright"/>
1876 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/copyright"/>
1877 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/legalnotice"/>
1878 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
1879 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/legalnotice"/>
1880 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/pubdate"/>
1881 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
1882 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/pubdate"/>
1883 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revision"/>
1884 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revision"/>
1885 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revision"/>
1886 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revhistory"/>
1887 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
1888 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revhistory"/>
1889 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/abstract"/>
1890 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/abstract"/>
1891 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/abstract"/>
1894 <xsl:template name="appendix.titlepage.verso">
1897 <xsl:template name="appendix.titlepage.separator">
1900 <xsl:template name="appendix.titlepage.before.recto">
1903 <xsl:template name="appendix.titlepage.before.verso">
1906 <xsl:template name="appendix.titlepage">
1907 <div class="titlepage">
1908 <xsl:variable name="recto.content">
1909 <xsl:call-template name="appendix.titlepage.before.recto"/>
1910 <xsl:call-template name="appendix.titlepage.recto"/>
1912 <xsl:variable name="recto.elements.count">
1914 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1915 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1916 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1917 <xsl:otherwise>1</xsl:otherwise>
1920 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1921 <div><xsl:copy-of select="$recto.content"/></div>
1923 <xsl:variable name="verso.content">
1924 <xsl:call-template name="appendix.titlepage.before.verso"/>
1925 <xsl:call-template name="appendix.titlepage.verso"/>
1927 <xsl:variable name="verso.elements.count">
1929 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1930 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1931 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1932 <xsl:otherwise>1</xsl:otherwise>
1935 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1936 <div><xsl:copy-of select="$verso.content"/></div>
1938 <xsl:call-template name="appendix.titlepage.separator"/>
1942 <xsl:template match="*" mode="appendix.titlepage.recto.mode">
1943 <!-- if an element isn't found in this mode, -->
1944 <!-- try the generic titlepage.mode -->
1945 <xsl:apply-templates select="." mode="titlepage.mode"/>
1948 <xsl:template match="*" mode="appendix.titlepage.verso.mode">
1949 <!-- if an element isn't found in this mode, -->
1950 <!-- try the generic titlepage.mode -->
1951 <xsl:apply-templates select="." mode="titlepage.mode"/>
1954 <xsl:template match="title" mode="appendix.titlepage.recto.auto.mode">
1955 <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
1956 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
1960 <xsl:template match="subtitle" mode="appendix.titlepage.recto.auto.mode">
1961 <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
1962 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
1966 <xsl:template match="corpauthor" mode="appendix.titlepage.recto.auto.mode">
1967 <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
1968 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
1972 <xsl:template match="authorgroup" mode="appendix.titlepage.recto.auto.mode">
1973 <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
1974 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
1978 <xsl:template match="author" mode="appendix.titlepage.recto.auto.mode">
1979 <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
1980 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
1984 <xsl:template match="othercredit" mode="appendix.titlepage.recto.auto.mode">
1985 <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
1986 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
1990 <xsl:template match="releaseinfo" mode="appendix.titlepage.recto.auto.mode">
1991 <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
1992 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
1996 <xsl:template match="copyright" mode="appendix.titlepage.recto.auto.mode">
1997 <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
1998 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2002 <xsl:template match="legalnotice" mode="appendix.titlepage.recto.auto.mode">
2003 <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
2004 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2008 <xsl:template match="pubdate" mode="appendix.titlepage.recto.auto.mode">
2009 <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
2010 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2014 <xsl:template match="revision" mode="appendix.titlepage.recto.auto.mode">
2015 <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
2016 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2020 <xsl:template match="revhistory" mode="appendix.titlepage.recto.auto.mode">
2021 <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
2022 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2026 <xsl:template match="abstract" mode="appendix.titlepage.recto.auto.mode">
2027 <div xsl:use-attribute-sets="appendix.titlepage.recto.style">
2028 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2032 <xsl:template name="section.titlepage.recto">
2034 <xsl:when test="sectioninfo/title">
2035 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/title"/>
2037 <xsl:when test="info/title">
2038 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/title"/>
2040 <xsl:when test="title">
2041 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="title"/>
2046 <xsl:when test="sectioninfo/subtitle">
2047 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/subtitle"/>
2049 <xsl:when test="info/subtitle">
2050 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/subtitle"/>
2052 <xsl:when test="subtitle">
2053 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="subtitle"/>
2057 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/corpauthor"/>
2058 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/corpauthor"/>
2059 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/authorgroup"/>
2060 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/authorgroup"/>
2061 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/author"/>
2062 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/author"/>
2063 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/othercredit"/>
2064 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/othercredit"/>
2065 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/releaseinfo"/>
2066 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/releaseinfo"/>
2067 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/copyright"/>
2068 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/copyright"/>
2069 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/legalnotice"/>
2070 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/legalnotice"/>
2071 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/pubdate"/>
2072 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/pubdate"/>
2073 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revision"/>
2074 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revision"/>
2075 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revhistory"/>
2076 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revhistory"/>
2077 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/abstract"/>
2078 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/abstract"/>
2081 <xsl:template name="section.titlepage.verso">
2084 <xsl:template name="section.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
2087 <xsl:template name="section.titlepage.before.recto">
2090 <xsl:template name="section.titlepage.before.verso">
2093 <xsl:template name="section.titlepage">
2094 <div class="titlepage">
2095 <xsl:variable name="recto.content">
2096 <xsl:call-template name="section.titlepage.before.recto"/>
2097 <xsl:call-template name="section.titlepage.recto"/>
2099 <xsl:variable name="recto.elements.count">
2101 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2102 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2103 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2104 <xsl:otherwise>1</xsl:otherwise>
2107 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2108 <div><xsl:copy-of select="$recto.content"/></div>
2110 <xsl:variable name="verso.content">
2111 <xsl:call-template name="section.titlepage.before.verso"/>
2112 <xsl:call-template name="section.titlepage.verso"/>
2114 <xsl:variable name="verso.elements.count">
2116 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2117 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2118 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2119 <xsl:otherwise>1</xsl:otherwise>
2122 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2123 <div><xsl:copy-of select="$verso.content"/></div>
2125 <xsl:call-template name="section.titlepage.separator"/>
2129 <xsl:template match="*" mode="section.titlepage.recto.mode">
2130 <!-- if an element isn't found in this mode, -->
2131 <!-- try the generic titlepage.mode -->
2132 <xsl:apply-templates select="." mode="titlepage.mode"/>
2135 <xsl:template match="*" mode="section.titlepage.verso.mode">
2136 <!-- if an element isn't found in this mode, -->
2137 <!-- try the generic titlepage.mode -->
2138 <xsl:apply-templates select="." mode="titlepage.mode"/>
2141 <xsl:template match="title" mode="section.titlepage.recto.auto.mode">
2142 <div xsl:use-attribute-sets="section.titlepage.recto.style">
2143 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2147 <xsl:template match="subtitle" mode="section.titlepage.recto.auto.mode">
2148 <div xsl:use-attribute-sets="section.titlepage.recto.style">
2149 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2153 <xsl:template match="corpauthor" mode="section.titlepage.recto.auto.mode">
2154 <div xsl:use-attribute-sets="section.titlepage.recto.style">
2155 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2159 <xsl:template match="authorgroup" mode="section.titlepage.recto.auto.mode">
2160 <div xsl:use-attribute-sets="section.titlepage.recto.style">
2161 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2165 <xsl:template match="author" mode="section.titlepage.recto.auto.mode">
2166 <div xsl:use-attribute-sets="section.titlepage.recto.style">
2167 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2171 <xsl:template match="othercredit" mode="section.titlepage.recto.auto.mode">
2172 <div xsl:use-attribute-sets="section.titlepage.recto.style">
2173 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2177 <xsl:template match="releaseinfo" mode="section.titlepage.recto.auto.mode">
2178 <div xsl:use-attribute-sets="section.titlepage.recto.style">
2179 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2183 <xsl:template match="copyright" mode="section.titlepage.recto.auto.mode">
2184 <div xsl:use-attribute-sets="section.titlepage.recto.style">
2185 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2189 <xsl:template match="legalnotice" mode="section.titlepage.recto.auto.mode">
2190 <div xsl:use-attribute-sets="section.titlepage.recto.style">
2191 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2195 <xsl:template match="pubdate" mode="section.titlepage.recto.auto.mode">
2196 <div xsl:use-attribute-sets="section.titlepage.recto.style">
2197 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2201 <xsl:template match="revision" mode="section.titlepage.recto.auto.mode">
2202 <div xsl:use-attribute-sets="section.titlepage.recto.style">
2203 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2207 <xsl:template match="revhistory" mode="section.titlepage.recto.auto.mode">
2208 <div xsl:use-attribute-sets="section.titlepage.recto.style">
2209 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2213 <xsl:template match="abstract" mode="section.titlepage.recto.auto.mode">
2214 <div xsl:use-attribute-sets="section.titlepage.recto.style">
2215 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2219 <xsl:template name="sect1.titlepage.recto">
2221 <xsl:when test="sect1info/title">
2222 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/title"/>
2224 <xsl:when test="info/title">
2225 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/title"/>
2227 <xsl:when test="title">
2228 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="title"/>
2233 <xsl:when test="sect1info/subtitle">
2234 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/subtitle"/>
2236 <xsl:when test="info/subtitle">
2237 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/subtitle"/>
2239 <xsl:when test="subtitle">
2240 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="subtitle"/>
2244 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/corpauthor"/>
2245 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/corpauthor"/>
2246 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/authorgroup"/>
2247 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/authorgroup"/>
2248 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/author"/>
2249 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/author"/>
2250 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/othercredit"/>
2251 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/othercredit"/>
2252 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/releaseinfo"/>
2253 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/releaseinfo"/>
2254 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/copyright"/>
2255 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/copyright"/>
2256 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/legalnotice"/>
2257 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/legalnotice"/>
2258 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/pubdate"/>
2259 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/pubdate"/>
2260 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revision"/>
2261 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revision"/>
2262 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revhistory"/>
2263 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revhistory"/>
2264 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/abstract"/>
2265 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/abstract"/>
2268 <xsl:template name="sect1.titlepage.verso">
2271 <xsl:template name="sect1.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
2274 <xsl:template name="sect1.titlepage.before.recto">
2277 <xsl:template name="sect1.titlepage.before.verso">
2280 <xsl:template name="sect1.titlepage">
2281 <div class="titlepage">
2282 <xsl:variable name="recto.content">
2283 <xsl:call-template name="sect1.titlepage.before.recto"/>
2284 <xsl:call-template name="sect1.titlepage.recto"/>
2286 <xsl:variable name="recto.elements.count">
2288 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2289 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2290 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2291 <xsl:otherwise>1</xsl:otherwise>
2294 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2295 <div><xsl:copy-of select="$recto.content"/></div>
2297 <xsl:variable name="verso.content">
2298 <xsl:call-template name="sect1.titlepage.before.verso"/>
2299 <xsl:call-template name="sect1.titlepage.verso"/>
2301 <xsl:variable name="verso.elements.count">
2303 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2304 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2305 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2306 <xsl:otherwise>1</xsl:otherwise>
2309 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2310 <div><xsl:copy-of select="$verso.content"/></div>
2312 <xsl:call-template name="sect1.titlepage.separator"/>
2316 <xsl:template match="*" mode="sect1.titlepage.recto.mode">
2317 <!-- if an element isn't found in this mode, -->
2318 <!-- try the generic titlepage.mode -->
2319 <xsl:apply-templates select="." mode="titlepage.mode"/>
2322 <xsl:template match="*" mode="sect1.titlepage.verso.mode">
2323 <!-- if an element isn't found in this mode, -->
2324 <!-- try the generic titlepage.mode -->
2325 <xsl:apply-templates select="." mode="titlepage.mode"/>
2328 <xsl:template match="title" mode="sect1.titlepage.recto.auto.mode">
2329 <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2330 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2334 <xsl:template match="subtitle" mode="sect1.titlepage.recto.auto.mode">
2335 <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2336 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2340 <xsl:template match="corpauthor" mode="sect1.titlepage.recto.auto.mode">
2341 <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2342 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2346 <xsl:template match="authorgroup" mode="sect1.titlepage.recto.auto.mode">
2347 <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2348 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2352 <xsl:template match="author" mode="sect1.titlepage.recto.auto.mode">
2353 <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2354 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2358 <xsl:template match="othercredit" mode="sect1.titlepage.recto.auto.mode">
2359 <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2360 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2364 <xsl:template match="releaseinfo" mode="sect1.titlepage.recto.auto.mode">
2365 <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2366 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2370 <xsl:template match="copyright" mode="sect1.titlepage.recto.auto.mode">
2371 <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2372 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2376 <xsl:template match="legalnotice" mode="sect1.titlepage.recto.auto.mode">
2377 <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2378 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2382 <xsl:template match="pubdate" mode="sect1.titlepage.recto.auto.mode">
2383 <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2384 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2388 <xsl:template match="revision" mode="sect1.titlepage.recto.auto.mode">
2389 <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2390 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2394 <xsl:template match="revhistory" mode="sect1.titlepage.recto.auto.mode">
2395 <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2396 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2400 <xsl:template match="abstract" mode="sect1.titlepage.recto.auto.mode">
2401 <div xsl:use-attribute-sets="sect1.titlepage.recto.style">
2402 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2406 <xsl:template name="sect2.titlepage.recto">
2408 <xsl:when test="sect2info/title">
2409 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/title"/>
2411 <xsl:when test="info/title">
2412 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/title"/>
2414 <xsl:when test="title">
2415 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="title"/>
2420 <xsl:when test="sect2info/subtitle">
2421 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/subtitle"/>
2423 <xsl:when test="info/subtitle">
2424 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/subtitle"/>
2426 <xsl:when test="subtitle">
2427 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="subtitle"/>
2431 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/corpauthor"/>
2432 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/corpauthor"/>
2433 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/authorgroup"/>
2434 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/authorgroup"/>
2435 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/author"/>
2436 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/author"/>
2437 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/othercredit"/>
2438 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/othercredit"/>
2439 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/releaseinfo"/>
2440 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/releaseinfo"/>
2441 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/copyright"/>
2442 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/copyright"/>
2443 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/legalnotice"/>
2444 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/legalnotice"/>
2445 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/pubdate"/>
2446 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/pubdate"/>
2447 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revision"/>
2448 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revision"/>
2449 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revhistory"/>
2450 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revhistory"/>
2451 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/abstract"/>
2452 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/abstract"/>
2455 <xsl:template name="sect2.titlepage.verso">
2458 <xsl:template name="sect2.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
2461 <xsl:template name="sect2.titlepage.before.recto">
2464 <xsl:template name="sect2.titlepage.before.verso">
2467 <xsl:template name="sect2.titlepage">
2468 <div class="titlepage">
2469 <xsl:variable name="recto.content">
2470 <xsl:call-template name="sect2.titlepage.before.recto"/>
2471 <xsl:call-template name="sect2.titlepage.recto"/>
2473 <xsl:variable name="recto.elements.count">
2475 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2476 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2477 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2478 <xsl:otherwise>1</xsl:otherwise>
2481 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2482 <div><xsl:copy-of select="$recto.content"/></div>
2484 <xsl:variable name="verso.content">
2485 <xsl:call-template name="sect2.titlepage.before.verso"/>
2486 <xsl:call-template name="sect2.titlepage.verso"/>
2488 <xsl:variable name="verso.elements.count">
2490 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2491 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2492 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2493 <xsl:otherwise>1</xsl:otherwise>
2496 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2497 <div><xsl:copy-of select="$verso.content"/></div>
2499 <xsl:call-template name="sect2.titlepage.separator"/>
2503 <xsl:template match="*" mode="sect2.titlepage.recto.mode">
2504 <!-- if an element isn't found in this mode, -->
2505 <!-- try the generic titlepage.mode -->
2506 <xsl:apply-templates select="." mode="titlepage.mode"/>
2509 <xsl:template match="*" mode="sect2.titlepage.verso.mode">
2510 <!-- if an element isn't found in this mode, -->
2511 <!-- try the generic titlepage.mode -->
2512 <xsl:apply-templates select="." mode="titlepage.mode"/>
2515 <xsl:template match="title" mode="sect2.titlepage.recto.auto.mode">
2516 <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2517 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2521 <xsl:template match="subtitle" mode="sect2.titlepage.recto.auto.mode">
2522 <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2523 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2527 <xsl:template match="corpauthor" mode="sect2.titlepage.recto.auto.mode">
2528 <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2529 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2533 <xsl:template match="authorgroup" mode="sect2.titlepage.recto.auto.mode">
2534 <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2535 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2539 <xsl:template match="author" mode="sect2.titlepage.recto.auto.mode">
2540 <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2541 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2545 <xsl:template match="othercredit" mode="sect2.titlepage.recto.auto.mode">
2546 <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2547 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2551 <xsl:template match="releaseinfo" mode="sect2.titlepage.recto.auto.mode">
2552 <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2553 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2557 <xsl:template match="copyright" mode="sect2.titlepage.recto.auto.mode">
2558 <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2559 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2563 <xsl:template match="legalnotice" mode="sect2.titlepage.recto.auto.mode">
2564 <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2565 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2569 <xsl:template match="pubdate" mode="sect2.titlepage.recto.auto.mode">
2570 <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2571 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2575 <xsl:template match="revision" mode="sect2.titlepage.recto.auto.mode">
2576 <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2577 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2581 <xsl:template match="revhistory" mode="sect2.titlepage.recto.auto.mode">
2582 <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2583 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2587 <xsl:template match="abstract" mode="sect2.titlepage.recto.auto.mode">
2588 <div xsl:use-attribute-sets="sect2.titlepage.recto.style">
2589 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2593 <xsl:template name="sect3.titlepage.recto">
2595 <xsl:when test="sect3info/title">
2596 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/title"/>
2598 <xsl:when test="info/title">
2599 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/title"/>
2601 <xsl:when test="title">
2602 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="title"/>
2607 <xsl:when test="sect3info/subtitle">
2608 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/subtitle"/>
2610 <xsl:when test="info/subtitle">
2611 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/subtitle"/>
2613 <xsl:when test="subtitle">
2614 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="subtitle"/>
2618 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/corpauthor"/>
2619 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/corpauthor"/>
2620 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/authorgroup"/>
2621 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/authorgroup"/>
2622 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/author"/>
2623 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/author"/>
2624 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/othercredit"/>
2625 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/othercredit"/>
2626 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/releaseinfo"/>
2627 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/releaseinfo"/>
2628 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/copyright"/>
2629 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/copyright"/>
2630 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/legalnotice"/>
2631 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/legalnotice"/>
2632 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/pubdate"/>
2633 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/pubdate"/>
2634 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revision"/>
2635 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revision"/>
2636 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revhistory"/>
2637 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revhistory"/>
2638 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/abstract"/>
2639 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/abstract"/>
2642 <xsl:template name="sect3.titlepage.verso">
2645 <xsl:template name="sect3.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
2648 <xsl:template name="sect3.titlepage.before.recto">
2651 <xsl:template name="sect3.titlepage.before.verso">
2654 <xsl:template name="sect3.titlepage">
2655 <div class="titlepage">
2656 <xsl:variable name="recto.content">
2657 <xsl:call-template name="sect3.titlepage.before.recto"/>
2658 <xsl:call-template name="sect3.titlepage.recto"/>
2660 <xsl:variable name="recto.elements.count">
2662 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2663 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2664 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2665 <xsl:otherwise>1</xsl:otherwise>
2668 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2669 <div><xsl:copy-of select="$recto.content"/></div>
2671 <xsl:variable name="verso.content">
2672 <xsl:call-template name="sect3.titlepage.before.verso"/>
2673 <xsl:call-template name="sect3.titlepage.verso"/>
2675 <xsl:variable name="verso.elements.count">
2677 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2678 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2679 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2680 <xsl:otherwise>1</xsl:otherwise>
2683 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2684 <div><xsl:copy-of select="$verso.content"/></div>
2686 <xsl:call-template name="sect3.titlepage.separator"/>
2690 <xsl:template match="*" mode="sect3.titlepage.recto.mode">
2691 <!-- if an element isn't found in this mode, -->
2692 <!-- try the generic titlepage.mode -->
2693 <xsl:apply-templates select="." mode="titlepage.mode"/>
2696 <xsl:template match="*" mode="sect3.titlepage.verso.mode">
2697 <!-- if an element isn't found in this mode, -->
2698 <!-- try the generic titlepage.mode -->
2699 <xsl:apply-templates select="." mode="titlepage.mode"/>
2702 <xsl:template match="title" mode="sect3.titlepage.recto.auto.mode">
2703 <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2704 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2708 <xsl:template match="subtitle" mode="sect3.titlepage.recto.auto.mode">
2709 <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2710 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2714 <xsl:template match="corpauthor" mode="sect3.titlepage.recto.auto.mode">
2715 <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2716 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2720 <xsl:template match="authorgroup" mode="sect3.titlepage.recto.auto.mode">
2721 <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2722 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2726 <xsl:template match="author" mode="sect3.titlepage.recto.auto.mode">
2727 <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2728 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2732 <xsl:template match="othercredit" mode="sect3.titlepage.recto.auto.mode">
2733 <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2734 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2738 <xsl:template match="releaseinfo" mode="sect3.titlepage.recto.auto.mode">
2739 <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2740 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2744 <xsl:template match="copyright" mode="sect3.titlepage.recto.auto.mode">
2745 <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2746 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2750 <xsl:template match="legalnotice" mode="sect3.titlepage.recto.auto.mode">
2751 <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2752 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2756 <xsl:template match="pubdate" mode="sect3.titlepage.recto.auto.mode">
2757 <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2758 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2762 <xsl:template match="revision" mode="sect3.titlepage.recto.auto.mode">
2763 <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2764 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2768 <xsl:template match="revhistory" mode="sect3.titlepage.recto.auto.mode">
2769 <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2770 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2774 <xsl:template match="abstract" mode="sect3.titlepage.recto.auto.mode">
2775 <div xsl:use-attribute-sets="sect3.titlepage.recto.style">
2776 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
2780 <xsl:template name="sect4.titlepage.recto">
2782 <xsl:when test="sect4info/title">
2783 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/title"/>
2785 <xsl:when test="info/title">
2786 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/title"/>
2788 <xsl:when test="title">
2789 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="title"/>
2794 <xsl:when test="sect4info/subtitle">
2795 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/subtitle"/>
2797 <xsl:when test="info/subtitle">
2798 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/subtitle"/>
2800 <xsl:when test="subtitle">
2801 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="subtitle"/>
2805 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/corpauthor"/>
2806 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/corpauthor"/>
2807 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/authorgroup"/>
2808 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/authorgroup"/>
2809 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/author"/>
2810 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/author"/>
2811 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/othercredit"/>
2812 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/othercredit"/>
2813 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/releaseinfo"/>
2814 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/releaseinfo"/>
2815 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/copyright"/>
2816 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/copyright"/>
2817 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/legalnotice"/>
2818 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/legalnotice"/>
2819 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/pubdate"/>
2820 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/pubdate"/>
2821 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revision"/>
2822 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revision"/>
2823 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revhistory"/>
2824 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revhistory"/>
2825 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/abstract"/>
2826 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/abstract"/>
2829 <xsl:template name="sect4.titlepage.verso">
2832 <xsl:template name="sect4.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
2835 <xsl:template name="sect4.titlepage.before.recto">
2838 <xsl:template name="sect4.titlepage.before.verso">
2841 <xsl:template name="sect4.titlepage">
2842 <div class="titlepage">
2843 <xsl:variable name="recto.content">
2844 <xsl:call-template name="sect4.titlepage.before.recto"/>
2845 <xsl:call-template name="sect4.titlepage.recto"/>
2847 <xsl:variable name="recto.elements.count">
2849 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2850 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2851 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2852 <xsl:otherwise>1</xsl:otherwise>
2855 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2856 <div><xsl:copy-of select="$recto.content"/></div>
2858 <xsl:variable name="verso.content">
2859 <xsl:call-template name="sect4.titlepage.before.verso"/>
2860 <xsl:call-template name="sect4.titlepage.verso"/>
2862 <xsl:variable name="verso.elements.count">
2864 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2865 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2866 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2867 <xsl:otherwise>1</xsl:otherwise>
2870 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2871 <div><xsl:copy-of select="$verso.content"/></div>
2873 <xsl:call-template name="sect4.titlepage.separator"/>
2877 <xsl:template match="*" mode="sect4.titlepage.recto.mode">
2878 <!-- if an element isn't found in this mode, -->
2879 <!-- try the generic titlepage.mode -->
2880 <xsl:apply-templates select="." mode="titlepage.mode"/>
2883 <xsl:template match="*" mode="sect4.titlepage.verso.mode">
2884 <!-- if an element isn't found in this mode, -->
2885 <!-- try the generic titlepage.mode -->
2886 <xsl:apply-templates select="." mode="titlepage.mode"/>
2889 <xsl:template match="title" mode="sect4.titlepage.recto.auto.mode">
2890 <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2891 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2895 <xsl:template match="subtitle" mode="sect4.titlepage.recto.auto.mode">
2896 <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2897 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2901 <xsl:template match="corpauthor" mode="sect4.titlepage.recto.auto.mode">
2902 <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2903 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2907 <xsl:template match="authorgroup" mode="sect4.titlepage.recto.auto.mode">
2908 <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2909 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2913 <xsl:template match="author" mode="sect4.titlepage.recto.auto.mode">
2914 <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2915 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2919 <xsl:template match="othercredit" mode="sect4.titlepage.recto.auto.mode">
2920 <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2921 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2925 <xsl:template match="releaseinfo" mode="sect4.titlepage.recto.auto.mode">
2926 <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2927 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2931 <xsl:template match="copyright" mode="sect4.titlepage.recto.auto.mode">
2932 <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2933 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2937 <xsl:template match="legalnotice" mode="sect4.titlepage.recto.auto.mode">
2938 <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2939 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2943 <xsl:template match="pubdate" mode="sect4.titlepage.recto.auto.mode">
2944 <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2945 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2949 <xsl:template match="revision" mode="sect4.titlepage.recto.auto.mode">
2950 <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2951 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2955 <xsl:template match="revhistory" mode="sect4.titlepage.recto.auto.mode">
2956 <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2957 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2961 <xsl:template match="abstract" mode="sect4.titlepage.recto.auto.mode">
2962 <div xsl:use-attribute-sets="sect4.titlepage.recto.style">
2963 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
2967 <xsl:template name="sect5.titlepage.recto">
2969 <xsl:when test="sect5info/title">
2970 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/title"/>
2972 <xsl:when test="info/title">
2973 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/title"/>
2975 <xsl:when test="title">
2976 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="title"/>
2981 <xsl:when test="sect5info/subtitle">
2982 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/subtitle"/>
2984 <xsl:when test="info/subtitle">
2985 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/subtitle"/>
2987 <xsl:when test="subtitle">
2988 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="subtitle"/>
2992 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/corpauthor"/>
2993 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/corpauthor"/>
2994 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/authorgroup"/>
2995 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/authorgroup"/>
2996 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/author"/>
2997 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/author"/>
2998 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/othercredit"/>
2999 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/othercredit"/>
3000 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/releaseinfo"/>
3001 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/releaseinfo"/>
3002 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/copyright"/>
3003 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/copyright"/>
3004 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/legalnotice"/>
3005 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/legalnotice"/>
3006 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/pubdate"/>
3007 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/pubdate"/>
3008 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revision"/>
3009 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revision"/>
3010 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revhistory"/>
3011 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revhistory"/>
3012 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/abstract"/>
3013 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/abstract"/>
3016 <xsl:template name="sect5.titlepage.verso">
3019 <xsl:template name="sect5.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
3022 <xsl:template name="sect5.titlepage.before.recto">
3025 <xsl:template name="sect5.titlepage.before.verso">
3028 <xsl:template name="sect5.titlepage">
3029 <div class="titlepage">
3030 <xsl:variable name="recto.content">
3031 <xsl:call-template name="sect5.titlepage.before.recto"/>
3032 <xsl:call-template name="sect5.titlepage.recto"/>
3034 <xsl:variable name="recto.elements.count">
3036 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3037 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3038 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3039 <xsl:otherwise>1</xsl:otherwise>
3042 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3043 <div><xsl:copy-of select="$recto.content"/></div>
3045 <xsl:variable name="verso.content">
3046 <xsl:call-template name="sect5.titlepage.before.verso"/>
3047 <xsl:call-template name="sect5.titlepage.verso"/>
3049 <xsl:variable name="verso.elements.count">
3051 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3052 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3053 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3054 <xsl:otherwise>1</xsl:otherwise>
3057 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3058 <div><xsl:copy-of select="$verso.content"/></div>
3060 <xsl:call-template name="sect5.titlepage.separator"/>
3064 <xsl:template match="*" mode="sect5.titlepage.recto.mode">
3065 <!-- if an element isn't found in this mode, -->
3066 <!-- try the generic titlepage.mode -->
3067 <xsl:apply-templates select="." mode="titlepage.mode"/>
3070 <xsl:template match="*" mode="sect5.titlepage.verso.mode">
3071 <!-- if an element isn't found in this mode, -->
3072 <!-- try the generic titlepage.mode -->
3073 <xsl:apply-templates select="." mode="titlepage.mode"/>
3076 <xsl:template match="title" mode="sect5.titlepage.recto.auto.mode">
3077 <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3078 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3082 <xsl:template match="subtitle" mode="sect5.titlepage.recto.auto.mode">
3083 <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3084 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3088 <xsl:template match="corpauthor" mode="sect5.titlepage.recto.auto.mode">
3089 <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3090 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3094 <xsl:template match="authorgroup" mode="sect5.titlepage.recto.auto.mode">
3095 <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3096 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3100 <xsl:template match="author" mode="sect5.titlepage.recto.auto.mode">
3101 <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3102 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3106 <xsl:template match="othercredit" mode="sect5.titlepage.recto.auto.mode">
3107 <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3108 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3112 <xsl:template match="releaseinfo" mode="sect5.titlepage.recto.auto.mode">
3113 <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3114 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3118 <xsl:template match="copyright" mode="sect5.titlepage.recto.auto.mode">
3119 <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3120 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3124 <xsl:template match="legalnotice" mode="sect5.titlepage.recto.auto.mode">
3125 <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3126 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3130 <xsl:template match="pubdate" mode="sect5.titlepage.recto.auto.mode">
3131 <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3132 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3136 <xsl:template match="revision" mode="sect5.titlepage.recto.auto.mode">
3137 <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3138 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3142 <xsl:template match="revhistory" mode="sect5.titlepage.recto.auto.mode">
3143 <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3144 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3148 <xsl:template match="abstract" mode="sect5.titlepage.recto.auto.mode">
3149 <div xsl:use-attribute-sets="sect5.titlepage.recto.style">
3150 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3154 <xsl:template name="simplesect.titlepage.recto">
3156 <xsl:when test="simplesectinfo/title">
3157 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/title"/>
3159 <xsl:when test="docinfo/title">
3160 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/title"/>
3162 <xsl:when test="info/title">
3163 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/title"/>
3165 <xsl:when test="title">
3166 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="title"/>
3171 <xsl:when test="simplesectinfo/subtitle">
3172 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/subtitle"/>
3174 <xsl:when test="docinfo/subtitle">
3175 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3177 <xsl:when test="info/subtitle">
3178 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/subtitle"/>
3180 <xsl:when test="subtitle">
3181 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="subtitle"/>
3185 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/corpauthor"/>
3186 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
3187 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/corpauthor"/>
3188 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/authorgroup"/>
3189 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
3190 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/authorgroup"/>
3191 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/author"/>
3192 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/author"/>
3193 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/author"/>
3194 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/othercredit"/>
3195 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
3196 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/othercredit"/>
3197 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/releaseinfo"/>
3198 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
3199 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/releaseinfo"/>
3200 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/copyright"/>
3201 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/copyright"/>
3202 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/copyright"/>
3203 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/legalnotice"/>
3204 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
3205 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/legalnotice"/>
3206 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/pubdate"/>
3207 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
3208 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/pubdate"/>
3209 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revision"/>
3210 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revision"/>
3211 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revision"/>
3212 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revhistory"/>
3213 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
3214 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revhistory"/>
3215 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/abstract"/>
3216 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/abstract"/>
3217 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/abstract"/>
3220 <xsl:template name="simplesect.titlepage.verso">
3223 <xsl:template name="simplesect.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
3226 <xsl:template name="simplesect.titlepage.before.recto">
3229 <xsl:template name="simplesect.titlepage.before.verso">
3232 <xsl:template name="simplesect.titlepage">
3233 <div class="titlepage">
3234 <xsl:variable name="recto.content">
3235 <xsl:call-template name="simplesect.titlepage.before.recto"/>
3236 <xsl:call-template name="simplesect.titlepage.recto"/>
3238 <xsl:variable name="recto.elements.count">
3240 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3241 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3242 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3243 <xsl:otherwise>1</xsl:otherwise>
3246 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3247 <div><xsl:copy-of select="$recto.content"/></div>
3249 <xsl:variable name="verso.content">
3250 <xsl:call-template name="simplesect.titlepage.before.verso"/>
3251 <xsl:call-template name="simplesect.titlepage.verso"/>
3253 <xsl:variable name="verso.elements.count">
3255 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3256 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3257 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3258 <xsl:otherwise>1</xsl:otherwise>
3261 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3262 <div><xsl:copy-of select="$verso.content"/></div>
3264 <xsl:call-template name="simplesect.titlepage.separator"/>
3268 <xsl:template match="*" mode="simplesect.titlepage.recto.mode">
3269 <!-- if an element isn't found in this mode, -->
3270 <!-- try the generic titlepage.mode -->
3271 <xsl:apply-templates select="." mode="titlepage.mode"/>
3274 <xsl:template match="*" mode="simplesect.titlepage.verso.mode">
3275 <!-- if an element isn't found in this mode, -->
3276 <!-- try the generic titlepage.mode -->
3277 <xsl:apply-templates select="." mode="titlepage.mode"/>
3280 <xsl:template match="title" mode="simplesect.titlepage.recto.auto.mode">
3281 <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3282 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3286 <xsl:template match="subtitle" mode="simplesect.titlepage.recto.auto.mode">
3287 <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3288 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3292 <xsl:template match="corpauthor" mode="simplesect.titlepage.recto.auto.mode">
3293 <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3294 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3298 <xsl:template match="authorgroup" mode="simplesect.titlepage.recto.auto.mode">
3299 <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3300 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3304 <xsl:template match="author" mode="simplesect.titlepage.recto.auto.mode">
3305 <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3306 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3310 <xsl:template match="othercredit" mode="simplesect.titlepage.recto.auto.mode">
3311 <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3312 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3316 <xsl:template match="releaseinfo" mode="simplesect.titlepage.recto.auto.mode">
3317 <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3318 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3322 <xsl:template match="copyright" mode="simplesect.titlepage.recto.auto.mode">
3323 <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3324 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3328 <xsl:template match="legalnotice" mode="simplesect.titlepage.recto.auto.mode">
3329 <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3330 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3334 <xsl:template match="pubdate" mode="simplesect.titlepage.recto.auto.mode">
3335 <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3336 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3340 <xsl:template match="revision" mode="simplesect.titlepage.recto.auto.mode">
3341 <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3342 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3346 <xsl:template match="revhistory" mode="simplesect.titlepage.recto.auto.mode">
3347 <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3348 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3352 <xsl:template match="abstract" mode="simplesect.titlepage.recto.auto.mode">
3353 <div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3354 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3358 <xsl:template name="bibliography.titlepage.recto">
3359 <div xsl:use-attribute-sets="bibliography.titlepage.recto.style">
3360 <xsl:call-template name="component.title">
3361 <xsl:with-param name="node" select="ancestor-or-self::bibliography[1]"/>
3362 </xsl:call-template></div>
3364 <xsl:when test="bibliographyinfo/subtitle">
3365 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/subtitle"/>
3367 <xsl:when test="docinfo/subtitle">
3368 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3370 <xsl:when test="info/subtitle">
3371 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="info/subtitle"/>
3373 <xsl:when test="subtitle">
3374 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="subtitle"/>
3380 <xsl:template name="bibliography.titlepage.verso">
3383 <xsl:template name="bibliography.titlepage.separator">
3386 <xsl:template name="bibliography.titlepage.before.recto">
3389 <xsl:template name="bibliography.titlepage.before.verso">
3392 <xsl:template name="bibliography.titlepage">
3393 <div class="titlepage">
3394 <xsl:variable name="recto.content">
3395 <xsl:call-template name="bibliography.titlepage.before.recto"/>
3396 <xsl:call-template name="bibliography.titlepage.recto"/>
3398 <xsl:variable name="recto.elements.count">
3400 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3401 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3402 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3403 <xsl:otherwise>1</xsl:otherwise>
3406 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3407 <div><xsl:copy-of select="$recto.content"/></div>
3409 <xsl:variable name="verso.content">
3410 <xsl:call-template name="bibliography.titlepage.before.verso"/>
3411 <xsl:call-template name="bibliography.titlepage.verso"/>
3413 <xsl:variable name="verso.elements.count">
3415 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3416 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3417 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3418 <xsl:otherwise>1</xsl:otherwise>
3421 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3422 <div><xsl:copy-of select="$verso.content"/></div>
3424 <xsl:call-template name="bibliography.titlepage.separator"/>
3428 <xsl:template match="*" mode="bibliography.titlepage.recto.mode">
3429 <!-- if an element isn't found in this mode, -->
3430 <!-- try the generic titlepage.mode -->
3431 <xsl:apply-templates select="." mode="titlepage.mode"/>
3434 <xsl:template match="*" mode="bibliography.titlepage.verso.mode">
3435 <!-- if an element isn't found in this mode, -->
3436 <!-- try the generic titlepage.mode -->
3437 <xsl:apply-templates select="." mode="titlepage.mode"/>
3440 <xsl:template match="subtitle" mode="bibliography.titlepage.recto.auto.mode">
3441 <div xsl:use-attribute-sets="bibliography.titlepage.recto.style">
3442 <xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/>
3446 <xsl:template name="glossary.titlepage.recto">
3447 <div xsl:use-attribute-sets="glossary.titlepage.recto.style">
3448 <xsl:call-template name="component.title">
3449 <xsl:with-param name="node" select="ancestor-or-self::glossary[1]"/>
3450 </xsl:call-template></div>
3452 <xsl:when test="glossaryinfo/subtitle">
3453 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/subtitle"/>
3455 <xsl:when test="docinfo/subtitle">
3456 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3458 <xsl:when test="info/subtitle">
3459 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="info/subtitle"/>
3461 <xsl:when test="subtitle">
3462 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="subtitle"/>
3468 <xsl:template name="glossary.titlepage.verso">
3471 <xsl:template name="glossary.titlepage.separator">
3474 <xsl:template name="glossary.titlepage.before.recto">
3477 <xsl:template name="glossary.titlepage.before.verso">
3480 <xsl:template name="glossary.titlepage">
3481 <div class="titlepage">
3482 <xsl:variable name="recto.content">
3483 <xsl:call-template name="glossary.titlepage.before.recto"/>
3484 <xsl:call-template name="glossary.titlepage.recto"/>
3486 <xsl:variable name="recto.elements.count">
3488 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3489 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3490 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3491 <xsl:otherwise>1</xsl:otherwise>
3494 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3495 <div><xsl:copy-of select="$recto.content"/></div>
3497 <xsl:variable name="verso.content">
3498 <xsl:call-template name="glossary.titlepage.before.verso"/>
3499 <xsl:call-template name="glossary.titlepage.verso"/>
3501 <xsl:variable name="verso.elements.count">
3503 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3504 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3505 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3506 <xsl:otherwise>1</xsl:otherwise>
3509 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3510 <div><xsl:copy-of select="$verso.content"/></div>
3512 <xsl:call-template name="glossary.titlepage.separator"/>
3516 <xsl:template match="*" mode="glossary.titlepage.recto.mode">
3517 <!-- if an element isn't found in this mode, -->
3518 <!-- try the generic titlepage.mode -->
3519 <xsl:apply-templates select="." mode="titlepage.mode"/>
3522 <xsl:template match="*" mode="glossary.titlepage.verso.mode">
3523 <!-- if an element isn't found in this mode, -->
3524 <!-- try the generic titlepage.mode -->
3525 <xsl:apply-templates select="." mode="titlepage.mode"/>
3528 <xsl:template match="subtitle" mode="glossary.titlepage.recto.auto.mode">
3529 <div xsl:use-attribute-sets="glossary.titlepage.recto.style">
3530 <xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/>
3534 <xsl:template name="index.titlepage.recto">
3535 <div xsl:use-attribute-sets="index.titlepage.recto.style">
3536 <xsl:call-template name="component.title">
3537 <xsl:with-param name="node" select="ancestor-or-self::index[1]"/>
3538 </xsl:call-template></div>
3540 <xsl:when test="indexinfo/subtitle">
3541 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="indexinfo/subtitle"/>
3543 <xsl:when test="docinfo/subtitle">
3544 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3546 <xsl:when test="info/subtitle">
3547 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="info/subtitle"/>
3549 <xsl:when test="subtitle">
3550 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="subtitle"/>
3556 <xsl:template name="index.titlepage.verso">
3559 <xsl:template name="index.titlepage.separator">
3562 <xsl:template name="index.titlepage.before.recto">
3565 <xsl:template name="index.titlepage.before.verso">
3568 <xsl:template name="index.titlepage">
3569 <div class="titlepage">
3570 <xsl:variable name="recto.content">
3571 <xsl:call-template name="index.titlepage.before.recto"/>
3572 <xsl:call-template name="index.titlepage.recto"/>
3574 <xsl:variable name="recto.elements.count">
3576 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3577 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3578 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3579 <xsl:otherwise>1</xsl:otherwise>
3582 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3583 <div><xsl:copy-of select="$recto.content"/></div>
3585 <xsl:variable name="verso.content">
3586 <xsl:call-template name="index.titlepage.before.verso"/>
3587 <xsl:call-template name="index.titlepage.verso"/>
3589 <xsl:variable name="verso.elements.count">
3591 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3592 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3593 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3594 <xsl:otherwise>1</xsl:otherwise>
3597 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3598 <div><xsl:copy-of select="$verso.content"/></div>
3600 <xsl:call-template name="index.titlepage.separator"/>
3604 <xsl:template match="*" mode="index.titlepage.recto.mode">
3605 <!-- if an element isn't found in this mode, -->
3606 <!-- try the generic titlepage.mode -->
3607 <xsl:apply-templates select="." mode="titlepage.mode"/>
3610 <xsl:template match="*" mode="index.titlepage.verso.mode">
3611 <!-- if an element isn't found in this mode, -->
3612 <!-- try the generic titlepage.mode -->
3613 <xsl:apply-templates select="." mode="titlepage.mode"/>
3616 <xsl:template match="subtitle" mode="index.titlepage.recto.auto.mode">
3617 <div xsl:use-attribute-sets="index.titlepage.recto.style">
3618 <xsl:apply-templates select="." mode="index.titlepage.recto.mode"/>
3622 <xsl:template name="setindex.titlepage.recto">
3623 <div xsl:use-attribute-sets="setindex.titlepage.recto.style">
3624 <xsl:call-template name="component.title">
3625 <xsl:with-param name="node" select="ancestor-or-self::setindex[1]"/>
3626 </xsl:call-template></div>
3628 <xsl:when test="setindexinfo/subtitle">
3629 <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="setindexinfo/subtitle"/>
3631 <xsl:when test="docinfo/subtitle">
3632 <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3634 <xsl:when test="info/subtitle">
3635 <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="info/subtitle"/>
3637 <xsl:when test="subtitle">
3638 <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="subtitle"/>
3644 <xsl:template name="setindex.titlepage.verso">
3647 <xsl:template name="setindex.titlepage.separator">
3650 <xsl:template name="setindex.titlepage.before.recto">
3653 <xsl:template name="setindex.titlepage.before.verso">
3656 <xsl:template name="setindex.titlepage">
3657 <div class="titlepage">
3658 <xsl:variable name="recto.content">
3659 <xsl:call-template name="setindex.titlepage.before.recto"/>
3660 <xsl:call-template name="setindex.titlepage.recto"/>
3662 <xsl:variable name="recto.elements.count">
3664 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3665 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3666 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3667 <xsl:otherwise>1</xsl:otherwise>
3670 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3671 <div><xsl:copy-of select="$recto.content"/></div>
3673 <xsl:variable name="verso.content">
3674 <xsl:call-template name="setindex.titlepage.before.verso"/>
3675 <xsl:call-template name="setindex.titlepage.verso"/>
3677 <xsl:variable name="verso.elements.count">
3679 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3680 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3681 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3682 <xsl:otherwise>1</xsl:otherwise>
3685 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3686 <div><xsl:copy-of select="$verso.content"/></div>
3688 <xsl:call-template name="setindex.titlepage.separator"/>
3692 <xsl:template match="*" mode="setindex.titlepage.recto.mode">
3693 <!-- if an element isn't found in this mode, -->
3694 <!-- try the generic titlepage.mode -->
3695 <xsl:apply-templates select="." mode="titlepage.mode"/>
3698 <xsl:template match="*" mode="setindex.titlepage.verso.mode">
3699 <!-- if an element isn't found in this mode, -->
3700 <!-- try the generic titlepage.mode -->
3701 <xsl:apply-templates select="." mode="titlepage.mode"/>
3704 <xsl:template match="subtitle" mode="setindex.titlepage.recto.auto.mode">
3705 <div xsl:use-attribute-sets="setindex.titlepage.recto.style">
3706 <xsl:apply-templates select="." mode="setindex.titlepage.recto.mode"/>
3710 <xsl:template name="sidebar.titlepage.recto">
3712 <xsl:when test="sidebarinfo/title">
3713 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/title"/>
3715 <xsl:when test="docinfo/title">
3716 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/title"/>
3718 <xsl:when test="info/title">
3719 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/title"/>
3721 <xsl:when test="title">
3722 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="title"/>
3727 <xsl:when test="sidebarinfo/subtitle">
3728 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/subtitle"/>
3730 <xsl:when test="docinfo/subtitle">
3731 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3733 <xsl:when test="info/subtitle">
3734 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/subtitle"/>
3736 <xsl:when test="subtitle">
3737 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="subtitle"/>
3743 <xsl:template name="sidebar.titlepage.verso">
3746 <xsl:template name="sidebar.titlepage.separator">
3749 <xsl:template name="sidebar.titlepage.before.recto">
3752 <xsl:template name="sidebar.titlepage.before.verso">
3755 <xsl:template name="sidebar.titlepage">
3756 <div class="titlepage">
3757 <xsl:variable name="recto.content">
3758 <xsl:call-template name="sidebar.titlepage.before.recto"/>
3759 <xsl:call-template name="sidebar.titlepage.recto"/>
3761 <xsl:variable name="recto.elements.count">
3763 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3764 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3765 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3766 <xsl:otherwise>1</xsl:otherwise>
3769 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3770 <div><xsl:copy-of select="$recto.content"/></div>
3772 <xsl:variable name="verso.content">
3773 <xsl:call-template name="sidebar.titlepage.before.verso"/>
3774 <xsl:call-template name="sidebar.titlepage.verso"/>
3776 <xsl:variable name="verso.elements.count">
3778 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3779 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3780 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3781 <xsl:otherwise>1</xsl:otherwise>
3784 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3785 <div><xsl:copy-of select="$verso.content"/></div>
3787 <xsl:call-template name="sidebar.titlepage.separator"/>
3791 <xsl:template match="*" mode="sidebar.titlepage.recto.mode">
3792 <!-- if an element isn't found in this mode, -->
3793 <!-- try the generic titlepage.mode -->
3794 <xsl:apply-templates select="." mode="titlepage.mode"/>
3797 <xsl:template match="*" mode="sidebar.titlepage.verso.mode">
3798 <!-- if an element isn't found in this mode, -->
3799 <!-- try the generic titlepage.mode -->
3800 <xsl:apply-templates select="." mode="titlepage.mode"/>
3803 <xsl:template match="title" mode="sidebar.titlepage.recto.auto.mode">
3804 <div xsl:use-attribute-sets="sidebar.titlepage.recto.style">
3805 <xsl:call-template name="formal.object.heading">
3806 <xsl:with-param name="object" select="ancestor-or-self::sidebar[1]"/>
3807 </xsl:call-template>
3811 <xsl:template match="subtitle" mode="sidebar.titlepage.recto.auto.mode">
3812 <div xsl:use-attribute-sets="sidebar.titlepage.recto.style">
3813 <xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/>