3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" version="1.0" exclude-result-prefixes="exsl">
5 <!-- This stylesheet was created by template/titlepage.xsl-->
7 <xsl:template name="article.titlepage.recto">
9 <xsl:when test="articleinfo/title">
10 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/title"/>
12 <xsl:when test="artheader/title">
13 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/title"/>
15 <xsl:when test="info/title">
16 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/title"/>
18 <xsl:when test="title">
19 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="title"/>
24 <xsl:when test="articleinfo/subtitle">
25 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/subtitle"/>
27 <xsl:when test="artheader/subtitle">
28 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/subtitle"/>
30 <xsl:when test="info/subtitle">
31 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/subtitle"/>
33 <xsl:when test="subtitle">
34 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="subtitle"/>
38 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/corpauthor"/>
39 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/corpauthor"/>
40 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/corpauthor"/>
41 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/authorgroup"/>
42 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/authorgroup"/>
43 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/authorgroup"/>
44 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/author"/>
45 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/author"/>
46 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/author"/>
47 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/othercredit"/>
48 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/othercredit"/>
49 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/othercredit"/>
50 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/releaseinfo"/>
51 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/releaseinfo"/>
52 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/releaseinfo"/>
53 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/copyright"/>
54 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/copyright"/>
55 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/copyright"/>
56 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/legalnotice"/>
57 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/legalnotice"/>
58 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/legalnotice"/>
59 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/pubdate"/>
60 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/pubdate"/>
61 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/pubdate"/>
62 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revision"/>
63 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revision"/>
64 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revision"/>
65 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revhistory"/>
66 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revhistory"/>
67 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revhistory"/>
68 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/abstract"/>
69 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/abstract"/>
70 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/abstract"/>
73 <xsl:template name="article.titlepage.verso">
76 <xsl:template name="article.titlepage.separator">
79 <xsl:template name="article.titlepage.before.recto">
82 <xsl:template name="article.titlepage.before.verso">
85 <xsl:template name="article.titlepage">
86 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="{$title.fontset}">
87 <xsl:variable name="recto.content">
88 <xsl:call-template name="article.titlepage.before.recto"/>
89 <xsl:call-template name="article.titlepage.recto"/>
91 <xsl:variable name="recto.elements.count">
93 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
94 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
95 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
96 <xsl:otherwise>1</xsl:otherwise>
99 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
100 <fo:block start-indent="0pt" text-align="center"><xsl:copy-of select="$recto.content"/></fo:block>
102 <xsl:variable name="verso.content">
103 <xsl:call-template name="article.titlepage.before.verso"/>
104 <xsl:call-template name="article.titlepage.verso"/>
106 <xsl:variable name="verso.elements.count">
108 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
109 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
110 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
111 <xsl:otherwise>1</xsl:otherwise>
114 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
115 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
117 <xsl:call-template name="article.titlepage.separator"/>
121 <xsl:template match="*" mode="article.titlepage.recto.mode">
122 <!-- if an element isn't found in this mode, -->
123 <!-- try the generic titlepage.mode -->
124 <xsl:apply-templates select="." mode="titlepage.mode"/>
127 <xsl:template match="*" mode="article.titlepage.verso.mode">
128 <!-- if an element isn't found in this mode, -->
129 <!-- try the generic titlepage.mode -->
130 <xsl:apply-templates select="." mode="titlepage.mode"/>
133 <xsl:template match="title" mode="article.titlepage.recto.auto.mode">
134 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" keep-with-next.within-column="always" font-size="24.8832pt" font-weight="bold">
135 <xsl:call-template name="component.title">
136 <xsl:with-param name="node" select="ancestor-or-self::article[1]"/>
141 <xsl:template match="subtitle" mode="article.titlepage.recto.auto.mode">
142 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style">
143 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
147 <xsl:template match="corpauthor" mode="article.titlepage.recto.auto.mode">
148 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" font-size="14.4pt">
149 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
153 <xsl:template match="authorgroup" mode="article.titlepage.recto.auto.mode">
154 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" font-size="14.4pt">
155 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
159 <xsl:template match="author" mode="article.titlepage.recto.auto.mode">
160 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" font-size="14.4pt">
161 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
165 <xsl:template match="othercredit" mode="article.titlepage.recto.auto.mode">
166 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
167 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
171 <xsl:template match="releaseinfo" mode="article.titlepage.recto.auto.mode">
172 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
173 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
177 <xsl:template match="copyright" mode="article.titlepage.recto.auto.mode">
178 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
179 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
183 <xsl:template match="legalnotice" mode="article.titlepage.recto.auto.mode">
184 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}">
185 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
189 <xsl:template match="pubdate" mode="article.titlepage.recto.auto.mode">
190 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
191 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
195 <xsl:template match="revision" mode="article.titlepage.recto.auto.mode">
196 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
197 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
201 <xsl:template match="revhistory" mode="article.titlepage.recto.auto.mode">
202 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
203 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
207 <xsl:template match="abstract" mode="article.titlepage.recto.auto.mode">
208 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}">
209 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
213 <xsl:template name="set.titlepage.recto">
215 <xsl:when test="setinfo/title">
216 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/title"/>
218 <xsl:when test="info/title">
219 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/title"/>
221 <xsl:when test="title">
222 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="title"/>
227 <xsl:when test="setinfo/subtitle">
228 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/subtitle"/>
230 <xsl:when test="info/subtitle">
231 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/subtitle"/>
233 <xsl:when test="subtitle">
234 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="subtitle"/>
238 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/corpauthor"/>
239 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/corpauthor"/>
240 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/authorgroup"/>
241 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/authorgroup"/>
242 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/author"/>
243 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/author"/>
244 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/othercredit"/>
245 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/othercredit"/>
246 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/releaseinfo"/>
247 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/releaseinfo"/>
248 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/copyright"/>
249 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/copyright"/>
250 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/legalnotice"/>
251 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/legalnotice"/>
252 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/pubdate"/>
253 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/pubdate"/>
254 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revision"/>
255 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revision"/>
256 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revhistory"/>
257 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revhistory"/>
258 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/abstract"/>
259 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/abstract"/>
262 <xsl:template name="set.titlepage.verso">
265 <xsl:template name="set.titlepage.separator">
268 <xsl:template name="set.titlepage.before.recto">
271 <xsl:template name="set.titlepage.before.verso">
274 <xsl:template name="set.titlepage">
275 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
276 <xsl:variable name="recto.content">
277 <xsl:call-template name="set.titlepage.before.recto"/>
278 <xsl:call-template name="set.titlepage.recto"/>
280 <xsl:variable name="recto.elements.count">
282 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
283 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
284 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
285 <xsl:otherwise>1</xsl:otherwise>
288 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
289 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
291 <xsl:variable name="verso.content">
292 <xsl:call-template name="set.titlepage.before.verso"/>
293 <xsl:call-template name="set.titlepage.verso"/>
295 <xsl:variable name="verso.elements.count">
297 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
298 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
299 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
300 <xsl:otherwise>1</xsl:otherwise>
303 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
304 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
306 <xsl:call-template name="set.titlepage.separator"/>
310 <xsl:template match="*" mode="set.titlepage.recto.mode">
311 <!-- if an element isn't found in this mode, -->
312 <!-- try the generic titlepage.mode -->
313 <xsl:apply-templates select="." mode="titlepage.mode"/>
316 <xsl:template match="*" mode="set.titlepage.verso.mode">
317 <!-- if an element isn't found in this mode, -->
318 <!-- try the generic titlepage.mode -->
319 <xsl:apply-templates select="." mode="titlepage.mode"/>
322 <xsl:template match="title" mode="set.titlepage.recto.auto.mode">
323 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style" text-align="center" font-size="24.8832pt" space-before="18.6624pt" font-weight="bold" font-family="{$title.fontset}">
324 <xsl:call-template name="division.title">
325 <xsl:with-param name="node" select="ancestor-or-self::set[1]"/>
330 <xsl:template match="subtitle" mode="set.titlepage.recto.auto.mode">
331 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style" font-family="{$title.fontset}" text-align="center">
332 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
336 <xsl:template match="corpauthor" mode="set.titlepage.recto.auto.mode">
337 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
338 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
342 <xsl:template match="authorgroup" mode="set.titlepage.recto.auto.mode">
343 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
344 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
348 <xsl:template match="author" mode="set.titlepage.recto.auto.mode">
349 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
350 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
354 <xsl:template match="othercredit" mode="set.titlepage.recto.auto.mode">
355 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
356 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
360 <xsl:template match="releaseinfo" mode="set.titlepage.recto.auto.mode">
361 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
362 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
366 <xsl:template match="copyright" mode="set.titlepage.recto.auto.mode">
367 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
368 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
372 <xsl:template match="legalnotice" mode="set.titlepage.recto.auto.mode">
373 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
374 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
378 <xsl:template match="pubdate" mode="set.titlepage.recto.auto.mode">
379 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
380 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
384 <xsl:template match="revision" mode="set.titlepage.recto.auto.mode">
385 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
386 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
390 <xsl:template match="revhistory" mode="set.titlepage.recto.auto.mode">
391 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
392 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
396 <xsl:template match="abstract" mode="set.titlepage.recto.auto.mode">
397 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
398 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
402 <xsl:template name="book.titlepage.recto">
404 <xsl:when test="bookinfo/title">
405 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title"/>
407 <xsl:when test="info/title">
408 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/title"/>
410 <xsl:when test="title">
411 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title"/>
416 <xsl:when test="bookinfo/subtitle">
417 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle"/>
419 <xsl:when test="info/subtitle">
420 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/subtitle"/>
422 <xsl:when test="subtitle">
423 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle"/>
427 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/mediaobject"/>
428 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/mediaobject"/>
429 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/corpauthor"/>
430 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/corpauthor"/>
431 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/>
432 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/authorgroup"/>
433 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/>
434 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/author"/>
437 <xsl:template name="book.titlepage.verso">
439 <xsl:when test="bookinfo/title">
440 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/title"/>
442 <xsl:when test="info/title">
443 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/title"/>
445 <xsl:when test="title">
446 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="title"/>
450 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/corpauthor"/>
451 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/corpauthor"/>
452 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/authorgroup"/>
453 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/authorgroup"/>
454 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/author"/>
455 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/author"/>
456 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/othercredit"/>
457 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/othercredit"/>
458 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/releaseinfo"/>
459 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/releaseinfo"/>
460 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/pubdate"/>
461 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/pubdate"/>
462 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/copyright"/>
463 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/copyright"/>
464 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/abstract"/>
465 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/abstract"/>
466 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/legalnotice"/>
467 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/legalnotice"/>
470 <xsl:template name="book.titlepage.separator"><fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" break-after="page"/>
473 <xsl:template name="book.titlepage.before.recto">
476 <xsl:template name="book.titlepage.before.verso"><fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" break-after="page"/>
479 <xsl:template name="book.titlepage">
480 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
481 <xsl:variable name="recto.content">
482 <xsl:call-template name="book.titlepage.before.recto"/>
483 <xsl:call-template name="book.titlepage.recto"/>
485 <xsl:variable name="recto.elements.count">
487 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
488 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
489 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
490 <xsl:otherwise>1</xsl:otherwise>
493 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
494 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
496 <xsl:variable name="verso.content">
497 <xsl:call-template name="book.titlepage.before.verso"/>
498 <xsl:call-template name="book.titlepage.verso"/>
500 <xsl:variable name="verso.elements.count">
502 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
503 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
504 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
505 <xsl:otherwise>1</xsl:otherwise>
508 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
509 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
511 <xsl:call-template name="book.titlepage.separator"/>
515 <xsl:template match="*" mode="book.titlepage.recto.mode">
516 <!-- if an element isn't found in this mode, -->
517 <!-- try the generic titlepage.mode -->
518 <xsl:apply-templates select="." mode="titlepage.mode"/>
521 <xsl:template match="*" mode="book.titlepage.verso.mode">
522 <!-- if an element isn't found in this mode, -->
523 <!-- try the generic titlepage.mode -->
524 <xsl:apply-templates select="." mode="titlepage.mode"/>
527 <xsl:template match="title" mode="book.titlepage.recto.auto.mode">
528 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="24.8832pt" space-before="18.6624pt" font-weight="bold" font-family="{$title.fontset}">
529 <xsl:call-template name="division.title">
530 <xsl:with-param name="node" select="ancestor-or-self::book[1]"/>
535 <xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode">
536 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="20.736pt" space-before="15.552pt" font-family="{$title.fontset}">
537 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
541 <xsl:template match="mediaobject" mode="book.titlepage.recto.auto.mode">
542 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" space-before="2in" text-align="center">
543 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
547 <xsl:template match="corpauthor" mode="book.titlepage.recto.auto.mode">
548 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" font-size="17.28pt" keep-with-next.within-column="always" space-before="2in">
549 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
553 <xsl:template match="authorgroup" mode="book.titlepage.recto.auto.mode">
554 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" space-before="1.5in">
555 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
559 <xsl:template match="author" mode="book.titlepage.recto.auto.mode">
560 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" font-size="17.28pt" space-before="10.8pt" keep-with-next.within-column="always">
561 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
565 <xsl:template match="title" mode="book.titlepage.verso.auto.mode">
566 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" font-size="14.4pt" font-weight="bold" font-family="{$title.fontset}">
567 <xsl:call-template name="book.verso.title">
572 <xsl:template match="corpauthor" mode="book.titlepage.verso.auto.mode">
573 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style">
574 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
578 <xsl:template match="authorgroup" mode="book.titlepage.verso.auto.mode">
579 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style">
580 <xsl:call-template name="verso.authorgroup">
585 <xsl:template match="author" mode="book.titlepage.verso.auto.mode">
586 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style">
587 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
591 <xsl:template match="othercredit" mode="book.titlepage.verso.auto.mode">
592 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style">
593 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
597 <xsl:template match="releaseinfo" mode="book.titlepage.verso.auto.mode">
598 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" space-before="0.5em">
599 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
603 <xsl:template match="pubdate" mode="book.titlepage.verso.auto.mode">
604 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" space-before="1em">
605 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
609 <xsl:template match="copyright" mode="book.titlepage.verso.auto.mode">
610 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style">
611 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
615 <xsl:template match="abstract" mode="book.titlepage.verso.auto.mode">
616 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style">
617 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
621 <xsl:template match="legalnotice" mode="book.titlepage.verso.auto.mode">
622 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" font-size="8pt">
623 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
627 <xsl:template name="part.titlepage.recto">
629 <xsl:when test="partinfo/title">
630 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/title"/>
632 <xsl:when test="docinfo/title">
633 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/title"/>
635 <xsl:when test="info/title">
636 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/title"/>
638 <xsl:when test="title">
639 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="title"/>
644 <xsl:when test="partinfo/subtitle">
645 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/subtitle"/>
647 <xsl:when test="docinfo/subtitle">
648 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
650 <xsl:when test="info/subtitle">
651 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/subtitle"/>
653 <xsl:when test="subtitle">
654 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="subtitle"/>
660 <xsl:template name="part.titlepage.verso">
663 <xsl:template name="part.titlepage.separator">
666 <xsl:template name="part.titlepage.before.recto">
669 <xsl:template name="part.titlepage.before.verso">
672 <xsl:template name="part.titlepage">
673 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
674 <xsl:variable name="recto.content">
675 <xsl:call-template name="part.titlepage.before.recto"/>
676 <xsl:call-template name="part.titlepage.recto"/>
678 <xsl:variable name="recto.elements.count">
680 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
681 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
682 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
683 <xsl:otherwise>1</xsl:otherwise>
686 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
687 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
689 <xsl:variable name="verso.content">
690 <xsl:call-template name="part.titlepage.before.verso"/>
691 <xsl:call-template name="part.titlepage.verso"/>
693 <xsl:variable name="verso.elements.count">
695 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
696 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
697 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
698 <xsl:otherwise>1</xsl:otherwise>
701 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
702 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
704 <xsl:call-template name="part.titlepage.separator"/>
708 <xsl:template match="*" mode="part.titlepage.recto.mode">
709 <!-- if an element isn't found in this mode, -->
710 <!-- try the generic titlepage.mode -->
711 <xsl:apply-templates select="." mode="titlepage.mode"/>
714 <xsl:template match="*" mode="part.titlepage.verso.mode">
715 <!-- if an element isn't found in this mode, -->
716 <!-- try the generic titlepage.mode -->
717 <xsl:apply-templates select="." mode="titlepage.mode"/>
720 <xsl:template match="title" mode="part.titlepage.recto.auto.mode">
721 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="part.titlepage.recto.style" text-align="center" font-size="24.8832pt" space-before="18.6624pt" font-weight="bold" font-family="{$title.fontset}">
722 <xsl:call-template name="division.title">
723 <xsl:with-param name="node" select="ancestor-or-self::part[1]"/>
728 <xsl:template match="subtitle" mode="part.titlepage.recto.auto.mode">
729 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="part.titlepage.recto.style" text-align="center" font-size="20.736pt" space-before="15.552pt" font-weight="bold" font-style="italic" font-family="{$title.fontset}">
730 <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
734 <xsl:template name="partintro.titlepage.recto">
736 <xsl:when test="partintroinfo/title">
737 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/title"/>
739 <xsl:when test="docinfo/title">
740 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/title"/>
742 <xsl:when test="info/title">
743 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/title"/>
745 <xsl:when test="title">
746 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="title"/>
751 <xsl:when test="partintroinfo/subtitle">
752 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/subtitle"/>
754 <xsl:when test="docinfo/subtitle">
755 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
757 <xsl:when test="info/subtitle">
758 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/subtitle"/>
760 <xsl:when test="subtitle">
761 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="subtitle"/>
765 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/corpauthor"/>
766 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
767 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/corpauthor"/>
768 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/authorgroup"/>
769 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
770 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/authorgroup"/>
771 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/author"/>
772 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/author"/>
773 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/author"/>
774 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/othercredit"/>
775 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
776 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/othercredit"/>
777 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/releaseinfo"/>
778 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
779 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/releaseinfo"/>
780 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/copyright"/>
781 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/copyright"/>
782 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/copyright"/>
783 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/legalnotice"/>
784 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
785 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/legalnotice"/>
786 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/pubdate"/>
787 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
788 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/pubdate"/>
789 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revision"/>
790 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revision"/>
791 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revision"/>
792 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revhistory"/>
793 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
794 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revhistory"/>
795 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/abstract"/>
796 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/abstract"/>
797 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/abstract"/>
800 <xsl:template name="partintro.titlepage.verso">
803 <xsl:template name="partintro.titlepage.separator">
806 <xsl:template name="partintro.titlepage.before.recto">
809 <xsl:template name="partintro.titlepage.before.verso">
812 <xsl:template name="partintro.titlepage">
813 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
814 <xsl:variable name="recto.content">
815 <xsl:call-template name="partintro.titlepage.before.recto"/>
816 <xsl:call-template name="partintro.titlepage.recto"/>
818 <xsl:variable name="recto.elements.count">
820 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
821 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
822 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
823 <xsl:otherwise>1</xsl:otherwise>
826 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
827 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
829 <xsl:variable name="verso.content">
830 <xsl:call-template name="partintro.titlepage.before.verso"/>
831 <xsl:call-template name="partintro.titlepage.verso"/>
833 <xsl:variable name="verso.elements.count">
835 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
836 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
837 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
838 <xsl:otherwise>1</xsl:otherwise>
841 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
842 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
844 <xsl:call-template name="partintro.titlepage.separator"/>
848 <xsl:template match="*" mode="partintro.titlepage.recto.mode">
849 <!-- if an element isn't found in this mode, -->
850 <!-- try the generic titlepage.mode -->
851 <xsl:apply-templates select="." mode="titlepage.mode"/>
854 <xsl:template match="*" mode="partintro.titlepage.verso.mode">
855 <!-- if an element isn't found in this mode, -->
856 <!-- try the generic titlepage.mode -->
857 <xsl:apply-templates select="." mode="titlepage.mode"/>
860 <xsl:template match="title" mode="partintro.titlepage.recto.auto.mode">
861 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style" text-align="center" font-size="24.8832pt" font-weight="bold" space-before="1em" font-family="{$title.fontset}">
862 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
866 <xsl:template match="subtitle" mode="partintro.titlepage.recto.auto.mode">
867 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style" text-align="center" font-size="14.4pt" font-weight="bold" font-style="italic" font-family="{$title.fontset}">
868 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
872 <xsl:template match="corpauthor" mode="partintro.titlepage.recto.auto.mode">
873 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
874 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
878 <xsl:template match="authorgroup" mode="partintro.titlepage.recto.auto.mode">
879 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
880 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
884 <xsl:template match="author" mode="partintro.titlepage.recto.auto.mode">
885 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
886 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
890 <xsl:template match="othercredit" mode="partintro.titlepage.recto.auto.mode">
891 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
892 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
896 <xsl:template match="releaseinfo" mode="partintro.titlepage.recto.auto.mode">
897 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
898 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
902 <xsl:template match="copyright" mode="partintro.titlepage.recto.auto.mode">
903 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
904 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
908 <xsl:template match="legalnotice" mode="partintro.titlepage.recto.auto.mode">
909 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
910 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
914 <xsl:template match="pubdate" mode="partintro.titlepage.recto.auto.mode">
915 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
916 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
920 <xsl:template match="revision" mode="partintro.titlepage.recto.auto.mode">
921 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
922 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
926 <xsl:template match="revhistory" mode="partintro.titlepage.recto.auto.mode">
927 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
928 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
932 <xsl:template match="abstract" mode="partintro.titlepage.recto.auto.mode">
933 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
934 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
938 <xsl:template name="reference.titlepage.recto">
940 <xsl:when test="referenceinfo/title">
941 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/title"/>
943 <xsl:when test="docinfo/title">
944 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/title"/>
946 <xsl:when test="info/title">
947 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/title"/>
949 <xsl:when test="title">
950 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="title"/>
955 <xsl:when test="referenceinfo/subtitle">
956 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/subtitle"/>
958 <xsl:when test="docinfo/subtitle">
959 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
961 <xsl:when test="info/subtitle">
962 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/subtitle"/>
964 <xsl:when test="subtitle">
965 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="subtitle"/>
969 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/corpauthor"/>
970 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
971 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/corpauthor"/>
972 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/authorgroup"/>
973 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
974 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/authorgroup"/>
975 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/author"/>
976 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/author"/>
977 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/author"/>
978 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/othercredit"/>
979 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
980 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/othercredit"/>
981 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/releaseinfo"/>
982 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
983 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/releaseinfo"/>
984 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/copyright"/>
985 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/copyright"/>
986 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/copyright"/>
987 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/legalnotice"/>
988 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
989 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/legalnotice"/>
990 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/pubdate"/>
991 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
992 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/pubdate"/>
993 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revision"/>
994 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revision"/>
995 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revision"/>
996 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revhistory"/>
997 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
998 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revhistory"/>
999 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/abstract"/>
1000 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/abstract"/>
1001 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/abstract"/>
1004 <xsl:template name="reference.titlepage.verso">
1007 <xsl:template name="reference.titlepage.separator">
1010 <xsl:template name="reference.titlepage.before.recto">
1013 <xsl:template name="reference.titlepage.before.verso">
1016 <xsl:template name="reference.titlepage">
1017 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
1018 <xsl:variable name="recto.content">
1019 <xsl:call-template name="reference.titlepage.before.recto"/>
1020 <xsl:call-template name="reference.titlepage.recto"/>
1022 <xsl:variable name="recto.elements.count">
1024 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1025 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1026 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1027 <xsl:otherwise>1</xsl:otherwise>
1030 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1031 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1033 <xsl:variable name="verso.content">
1034 <xsl:call-template name="reference.titlepage.before.verso"/>
1035 <xsl:call-template name="reference.titlepage.verso"/>
1037 <xsl:variable name="verso.elements.count">
1039 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1040 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1041 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1042 <xsl:otherwise>1</xsl:otherwise>
1045 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1046 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1048 <xsl:call-template name="reference.titlepage.separator"/>
1052 <xsl:template match="*" mode="reference.titlepage.recto.mode">
1053 <!-- if an element isn't found in this mode, -->
1054 <!-- try the generic titlepage.mode -->
1055 <xsl:apply-templates select="." mode="titlepage.mode"/>
1058 <xsl:template match="*" mode="reference.titlepage.verso.mode">
1059 <!-- if an element isn't found in this mode, -->
1060 <!-- try the generic titlepage.mode -->
1061 <xsl:apply-templates select="." mode="titlepage.mode"/>
1064 <xsl:template match="title" mode="reference.titlepage.recto.auto.mode">
1065 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style" text-align="center" font-size="24.8832pt" space-before="18.6624pt" font-weight="bold" font-family="{$title.fontset}">
1066 <xsl:call-template name="division.title">
1067 <xsl:with-param name="node" select="ancestor-or-self::reference[1]"/>
1068 </xsl:call-template>
1072 <xsl:template match="subtitle" mode="reference.titlepage.recto.auto.mode">
1073 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style" font-family="{$title.fontset}" text-align="center">
1074 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1078 <xsl:template match="corpauthor" mode="reference.titlepage.recto.auto.mode">
1079 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1080 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1084 <xsl:template match="authorgroup" mode="reference.titlepage.recto.auto.mode">
1085 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1086 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1090 <xsl:template match="author" mode="reference.titlepage.recto.auto.mode">
1091 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1092 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1096 <xsl:template match="othercredit" mode="reference.titlepage.recto.auto.mode">
1097 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1098 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1102 <xsl:template match="releaseinfo" mode="reference.titlepage.recto.auto.mode">
1103 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1104 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1108 <xsl:template match="copyright" mode="reference.titlepage.recto.auto.mode">
1109 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1110 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1114 <xsl:template match="legalnotice" mode="reference.titlepage.recto.auto.mode">
1115 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1116 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1120 <xsl:template match="pubdate" mode="reference.titlepage.recto.auto.mode">
1121 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1122 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1126 <xsl:template match="revision" mode="reference.titlepage.recto.auto.mode">
1127 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1128 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1132 <xsl:template match="revhistory" mode="reference.titlepage.recto.auto.mode">
1133 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1134 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1138 <xsl:template match="abstract" mode="reference.titlepage.recto.auto.mode">
1139 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1140 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1144 <xsl:template name="refsynopsisdiv.titlepage.recto">
1146 <xsl:when test="refsynopsisdivinfo/title">
1147 <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="refsynopsisdivinfo/title"/>
1149 <xsl:when test="docinfo/title">
1150 <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="docinfo/title"/>
1152 <xsl:when test="info/title">
1153 <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="info/title"/>
1155 <xsl:when test="title">
1156 <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="title"/>
1162 <xsl:template name="refsynopsisdiv.titlepage.verso">
1165 <xsl:template name="refsynopsisdiv.titlepage.separator">
1168 <xsl:template name="refsynopsisdiv.titlepage.before.recto">
1171 <xsl:template name="refsynopsisdiv.titlepage.before.verso">
1174 <xsl:template name="refsynopsisdiv.titlepage">
1175 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
1176 <xsl:variable name="recto.content">
1177 <xsl:call-template name="refsynopsisdiv.titlepage.before.recto"/>
1178 <xsl:call-template name="refsynopsisdiv.titlepage.recto"/>
1180 <xsl:variable name="recto.elements.count">
1182 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1183 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1184 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1185 <xsl:otherwise>1</xsl:otherwise>
1188 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1189 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1191 <xsl:variable name="verso.content">
1192 <xsl:call-template name="refsynopsisdiv.titlepage.before.verso"/>
1193 <xsl:call-template name="refsynopsisdiv.titlepage.verso"/>
1195 <xsl:variable name="verso.elements.count">
1197 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1198 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1199 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1200 <xsl:otherwise>1</xsl:otherwise>
1203 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1204 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1206 <xsl:call-template name="refsynopsisdiv.titlepage.separator"/>
1210 <xsl:template match="*" mode="refsynopsisdiv.titlepage.recto.mode">
1211 <!-- if an element isn't found in this mode, -->
1212 <!-- try the generic titlepage.mode -->
1213 <xsl:apply-templates select="." mode="titlepage.mode"/>
1216 <xsl:template match="*" mode="refsynopsisdiv.titlepage.verso.mode">
1217 <!-- if an element isn't found in this mode, -->
1218 <!-- try the generic titlepage.mode -->
1219 <xsl:apply-templates select="." mode="titlepage.mode"/>
1222 <xsl:template match="title" mode="refsynopsisdiv.titlepage.recto.auto.mode">
1223 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsynopsisdiv.titlepage.recto.style" font-family="{$title.fontset}">
1224 <xsl:apply-templates select="." mode="refsynopsisdiv.titlepage.recto.mode"/>
1228 <xsl:template name="refsection.titlepage.recto">
1230 <xsl:when test="refsectioninfo/title">
1231 <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="refsectioninfo/title"/>
1233 <xsl:when test="docinfo/title">
1234 <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="docinfo/title"/>
1236 <xsl:when test="info/title">
1237 <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="info/title"/>
1239 <xsl:when test="title">
1240 <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="title"/>
1246 <xsl:template name="refsection.titlepage.verso">
1249 <xsl:template name="refsection.titlepage.separator">
1252 <xsl:template name="refsection.titlepage.before.recto">
1255 <xsl:template name="refsection.titlepage.before.verso">
1258 <xsl:template name="refsection.titlepage">
1259 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
1260 <xsl:variable name="recto.content">
1261 <xsl:call-template name="refsection.titlepage.before.recto"/>
1262 <xsl:call-template name="refsection.titlepage.recto"/>
1264 <xsl:variable name="recto.elements.count">
1266 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1267 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1268 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1269 <xsl:otherwise>1</xsl:otherwise>
1272 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1273 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1275 <xsl:variable name="verso.content">
1276 <xsl:call-template name="refsection.titlepage.before.verso"/>
1277 <xsl:call-template name="refsection.titlepage.verso"/>
1279 <xsl:variable name="verso.elements.count">
1281 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1282 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1283 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1284 <xsl:otherwise>1</xsl:otherwise>
1287 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1288 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1290 <xsl:call-template name="refsection.titlepage.separator"/>
1294 <xsl:template match="*" mode="refsection.titlepage.recto.mode">
1295 <!-- if an element isn't found in this mode, -->
1296 <!-- try the generic titlepage.mode -->
1297 <xsl:apply-templates select="." mode="titlepage.mode"/>
1300 <xsl:template match="*" mode="refsection.titlepage.verso.mode">
1301 <!-- if an element isn't found in this mode, -->
1302 <!-- try the generic titlepage.mode -->
1303 <xsl:apply-templates select="." mode="titlepage.mode"/>
1306 <xsl:template match="title" mode="refsection.titlepage.recto.auto.mode">
1307 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsection.titlepage.recto.style" font-family="{$title.fontset}">
1308 <xsl:apply-templates select="." mode="refsection.titlepage.recto.mode"/>
1312 <xsl:template name="refsect1.titlepage.recto">
1314 <xsl:when test="refsect1info/title">
1315 <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="refsect1info/title"/>
1317 <xsl:when test="docinfo/title">
1318 <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="docinfo/title"/>
1320 <xsl:when test="info/title">
1321 <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="info/title"/>
1323 <xsl:when test="title">
1324 <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="title"/>
1330 <xsl:template name="refsect1.titlepage.verso">
1333 <xsl:template name="refsect1.titlepage.separator">
1336 <xsl:template name="refsect1.titlepage.before.recto">
1339 <xsl:template name="refsect1.titlepage.before.verso">
1342 <xsl:template name="refsect1.titlepage">
1343 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
1344 <xsl:variable name="recto.content">
1345 <xsl:call-template name="refsect1.titlepage.before.recto"/>
1346 <xsl:call-template name="refsect1.titlepage.recto"/>
1348 <xsl:variable name="recto.elements.count">
1350 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1351 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1352 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1353 <xsl:otherwise>1</xsl:otherwise>
1356 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1357 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1359 <xsl:variable name="verso.content">
1360 <xsl:call-template name="refsect1.titlepage.before.verso"/>
1361 <xsl:call-template name="refsect1.titlepage.verso"/>
1363 <xsl:variable name="verso.elements.count">
1365 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1366 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1367 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1368 <xsl:otherwise>1</xsl:otherwise>
1371 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1372 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1374 <xsl:call-template name="refsect1.titlepage.separator"/>
1378 <xsl:template match="*" mode="refsect1.titlepage.recto.mode">
1379 <!-- if an element isn't found in this mode, -->
1380 <!-- try the generic titlepage.mode -->
1381 <xsl:apply-templates select="." mode="titlepage.mode"/>
1384 <xsl:template match="*" mode="refsect1.titlepage.verso.mode">
1385 <!-- if an element isn't found in this mode, -->
1386 <!-- try the generic titlepage.mode -->
1387 <xsl:apply-templates select="." mode="titlepage.mode"/>
1390 <xsl:template match="title" mode="refsect1.titlepage.recto.auto.mode">
1391 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect1.titlepage.recto.style" font-family="{$title.fontset}">
1392 <xsl:apply-templates select="." mode="refsect1.titlepage.recto.mode"/>
1396 <xsl:template name="refsect2.titlepage.recto">
1398 <xsl:when test="refsect2info/title">
1399 <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="refsect2info/title"/>
1401 <xsl:when test="docinfo/title">
1402 <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="docinfo/title"/>
1404 <xsl:when test="info/title">
1405 <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="info/title"/>
1407 <xsl:when test="title">
1408 <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="title"/>
1414 <xsl:template name="refsect2.titlepage.verso">
1417 <xsl:template name="refsect2.titlepage.separator">
1420 <xsl:template name="refsect2.titlepage.before.recto">
1423 <xsl:template name="refsect2.titlepage.before.verso">
1426 <xsl:template name="refsect2.titlepage">
1427 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
1428 <xsl:variable name="recto.content">
1429 <xsl:call-template name="refsect2.titlepage.before.recto"/>
1430 <xsl:call-template name="refsect2.titlepage.recto"/>
1432 <xsl:variable name="recto.elements.count">
1434 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1435 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1436 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1437 <xsl:otherwise>1</xsl:otherwise>
1440 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1441 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1443 <xsl:variable name="verso.content">
1444 <xsl:call-template name="refsect2.titlepage.before.verso"/>
1445 <xsl:call-template name="refsect2.titlepage.verso"/>
1447 <xsl:variable name="verso.elements.count">
1449 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1450 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1451 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1452 <xsl:otherwise>1</xsl:otherwise>
1455 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1456 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1458 <xsl:call-template name="refsect2.titlepage.separator"/>
1462 <xsl:template match="*" mode="refsect2.titlepage.recto.mode">
1463 <!-- if an element isn't found in this mode, -->
1464 <!-- try the generic titlepage.mode -->
1465 <xsl:apply-templates select="." mode="titlepage.mode"/>
1468 <xsl:template match="*" mode="refsect2.titlepage.verso.mode">
1469 <!-- if an element isn't found in this mode, -->
1470 <!-- try the generic titlepage.mode -->
1471 <xsl:apply-templates select="." mode="titlepage.mode"/>
1474 <xsl:template match="title" mode="refsect2.titlepage.recto.auto.mode">
1475 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect2.titlepage.recto.style" font-family="{$title.fontset}">
1476 <xsl:apply-templates select="." mode="refsect2.titlepage.recto.mode"/>
1480 <xsl:template name="refsect3.titlepage.recto">
1482 <xsl:when test="refsect3info/title">
1483 <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="refsect3info/title"/>
1485 <xsl:when test="docinfo/title">
1486 <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="docinfo/title"/>
1488 <xsl:when test="info/title">
1489 <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="info/title"/>
1491 <xsl:when test="title">
1492 <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="title"/>
1498 <xsl:template name="refsect3.titlepage.verso">
1501 <xsl:template name="refsect3.titlepage.separator">
1504 <xsl:template name="refsect3.titlepage.before.recto">
1507 <xsl:template name="refsect3.titlepage.before.verso">
1510 <xsl:template name="refsect3.titlepage">
1511 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
1512 <xsl:variable name="recto.content">
1513 <xsl:call-template name="refsect3.titlepage.before.recto"/>
1514 <xsl:call-template name="refsect3.titlepage.recto"/>
1516 <xsl:variable name="recto.elements.count">
1518 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1519 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1520 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1521 <xsl:otherwise>1</xsl:otherwise>
1524 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1525 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1527 <xsl:variable name="verso.content">
1528 <xsl:call-template name="refsect3.titlepage.before.verso"/>
1529 <xsl:call-template name="refsect3.titlepage.verso"/>
1531 <xsl:variable name="verso.elements.count">
1533 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1534 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1535 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1536 <xsl:otherwise>1</xsl:otherwise>
1539 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1540 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1542 <xsl:call-template name="refsect3.titlepage.separator"/>
1546 <xsl:template match="*" mode="refsect3.titlepage.recto.mode">
1547 <!-- if an element isn't found in this mode, -->
1548 <!-- try the generic titlepage.mode -->
1549 <xsl:apply-templates select="." mode="titlepage.mode"/>
1552 <xsl:template match="*" mode="refsect3.titlepage.verso.mode">
1553 <!-- if an element isn't found in this mode, -->
1554 <!-- try the generic titlepage.mode -->
1555 <xsl:apply-templates select="." mode="titlepage.mode"/>
1558 <xsl:template match="title" mode="refsect3.titlepage.recto.auto.mode">
1559 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect3.titlepage.recto.style" font-family="{$title.fontset}">
1560 <xsl:apply-templates select="." mode="refsect3.titlepage.recto.mode"/>
1564 <xsl:template name="dedication.titlepage.recto">
1565 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="dedication.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
1566 <xsl:call-template name="component.title">
1567 <xsl:with-param name="node" select="ancestor-or-self::dedication[1]"/>
1568 </xsl:call-template></fo:block>
1570 <xsl:when test="dedicationinfo/subtitle">
1571 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="dedicationinfo/subtitle"/>
1573 <xsl:when test="docinfo/subtitle">
1574 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
1576 <xsl:when test="info/subtitle">
1577 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="info/subtitle"/>
1579 <xsl:when test="subtitle">
1580 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="subtitle"/>
1586 <xsl:template name="dedication.titlepage.verso">
1589 <xsl:template name="dedication.titlepage.separator">
1592 <xsl:template name="dedication.titlepage.before.recto">
1595 <xsl:template name="dedication.titlepage.before.verso">
1598 <xsl:template name="dedication.titlepage">
1599 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
1600 <xsl:variable name="recto.content">
1601 <xsl:call-template name="dedication.titlepage.before.recto"/>
1602 <xsl:call-template name="dedication.titlepage.recto"/>
1604 <xsl:variable name="recto.elements.count">
1606 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1607 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1608 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1609 <xsl:otherwise>1</xsl:otherwise>
1612 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1613 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1615 <xsl:variable name="verso.content">
1616 <xsl:call-template name="dedication.titlepage.before.verso"/>
1617 <xsl:call-template name="dedication.titlepage.verso"/>
1619 <xsl:variable name="verso.elements.count">
1621 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1622 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1623 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1624 <xsl:otherwise>1</xsl:otherwise>
1627 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1628 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1630 <xsl:call-template name="dedication.titlepage.separator"/>
1634 <xsl:template match="*" mode="dedication.titlepage.recto.mode">
1635 <!-- if an element isn't found in this mode, -->
1636 <!-- try the generic titlepage.mode -->
1637 <xsl:apply-templates select="." mode="titlepage.mode"/>
1640 <xsl:template match="*" mode="dedication.titlepage.verso.mode">
1641 <!-- if an element isn't found in this mode, -->
1642 <!-- try the generic titlepage.mode -->
1643 <xsl:apply-templates select="." mode="titlepage.mode"/>
1646 <xsl:template match="subtitle" mode="dedication.titlepage.recto.auto.mode">
1647 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="dedication.titlepage.recto.style" font-family="{$title.fontset}">
1648 <xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/>
1652 <xsl:template name="acknowledgements.titlepage.recto">
1653 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="acknowledgements.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
1654 <xsl:call-template name="component.title">
1655 <xsl:with-param name="node" select="ancestor-or-self::acknowledgements[1]"/>
1656 </xsl:call-template></fo:block>
1658 <xsl:when test="acknowledgementsinfo/subtitle">
1659 <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="acknowledgementsinfo/subtitle"/>
1661 <xsl:when test="docinfo/subtitle">
1662 <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
1664 <xsl:when test="info/subtitle">
1665 <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="info/subtitle"/>
1667 <xsl:when test="subtitle">
1668 <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="subtitle"/>
1674 <xsl:template name="acknowledgements.titlepage.verso">
1677 <xsl:template name="acknowledgements.titlepage.separator">
1680 <xsl:template name="acknowledgements.titlepage.before.recto">
1683 <xsl:template name="acknowledgements.titlepage.before.verso">
1686 <xsl:template name="acknowledgements.titlepage">
1687 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
1688 <xsl:variable name="recto.content">
1689 <xsl:call-template name="acknowledgements.titlepage.before.recto"/>
1690 <xsl:call-template name="acknowledgements.titlepage.recto"/>
1692 <xsl:variable name="recto.elements.count">
1694 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1695 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1696 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1697 <xsl:otherwise>1</xsl:otherwise>
1700 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1701 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1703 <xsl:variable name="verso.content">
1704 <xsl:call-template name="acknowledgements.titlepage.before.verso"/>
1705 <xsl:call-template name="acknowledgements.titlepage.verso"/>
1707 <xsl:variable name="verso.elements.count">
1709 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1710 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1711 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1712 <xsl:otherwise>1</xsl:otherwise>
1715 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1716 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1718 <xsl:call-template name="acknowledgements.titlepage.separator"/>
1722 <xsl:template match="*" mode="acknowledgements.titlepage.recto.mode">
1723 <!-- if an element isn't found in this mode, -->
1724 <!-- try the generic titlepage.mode -->
1725 <xsl:apply-templates select="." mode="titlepage.mode"/>
1728 <xsl:template match="*" mode="acknowledgements.titlepage.verso.mode">
1729 <!-- if an element isn't found in this mode, -->
1730 <!-- try the generic titlepage.mode -->
1731 <xsl:apply-templates select="." mode="titlepage.mode"/>
1734 <xsl:template match="subtitle" mode="acknowledgements.titlepage.recto.auto.mode">
1735 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="acknowledgements.titlepage.recto.style" font-family="{$title.fontset}">
1736 <xsl:apply-templates select="." mode="acknowledgements.titlepage.recto.mode"/>
1740 <xsl:template name="preface.titlepage.recto">
1741 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
1742 <xsl:call-template name="component.title">
1743 <xsl:with-param name="node" select="ancestor-or-self::preface[1]"/>
1744 </xsl:call-template></fo:block>
1746 <xsl:when test="prefaceinfo/subtitle">
1747 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/subtitle"/>
1749 <xsl:when test="docinfo/subtitle">
1750 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
1752 <xsl:when test="info/subtitle">
1753 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/subtitle"/>
1755 <xsl:when test="subtitle">
1756 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="subtitle"/>
1760 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/corpauthor"/>
1761 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
1762 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/corpauthor"/>
1763 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/authorgroup"/>
1764 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
1765 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/authorgroup"/>
1766 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/author"/>
1767 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/author"/>
1768 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/author"/>
1769 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/othercredit"/>
1770 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
1771 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/othercredit"/>
1772 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/releaseinfo"/>
1773 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
1774 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/releaseinfo"/>
1775 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/copyright"/>
1776 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/copyright"/>
1777 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/copyright"/>
1778 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/legalnotice"/>
1779 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
1780 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/legalnotice"/>
1781 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/pubdate"/>
1782 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
1783 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/pubdate"/>
1784 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revision"/>
1785 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revision"/>
1786 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revision"/>
1787 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revhistory"/>
1788 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
1789 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revhistory"/>
1790 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/abstract"/>
1791 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract"/>
1792 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/abstract"/>
1795 <xsl:template name="preface.titlepage.verso">
1798 <xsl:template name="preface.titlepage.separator">
1801 <xsl:template name="preface.titlepage.before.recto">
1804 <xsl:template name="preface.titlepage.before.verso">
1807 <xsl:template name="preface.titlepage">
1808 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
1809 <xsl:variable name="recto.content">
1810 <xsl:call-template name="preface.titlepage.before.recto"/>
1811 <xsl:call-template name="preface.titlepage.recto"/>
1813 <xsl:variable name="recto.elements.count">
1815 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1816 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1817 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1818 <xsl:otherwise>1</xsl:otherwise>
1821 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1822 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1824 <xsl:variable name="verso.content">
1825 <xsl:call-template name="preface.titlepage.before.verso"/>
1826 <xsl:call-template name="preface.titlepage.verso"/>
1828 <xsl:variable name="verso.elements.count">
1830 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1831 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1832 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1833 <xsl:otherwise>1</xsl:otherwise>
1836 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1837 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1839 <xsl:call-template name="preface.titlepage.separator"/>
1843 <xsl:template match="*" mode="preface.titlepage.recto.mode">
1844 <!-- if an element isn't found in this mode, -->
1845 <!-- try the generic titlepage.mode -->
1846 <xsl:apply-templates select="." mode="titlepage.mode"/>
1849 <xsl:template match="*" mode="preface.titlepage.verso.mode">
1850 <!-- if an element isn't found in this mode, -->
1851 <!-- try the generic titlepage.mode -->
1852 <xsl:apply-templates select="." mode="titlepage.mode"/>
1855 <xsl:template match="subtitle" mode="preface.titlepage.recto.auto.mode">
1856 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style" font-family="{$title.fontset}">
1857 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1861 <xsl:template match="corpauthor" mode="preface.titlepage.recto.auto.mode">
1862 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1863 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1867 <xsl:template match="authorgroup" mode="preface.titlepage.recto.auto.mode">
1868 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1869 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1873 <xsl:template match="author" mode="preface.titlepage.recto.auto.mode">
1874 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1875 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1879 <xsl:template match="othercredit" mode="preface.titlepage.recto.auto.mode">
1880 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1881 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1885 <xsl:template match="releaseinfo" mode="preface.titlepage.recto.auto.mode">
1886 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1887 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1891 <xsl:template match="copyright" mode="preface.titlepage.recto.auto.mode">
1892 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1893 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1897 <xsl:template match="legalnotice" mode="preface.titlepage.recto.auto.mode">
1898 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1899 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1903 <xsl:template match="pubdate" mode="preface.titlepage.recto.auto.mode">
1904 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1905 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1909 <xsl:template match="revision" mode="preface.titlepage.recto.auto.mode">
1910 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1911 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1915 <xsl:template match="revhistory" mode="preface.titlepage.recto.auto.mode">
1916 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1917 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1921 <xsl:template match="abstract" mode="preface.titlepage.recto.auto.mode">
1922 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1923 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1927 <xsl:template name="chapter.titlepage.recto">
1929 <xsl:when test="chapterinfo/title">
1930 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/title"/>
1932 <xsl:when test="docinfo/title">
1933 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/title"/>
1935 <xsl:when test="info/title">
1936 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/title"/>
1938 <xsl:when test="title">
1939 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="title"/>
1944 <xsl:when test="chapterinfo/subtitle">
1945 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/subtitle"/>
1947 <xsl:when test="docinfo/subtitle">
1948 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
1950 <xsl:when test="info/subtitle">
1951 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/subtitle"/>
1953 <xsl:when test="subtitle">
1954 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="subtitle"/>
1958 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/corpauthor"/>
1959 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
1960 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/corpauthor"/>
1961 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/authorgroup"/>
1962 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
1963 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/authorgroup"/>
1964 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/author"/>
1965 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/author"/>
1966 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/author"/>
1967 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/othercredit"/>
1968 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
1969 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/othercredit"/>
1970 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/releaseinfo"/>
1971 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
1972 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/releaseinfo"/>
1973 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/copyright"/>
1974 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/copyright"/>
1975 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/copyright"/>
1976 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/legalnotice"/>
1977 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
1978 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/legalnotice"/>
1979 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/pubdate"/>
1980 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
1981 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/pubdate"/>
1982 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revision"/>
1983 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revision"/>
1984 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revision"/>
1985 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revhistory"/>
1986 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
1987 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revhistory"/>
1988 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/abstract"/>
1989 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/abstract"/>
1990 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/abstract"/>
1993 <xsl:template name="chapter.titlepage.verso">
1996 <xsl:template name="chapter.titlepage.separator">
1999 <xsl:template name="chapter.titlepage.before.recto">
2002 <xsl:template name="chapter.titlepage.before.verso">
2005 <xsl:template name="chapter.titlepage">
2006 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="{$title.fontset}">
2007 <xsl:variable name="recto.content">
2008 <xsl:call-template name="chapter.titlepage.before.recto"/>
2009 <xsl:call-template name="chapter.titlepage.recto"/>
2011 <xsl:variable name="recto.elements.count">
2013 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2014 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2015 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2016 <xsl:otherwise>1</xsl:otherwise>
2019 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2020 <fo:block margin-left="{$title.margin.left}"><xsl:copy-of select="$recto.content"/></fo:block>
2022 <xsl:variable name="verso.content">
2023 <xsl:call-template name="chapter.titlepage.before.verso"/>
2024 <xsl:call-template name="chapter.titlepage.verso"/>
2026 <xsl:variable name="verso.elements.count">
2028 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2029 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2030 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2031 <xsl:otherwise>1</xsl:otherwise>
2034 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2035 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
2037 <xsl:call-template name="chapter.titlepage.separator"/>
2041 <xsl:template match="*" mode="chapter.titlepage.recto.mode">
2042 <!-- if an element isn't found in this mode, -->
2043 <!-- try the generic titlepage.mode -->
2044 <xsl:apply-templates select="." mode="titlepage.mode"/>
2047 <xsl:template match="*" mode="chapter.titlepage.verso.mode">
2048 <!-- if an element isn't found in this mode, -->
2049 <!-- try the generic titlepage.mode -->
2050 <xsl:apply-templates select="." mode="titlepage.mode"/>
2053 <xsl:template match="title" mode="chapter.titlepage.recto.auto.mode">
2054 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" font-size="24.8832pt" font-weight="bold">
2055 <xsl:call-template name="component.title">
2056 <xsl:with-param name="node" select="ancestor-or-self::chapter[1]"/>
2057 </xsl:call-template>
2061 <xsl:template match="subtitle" mode="chapter.titlepage.recto.auto.mode">
2062 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" font-style="italic" font-size="14.4pt" font-weight="bold">
2063 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2067 <xsl:template match="corpauthor" mode="chapter.titlepage.recto.auto.mode">
2068 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" space-after="0.5em" font-size="14.4pt">
2069 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2073 <xsl:template match="authorgroup" mode="chapter.titlepage.recto.auto.mode">
2074 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" space-after="0.5em" font-size="14.4pt">
2075 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2079 <xsl:template match="author" mode="chapter.titlepage.recto.auto.mode">
2080 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" space-after="0.5em" font-size="14.4pt">
2081 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2085 <xsl:template match="othercredit" mode="chapter.titlepage.recto.auto.mode">
2086 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
2087 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2091 <xsl:template match="releaseinfo" mode="chapter.titlepage.recto.auto.mode">
2092 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
2093 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2097 <xsl:template match="copyright" mode="chapter.titlepage.recto.auto.mode">
2098 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
2099 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2103 <xsl:template match="legalnotice" mode="chapter.titlepage.recto.auto.mode">
2104 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
2105 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2109 <xsl:template match="pubdate" mode="chapter.titlepage.recto.auto.mode">
2110 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
2111 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2115 <xsl:template match="revision" mode="chapter.titlepage.recto.auto.mode">
2116 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
2117 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2121 <xsl:template match="revhistory" mode="chapter.titlepage.recto.auto.mode">
2122 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
2123 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2127 <xsl:template match="abstract" mode="chapter.titlepage.recto.auto.mode">
2128 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
2129 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2133 <xsl:template name="appendix.titlepage.recto">
2135 <xsl:when test="appendixinfo/title">
2136 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/title"/>
2138 <xsl:when test="docinfo/title">
2139 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/title"/>
2141 <xsl:when test="info/title">
2142 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/title"/>
2144 <xsl:when test="title">
2145 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="title"/>
2150 <xsl:when test="appendixinfo/subtitle">
2151 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/subtitle"/>
2153 <xsl:when test="docinfo/subtitle">
2154 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
2156 <xsl:when test="info/subtitle">
2157 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/subtitle"/>
2159 <xsl:when test="subtitle">
2160 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="subtitle"/>
2164 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/corpauthor"/>
2165 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
2166 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/corpauthor"/>
2167 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/authorgroup"/>
2168 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
2169 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/authorgroup"/>
2170 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/author"/>
2171 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/author"/>
2172 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/author"/>
2173 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/othercredit"/>
2174 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
2175 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/othercredit"/>
2176 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/releaseinfo"/>
2177 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
2178 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/releaseinfo"/>
2179 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/copyright"/>
2180 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/copyright"/>
2181 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/copyright"/>
2182 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/legalnotice"/>
2183 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
2184 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/legalnotice"/>
2185 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/pubdate"/>
2186 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
2187 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/pubdate"/>
2188 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revision"/>
2189 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revision"/>
2190 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revision"/>
2191 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revhistory"/>
2192 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
2193 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revhistory"/>
2194 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/abstract"/>
2195 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/abstract"/>
2196 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/abstract"/>
2199 <xsl:template name="appendix.titlepage.verso">
2202 <xsl:template name="appendix.titlepage.separator">
2205 <xsl:template name="appendix.titlepage.before.recto">
2208 <xsl:template name="appendix.titlepage.before.verso">
2211 <xsl:template name="appendix.titlepage">
2212 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
2213 <xsl:variable name="recto.content">
2214 <xsl:call-template name="appendix.titlepage.before.recto"/>
2215 <xsl:call-template name="appendix.titlepage.recto"/>
2217 <xsl:variable name="recto.elements.count">
2219 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2220 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2221 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2222 <xsl:otherwise>1</xsl:otherwise>
2225 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2226 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
2228 <xsl:variable name="verso.content">
2229 <xsl:call-template name="appendix.titlepage.before.verso"/>
2230 <xsl:call-template name="appendix.titlepage.verso"/>
2232 <xsl:variable name="verso.elements.count">
2234 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2235 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2236 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2237 <xsl:otherwise>1</xsl:otherwise>
2240 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2241 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
2243 <xsl:call-template name="appendix.titlepage.separator"/>
2247 <xsl:template match="*" mode="appendix.titlepage.recto.mode">
2248 <!-- if an element isn't found in this mode, -->
2249 <!-- try the generic titlepage.mode -->
2250 <xsl:apply-templates select="." mode="titlepage.mode"/>
2253 <xsl:template match="*" mode="appendix.titlepage.verso.mode">
2254 <!-- if an element isn't found in this mode, -->
2255 <!-- try the generic titlepage.mode -->
2256 <xsl:apply-templates select="." mode="titlepage.mode"/>
2259 <xsl:template match="title" mode="appendix.titlepage.recto.auto.mode">
2260 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-weight="bold" font-family="{$title.fontset}">
2261 <xsl:call-template name="component.title">
2262 <xsl:with-param name="node" select="ancestor-or-self::appendix[1]"/>
2263 </xsl:call-template>
2267 <xsl:template match="subtitle" mode="appendix.titlepage.recto.auto.mode">
2268 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style" font-family="{$title.fontset}">
2269 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2273 <xsl:template match="corpauthor" mode="appendix.titlepage.recto.auto.mode">
2274 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2275 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2279 <xsl:template match="authorgroup" mode="appendix.titlepage.recto.auto.mode">
2280 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2281 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2285 <xsl:template match="author" mode="appendix.titlepage.recto.auto.mode">
2286 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2287 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2291 <xsl:template match="othercredit" mode="appendix.titlepage.recto.auto.mode">
2292 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2293 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2297 <xsl:template match="releaseinfo" mode="appendix.titlepage.recto.auto.mode">
2298 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2299 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2303 <xsl:template match="copyright" mode="appendix.titlepage.recto.auto.mode">
2304 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2305 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2309 <xsl:template match="legalnotice" mode="appendix.titlepage.recto.auto.mode">
2310 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2311 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2315 <xsl:template match="pubdate" mode="appendix.titlepage.recto.auto.mode">
2316 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2317 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2321 <xsl:template match="revision" mode="appendix.titlepage.recto.auto.mode">
2322 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2323 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2327 <xsl:template match="revhistory" mode="appendix.titlepage.recto.auto.mode">
2328 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2329 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2333 <xsl:template match="abstract" mode="appendix.titlepage.recto.auto.mode">
2334 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2335 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2339 <xsl:template name="section.titlepage.recto">
2341 <xsl:when test="sectioninfo/title">
2342 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/title"/>
2344 <xsl:when test="info/title">
2345 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/title"/>
2347 <xsl:when test="title">
2348 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="title"/>
2353 <xsl:when test="sectioninfo/subtitle">
2354 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/subtitle"/>
2356 <xsl:when test="info/subtitle">
2357 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/subtitle"/>
2359 <xsl:when test="subtitle">
2360 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="subtitle"/>
2364 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/corpauthor"/>
2365 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/corpauthor"/>
2366 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/authorgroup"/>
2367 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/authorgroup"/>
2368 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/author"/>
2369 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/author"/>
2370 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/othercredit"/>
2371 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/othercredit"/>
2372 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/releaseinfo"/>
2373 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/releaseinfo"/>
2374 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/copyright"/>
2375 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/copyright"/>
2376 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/legalnotice"/>
2377 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/legalnotice"/>
2378 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/pubdate"/>
2379 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/pubdate"/>
2380 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revision"/>
2381 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revision"/>
2382 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revhistory"/>
2383 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revhistory"/>
2384 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/abstract"/>
2385 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/abstract"/>
2388 <xsl:template name="section.titlepage.verso">
2391 <xsl:template name="section.titlepage.separator">
2394 <xsl:template name="section.titlepage.before.recto">
2397 <xsl:template name="section.titlepage.before.verso">
2400 <xsl:template name="section.titlepage">
2401 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
2402 <xsl:variable name="recto.content">
2403 <xsl:call-template name="section.titlepage.before.recto"/>
2404 <xsl:call-template name="section.titlepage.recto"/>
2406 <xsl:variable name="recto.elements.count">
2408 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2409 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2410 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2411 <xsl:otherwise>1</xsl:otherwise>
2414 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2415 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
2417 <xsl:variable name="verso.content">
2418 <xsl:call-template name="section.titlepage.before.verso"/>
2419 <xsl:call-template name="section.titlepage.verso"/>
2421 <xsl:variable name="verso.elements.count">
2423 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2424 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2425 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2426 <xsl:otherwise>1</xsl:otherwise>
2429 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2430 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
2432 <xsl:call-template name="section.titlepage.separator"/>
2436 <xsl:template match="*" mode="section.titlepage.recto.mode">
2437 <!-- if an element isn't found in this mode, -->
2438 <!-- try the generic titlepage.mode -->
2439 <xsl:apply-templates select="." mode="titlepage.mode"/>
2442 <xsl:template match="*" mode="section.titlepage.verso.mode">
2443 <!-- if an element isn't found in this mode, -->
2444 <!-- try the generic titlepage.mode -->
2445 <xsl:apply-templates select="." mode="titlepage.mode"/>
2448 <xsl:template match="title" mode="section.titlepage.recto.auto.mode">
2449 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
2450 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2454 <xsl:template match="subtitle" mode="section.titlepage.recto.auto.mode">
2455 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style" font-family="{$title.fontset}">
2456 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2460 <xsl:template match="corpauthor" mode="section.titlepage.recto.auto.mode">
2461 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2462 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2466 <xsl:template match="authorgroup" mode="section.titlepage.recto.auto.mode">
2467 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2468 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2472 <xsl:template match="author" mode="section.titlepage.recto.auto.mode">
2473 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2474 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2478 <xsl:template match="othercredit" mode="section.titlepage.recto.auto.mode">
2479 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2480 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2484 <xsl:template match="releaseinfo" mode="section.titlepage.recto.auto.mode">
2485 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2486 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2490 <xsl:template match="copyright" mode="section.titlepage.recto.auto.mode">
2491 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2492 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2496 <xsl:template match="legalnotice" mode="section.titlepage.recto.auto.mode">
2497 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2498 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2502 <xsl:template match="pubdate" mode="section.titlepage.recto.auto.mode">
2503 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2504 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2508 <xsl:template match="revision" mode="section.titlepage.recto.auto.mode">
2509 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2510 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2514 <xsl:template match="revhistory" mode="section.titlepage.recto.auto.mode">
2515 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2516 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2520 <xsl:template match="abstract" mode="section.titlepage.recto.auto.mode">
2521 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2522 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2526 <xsl:template name="sect1.titlepage.recto">
2528 <xsl:when test="sect1info/title">
2529 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/title"/>
2531 <xsl:when test="info/title">
2532 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/title"/>
2534 <xsl:when test="title">
2535 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="title"/>
2540 <xsl:when test="sect1info/subtitle">
2541 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/subtitle"/>
2543 <xsl:when test="info/subtitle">
2544 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/subtitle"/>
2546 <xsl:when test="subtitle">
2547 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="subtitle"/>
2551 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/corpauthor"/>
2552 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/corpauthor"/>
2553 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/authorgroup"/>
2554 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/authorgroup"/>
2555 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/author"/>
2556 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/author"/>
2557 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/othercredit"/>
2558 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/othercredit"/>
2559 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/releaseinfo"/>
2560 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/releaseinfo"/>
2561 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/copyright"/>
2562 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/copyright"/>
2563 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/legalnotice"/>
2564 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/legalnotice"/>
2565 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/pubdate"/>
2566 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/pubdate"/>
2567 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revision"/>
2568 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revision"/>
2569 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revhistory"/>
2570 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revhistory"/>
2571 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/abstract"/>
2572 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/abstract"/>
2575 <xsl:template name="sect1.titlepage.verso">
2578 <xsl:template name="sect1.titlepage.separator">
2581 <xsl:template name="sect1.titlepage.before.recto">
2584 <xsl:template name="sect1.titlepage.before.verso">
2587 <xsl:template name="sect1.titlepage">
2588 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
2589 <xsl:variable name="recto.content">
2590 <xsl:call-template name="sect1.titlepage.before.recto"/>
2591 <xsl:call-template name="sect1.titlepage.recto"/>
2593 <xsl:variable name="recto.elements.count">
2595 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2596 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2597 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2598 <xsl:otherwise>1</xsl:otherwise>
2601 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2602 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
2604 <xsl:variable name="verso.content">
2605 <xsl:call-template name="sect1.titlepage.before.verso"/>
2606 <xsl:call-template name="sect1.titlepage.verso"/>
2608 <xsl:variable name="verso.elements.count">
2610 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2611 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2612 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2613 <xsl:otherwise>1</xsl:otherwise>
2616 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2617 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
2619 <xsl:call-template name="sect1.titlepage.separator"/>
2623 <xsl:template match="*" mode="sect1.titlepage.recto.mode">
2624 <!-- if an element isn't found in this mode, -->
2625 <!-- try the generic titlepage.mode -->
2626 <xsl:apply-templates select="." mode="titlepage.mode"/>
2629 <xsl:template match="*" mode="sect1.titlepage.verso.mode">
2630 <!-- if an element isn't found in this mode, -->
2631 <!-- try the generic titlepage.mode -->
2632 <xsl:apply-templates select="." mode="titlepage.mode"/>
2635 <xsl:template match="title" mode="sect1.titlepage.recto.auto.mode">
2636 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
2637 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2641 <xsl:template match="subtitle" mode="sect1.titlepage.recto.auto.mode">
2642 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style" font-family="{$title.fontset}">
2643 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2647 <xsl:template match="corpauthor" mode="sect1.titlepage.recto.auto.mode">
2648 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2649 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2653 <xsl:template match="authorgroup" mode="sect1.titlepage.recto.auto.mode">
2654 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2655 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2659 <xsl:template match="author" mode="sect1.titlepage.recto.auto.mode">
2660 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2661 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2665 <xsl:template match="othercredit" mode="sect1.titlepage.recto.auto.mode">
2666 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2667 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2671 <xsl:template match="releaseinfo" mode="sect1.titlepage.recto.auto.mode">
2672 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2673 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2677 <xsl:template match="copyright" mode="sect1.titlepage.recto.auto.mode">
2678 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2679 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2683 <xsl:template match="legalnotice" mode="sect1.titlepage.recto.auto.mode">
2684 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2685 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2689 <xsl:template match="pubdate" mode="sect1.titlepage.recto.auto.mode">
2690 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2691 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2695 <xsl:template match="revision" mode="sect1.titlepage.recto.auto.mode">
2696 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2697 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2701 <xsl:template match="revhistory" mode="sect1.titlepage.recto.auto.mode">
2702 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2703 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2707 <xsl:template match="abstract" mode="sect1.titlepage.recto.auto.mode">
2708 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2709 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2713 <xsl:template name="sect2.titlepage.recto">
2715 <xsl:when test="sect2info/title">
2716 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/title"/>
2718 <xsl:when test="info/title">
2719 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/title"/>
2721 <xsl:when test="title">
2722 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="title"/>
2727 <xsl:when test="sect2info/subtitle">
2728 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/subtitle"/>
2730 <xsl:when test="info/subtitle">
2731 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/subtitle"/>
2733 <xsl:when test="subtitle">
2734 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="subtitle"/>
2738 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/corpauthor"/>
2739 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/corpauthor"/>
2740 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/authorgroup"/>
2741 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/authorgroup"/>
2742 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/author"/>
2743 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/author"/>
2744 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/othercredit"/>
2745 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/othercredit"/>
2746 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/releaseinfo"/>
2747 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/releaseinfo"/>
2748 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/copyright"/>
2749 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/copyright"/>
2750 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/legalnotice"/>
2751 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/legalnotice"/>
2752 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/pubdate"/>
2753 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/pubdate"/>
2754 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revision"/>
2755 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revision"/>
2756 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revhistory"/>
2757 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revhistory"/>
2758 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/abstract"/>
2759 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/abstract"/>
2762 <xsl:template name="sect2.titlepage.verso">
2765 <xsl:template name="sect2.titlepage.separator">
2768 <xsl:template name="sect2.titlepage.before.recto">
2771 <xsl:template name="sect2.titlepage.before.verso">
2774 <xsl:template name="sect2.titlepage">
2775 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
2776 <xsl:variable name="recto.content">
2777 <xsl:call-template name="sect2.titlepage.before.recto"/>
2778 <xsl:call-template name="sect2.titlepage.recto"/>
2780 <xsl:variable name="recto.elements.count">
2782 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2783 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2784 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2785 <xsl:otherwise>1</xsl:otherwise>
2788 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2789 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
2791 <xsl:variable name="verso.content">
2792 <xsl:call-template name="sect2.titlepage.before.verso"/>
2793 <xsl:call-template name="sect2.titlepage.verso"/>
2795 <xsl:variable name="verso.elements.count">
2797 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2798 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2799 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2800 <xsl:otherwise>1</xsl:otherwise>
2803 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2804 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
2806 <xsl:call-template name="sect2.titlepage.separator"/>
2810 <xsl:template match="*" mode="sect2.titlepage.recto.mode">
2811 <!-- if an element isn't found in this mode, -->
2812 <!-- try the generic titlepage.mode -->
2813 <xsl:apply-templates select="." mode="titlepage.mode"/>
2816 <xsl:template match="*" mode="sect2.titlepage.verso.mode">
2817 <!-- if an element isn't found in this mode, -->
2818 <!-- try the generic titlepage.mode -->
2819 <xsl:apply-templates select="." mode="titlepage.mode"/>
2822 <xsl:template match="title" mode="sect2.titlepage.recto.auto.mode">
2823 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
2824 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2828 <xsl:template match="subtitle" mode="sect2.titlepage.recto.auto.mode">
2829 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style" font-family="{$title.fontset}">
2830 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2834 <xsl:template match="corpauthor" mode="sect2.titlepage.recto.auto.mode">
2835 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2836 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2840 <xsl:template match="authorgroup" mode="sect2.titlepage.recto.auto.mode">
2841 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2842 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2846 <xsl:template match="author" mode="sect2.titlepage.recto.auto.mode">
2847 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2848 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2852 <xsl:template match="othercredit" mode="sect2.titlepage.recto.auto.mode">
2853 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2854 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2858 <xsl:template match="releaseinfo" mode="sect2.titlepage.recto.auto.mode">
2859 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2860 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2864 <xsl:template match="copyright" mode="sect2.titlepage.recto.auto.mode">
2865 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2866 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2870 <xsl:template match="legalnotice" mode="sect2.titlepage.recto.auto.mode">
2871 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2872 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2876 <xsl:template match="pubdate" mode="sect2.titlepage.recto.auto.mode">
2877 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2878 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2882 <xsl:template match="revision" mode="sect2.titlepage.recto.auto.mode">
2883 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2884 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2888 <xsl:template match="revhistory" mode="sect2.titlepage.recto.auto.mode">
2889 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2890 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2894 <xsl:template match="abstract" mode="sect2.titlepage.recto.auto.mode">
2895 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2896 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2900 <xsl:template name="sect3.titlepage.recto">
2902 <xsl:when test="sect3info/title">
2903 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/title"/>
2905 <xsl:when test="info/title">
2906 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/title"/>
2908 <xsl:when test="title">
2909 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="title"/>
2914 <xsl:when test="sect3info/subtitle">
2915 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/subtitle"/>
2917 <xsl:when test="info/subtitle">
2918 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/subtitle"/>
2920 <xsl:when test="subtitle">
2921 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="subtitle"/>
2925 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/corpauthor"/>
2926 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/corpauthor"/>
2927 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/authorgroup"/>
2928 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/authorgroup"/>
2929 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/author"/>
2930 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/author"/>
2931 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/othercredit"/>
2932 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/othercredit"/>
2933 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/releaseinfo"/>
2934 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/releaseinfo"/>
2935 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/copyright"/>
2936 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/copyright"/>
2937 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/legalnotice"/>
2938 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/legalnotice"/>
2939 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/pubdate"/>
2940 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/pubdate"/>
2941 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revision"/>
2942 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revision"/>
2943 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revhistory"/>
2944 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revhistory"/>
2945 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/abstract"/>
2946 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/abstract"/>
2949 <xsl:template name="sect3.titlepage.verso">
2952 <xsl:template name="sect3.titlepage.separator">
2955 <xsl:template name="sect3.titlepage.before.recto">
2958 <xsl:template name="sect3.titlepage.before.verso">
2961 <xsl:template name="sect3.titlepage">
2962 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
2963 <xsl:variable name="recto.content">
2964 <xsl:call-template name="sect3.titlepage.before.recto"/>
2965 <xsl:call-template name="sect3.titlepage.recto"/>
2967 <xsl:variable name="recto.elements.count">
2969 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2970 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2971 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2972 <xsl:otherwise>1</xsl:otherwise>
2975 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2976 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
2978 <xsl:variable name="verso.content">
2979 <xsl:call-template name="sect3.titlepage.before.verso"/>
2980 <xsl:call-template name="sect3.titlepage.verso"/>
2982 <xsl:variable name="verso.elements.count">
2984 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2985 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2986 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2987 <xsl:otherwise>1</xsl:otherwise>
2990 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2991 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
2993 <xsl:call-template name="sect3.titlepage.separator"/>
2997 <xsl:template match="*" mode="sect3.titlepage.recto.mode">
2998 <!-- if an element isn't found in this mode, -->
2999 <!-- try the generic titlepage.mode -->
3000 <xsl:apply-templates select="." mode="titlepage.mode"/>
3003 <xsl:template match="*" mode="sect3.titlepage.verso.mode">
3004 <!-- if an element isn't found in this mode, -->
3005 <!-- try the generic titlepage.mode -->
3006 <xsl:apply-templates select="." mode="titlepage.mode"/>
3009 <xsl:template match="title" mode="sect3.titlepage.recto.auto.mode">
3010 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
3011 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3015 <xsl:template match="subtitle" mode="sect3.titlepage.recto.auto.mode">
3016 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style" font-family="{$title.fontset}">
3017 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3021 <xsl:template match="corpauthor" mode="sect3.titlepage.recto.auto.mode">
3022 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3023 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3027 <xsl:template match="authorgroup" mode="sect3.titlepage.recto.auto.mode">
3028 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3029 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3033 <xsl:template match="author" mode="sect3.titlepage.recto.auto.mode">
3034 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3035 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3039 <xsl:template match="othercredit" mode="sect3.titlepage.recto.auto.mode">
3040 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3041 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3045 <xsl:template match="releaseinfo" mode="sect3.titlepage.recto.auto.mode">
3046 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3047 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3051 <xsl:template match="copyright" mode="sect3.titlepage.recto.auto.mode">
3052 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3053 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3057 <xsl:template match="legalnotice" mode="sect3.titlepage.recto.auto.mode">
3058 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3059 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3063 <xsl:template match="pubdate" mode="sect3.titlepage.recto.auto.mode">
3064 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3065 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3069 <xsl:template match="revision" mode="sect3.titlepage.recto.auto.mode">
3070 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3071 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3075 <xsl:template match="revhistory" mode="sect3.titlepage.recto.auto.mode">
3076 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3077 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3081 <xsl:template match="abstract" mode="sect3.titlepage.recto.auto.mode">
3082 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3083 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3087 <xsl:template name="sect4.titlepage.recto">
3089 <xsl:when test="sect4info/title">
3090 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/title"/>
3092 <xsl:when test="info/title">
3093 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/title"/>
3095 <xsl:when test="title">
3096 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="title"/>
3101 <xsl:when test="sect4info/subtitle">
3102 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/subtitle"/>
3104 <xsl:when test="info/subtitle">
3105 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/subtitle"/>
3107 <xsl:when test="subtitle">
3108 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="subtitle"/>
3112 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/corpauthor"/>
3113 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/corpauthor"/>
3114 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/authorgroup"/>
3115 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/authorgroup"/>
3116 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/author"/>
3117 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/author"/>
3118 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/othercredit"/>
3119 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/othercredit"/>
3120 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/releaseinfo"/>
3121 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/releaseinfo"/>
3122 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/copyright"/>
3123 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/copyright"/>
3124 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/legalnotice"/>
3125 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/legalnotice"/>
3126 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/pubdate"/>
3127 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/pubdate"/>
3128 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revision"/>
3129 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revision"/>
3130 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revhistory"/>
3131 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revhistory"/>
3132 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/abstract"/>
3133 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/abstract"/>
3136 <xsl:template name="sect4.titlepage.verso">
3139 <xsl:template name="sect4.titlepage.separator">
3142 <xsl:template name="sect4.titlepage.before.recto">
3145 <xsl:template name="sect4.titlepage.before.verso">
3148 <xsl:template name="sect4.titlepage">
3149 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
3150 <xsl:variable name="recto.content">
3151 <xsl:call-template name="sect4.titlepage.before.recto"/>
3152 <xsl:call-template name="sect4.titlepage.recto"/>
3154 <xsl:variable name="recto.elements.count">
3156 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3157 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3158 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3159 <xsl:otherwise>1</xsl:otherwise>
3162 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3163 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
3165 <xsl:variable name="verso.content">
3166 <xsl:call-template name="sect4.titlepage.before.verso"/>
3167 <xsl:call-template name="sect4.titlepage.verso"/>
3169 <xsl:variable name="verso.elements.count">
3171 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3172 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3173 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3174 <xsl:otherwise>1</xsl:otherwise>
3177 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3178 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
3180 <xsl:call-template name="sect4.titlepage.separator"/>
3184 <xsl:template match="*" mode="sect4.titlepage.recto.mode">
3185 <!-- if an element isn't found in this mode, -->
3186 <!-- try the generic titlepage.mode -->
3187 <xsl:apply-templates select="." mode="titlepage.mode"/>
3190 <xsl:template match="*" mode="sect4.titlepage.verso.mode">
3191 <!-- if an element isn't found in this mode, -->
3192 <!-- try the generic titlepage.mode -->
3193 <xsl:apply-templates select="." mode="titlepage.mode"/>
3196 <xsl:template match="title" mode="sect4.titlepage.recto.auto.mode">
3197 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
3198 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3202 <xsl:template match="subtitle" mode="sect4.titlepage.recto.auto.mode">
3203 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style" font-family="{$title.fontset}">
3204 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3208 <xsl:template match="corpauthor" mode="sect4.titlepage.recto.auto.mode">
3209 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3210 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3214 <xsl:template match="authorgroup" mode="sect4.titlepage.recto.auto.mode">
3215 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3216 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3220 <xsl:template match="author" mode="sect4.titlepage.recto.auto.mode">
3221 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3222 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3226 <xsl:template match="othercredit" mode="sect4.titlepage.recto.auto.mode">
3227 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3228 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3232 <xsl:template match="releaseinfo" mode="sect4.titlepage.recto.auto.mode">
3233 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3234 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3238 <xsl:template match="copyright" mode="sect4.titlepage.recto.auto.mode">
3239 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3240 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3244 <xsl:template match="legalnotice" mode="sect4.titlepage.recto.auto.mode">
3245 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3246 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3250 <xsl:template match="pubdate" mode="sect4.titlepage.recto.auto.mode">
3251 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3252 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3256 <xsl:template match="revision" mode="sect4.titlepage.recto.auto.mode">
3257 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3258 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3262 <xsl:template match="revhistory" mode="sect4.titlepage.recto.auto.mode">
3263 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3264 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3268 <xsl:template match="abstract" mode="sect4.titlepage.recto.auto.mode">
3269 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3270 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3274 <xsl:template name="sect5.titlepage.recto">
3276 <xsl:when test="sect5info/title">
3277 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/title"/>
3279 <xsl:when test="info/title">
3280 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/title"/>
3282 <xsl:when test="title">
3283 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="title"/>
3288 <xsl:when test="sect5info/subtitle">
3289 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/subtitle"/>
3291 <xsl:when test="info/subtitle">
3292 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/subtitle"/>
3294 <xsl:when test="subtitle">
3295 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="subtitle"/>
3299 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/corpauthor"/>
3300 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/corpauthor"/>
3301 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/authorgroup"/>
3302 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/authorgroup"/>
3303 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/author"/>
3304 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/author"/>
3305 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/othercredit"/>
3306 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/othercredit"/>
3307 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/releaseinfo"/>
3308 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/releaseinfo"/>
3309 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/copyright"/>
3310 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/copyright"/>
3311 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/legalnotice"/>
3312 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/legalnotice"/>
3313 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/pubdate"/>
3314 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/pubdate"/>
3315 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revision"/>
3316 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revision"/>
3317 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revhistory"/>
3318 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revhistory"/>
3319 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/abstract"/>
3320 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/abstract"/>
3323 <xsl:template name="sect5.titlepage.verso">
3326 <xsl:template name="sect5.titlepage.separator">
3329 <xsl:template name="sect5.titlepage.before.recto">
3332 <xsl:template name="sect5.titlepage.before.verso">
3335 <xsl:template name="sect5.titlepage">
3336 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
3337 <xsl:variable name="recto.content">
3338 <xsl:call-template name="sect5.titlepage.before.recto"/>
3339 <xsl:call-template name="sect5.titlepage.recto"/>
3341 <xsl:variable name="recto.elements.count">
3343 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3344 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3345 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3346 <xsl:otherwise>1</xsl:otherwise>
3349 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3350 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
3352 <xsl:variable name="verso.content">
3353 <xsl:call-template name="sect5.titlepage.before.verso"/>
3354 <xsl:call-template name="sect5.titlepage.verso"/>
3356 <xsl:variable name="verso.elements.count">
3358 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3359 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3360 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3361 <xsl:otherwise>1</xsl:otherwise>
3364 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3365 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
3367 <xsl:call-template name="sect5.titlepage.separator"/>
3371 <xsl:template match="*" mode="sect5.titlepage.recto.mode">
3372 <!-- if an element isn't found in this mode, -->
3373 <!-- try the generic titlepage.mode -->
3374 <xsl:apply-templates select="." mode="titlepage.mode"/>
3377 <xsl:template match="*" mode="sect5.titlepage.verso.mode">
3378 <!-- if an element isn't found in this mode, -->
3379 <!-- try the generic titlepage.mode -->
3380 <xsl:apply-templates select="." mode="titlepage.mode"/>
3383 <xsl:template match="title" mode="sect5.titlepage.recto.auto.mode">
3384 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
3385 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3389 <xsl:template match="subtitle" mode="sect5.titlepage.recto.auto.mode">
3390 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style" font-family="{$title.fontset}">
3391 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3395 <xsl:template match="corpauthor" mode="sect5.titlepage.recto.auto.mode">
3396 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3397 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3401 <xsl:template match="authorgroup" mode="sect5.titlepage.recto.auto.mode">
3402 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3403 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3407 <xsl:template match="author" mode="sect5.titlepage.recto.auto.mode">
3408 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3409 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3413 <xsl:template match="othercredit" mode="sect5.titlepage.recto.auto.mode">
3414 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3415 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3419 <xsl:template match="releaseinfo" mode="sect5.titlepage.recto.auto.mode">
3420 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3421 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3425 <xsl:template match="copyright" mode="sect5.titlepage.recto.auto.mode">
3426 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3427 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3431 <xsl:template match="legalnotice" mode="sect5.titlepage.recto.auto.mode">
3432 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3433 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3437 <xsl:template match="pubdate" mode="sect5.titlepage.recto.auto.mode">
3438 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3439 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3443 <xsl:template match="revision" mode="sect5.titlepage.recto.auto.mode">
3444 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3445 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3449 <xsl:template match="revhistory" mode="sect5.titlepage.recto.auto.mode">
3450 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3451 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3455 <xsl:template match="abstract" mode="sect5.titlepage.recto.auto.mode">
3456 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3457 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3461 <xsl:template name="simplesect.titlepage.recto">
3463 <xsl:when test="simplesectinfo/title">
3464 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/title"/>
3466 <xsl:when test="docinfo/title">
3467 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/title"/>
3469 <xsl:when test="info/title">
3470 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/title"/>
3472 <xsl:when test="title">
3473 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="title"/>
3478 <xsl:when test="simplesectinfo/subtitle">
3479 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/subtitle"/>
3481 <xsl:when test="docinfo/subtitle">
3482 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3484 <xsl:when test="info/subtitle">
3485 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/subtitle"/>
3487 <xsl:when test="subtitle">
3488 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="subtitle"/>
3492 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/corpauthor"/>
3493 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
3494 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/corpauthor"/>
3495 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/authorgroup"/>
3496 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
3497 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/authorgroup"/>
3498 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/author"/>
3499 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/author"/>
3500 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/author"/>
3501 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/othercredit"/>
3502 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
3503 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/othercredit"/>
3504 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/releaseinfo"/>
3505 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
3506 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/releaseinfo"/>
3507 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/copyright"/>
3508 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/copyright"/>
3509 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/copyright"/>
3510 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/legalnotice"/>
3511 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
3512 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/legalnotice"/>
3513 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/pubdate"/>
3514 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
3515 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/pubdate"/>
3516 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revision"/>
3517 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revision"/>
3518 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revision"/>
3519 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revhistory"/>
3520 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
3521 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revhistory"/>
3522 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/abstract"/>
3523 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/abstract"/>
3524 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/abstract"/>
3527 <xsl:template name="simplesect.titlepage.verso">
3530 <xsl:template name="simplesect.titlepage.separator">
3533 <xsl:template name="simplesect.titlepage.before.recto">
3536 <xsl:template name="simplesect.titlepage.before.verso">
3539 <xsl:template name="simplesect.titlepage">
3540 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
3541 <xsl:variable name="recto.content">
3542 <xsl:call-template name="simplesect.titlepage.before.recto"/>
3543 <xsl:call-template name="simplesect.titlepage.recto"/>
3545 <xsl:variable name="recto.elements.count">
3547 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3548 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3549 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3550 <xsl:otherwise>1</xsl:otherwise>
3553 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3554 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
3556 <xsl:variable name="verso.content">
3557 <xsl:call-template name="simplesect.titlepage.before.verso"/>
3558 <xsl:call-template name="simplesect.titlepage.verso"/>
3560 <xsl:variable name="verso.elements.count">
3562 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3563 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3564 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3565 <xsl:otherwise>1</xsl:otherwise>
3568 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3569 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
3571 <xsl:call-template name="simplesect.titlepage.separator"/>
3575 <xsl:template match="*" mode="simplesect.titlepage.recto.mode">
3576 <!-- if an element isn't found in this mode, -->
3577 <!-- try the generic titlepage.mode -->
3578 <xsl:apply-templates select="." mode="titlepage.mode"/>
3581 <xsl:template match="*" mode="simplesect.titlepage.verso.mode">
3582 <!-- if an element isn't found in this mode, -->
3583 <!-- try the generic titlepage.mode -->
3584 <xsl:apply-templates select="." mode="titlepage.mode"/>
3587 <xsl:template match="title" mode="simplesect.titlepage.recto.auto.mode">
3588 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
3589 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3593 <xsl:template match="subtitle" mode="simplesect.titlepage.recto.auto.mode">
3594 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style" font-family="{$title.fontset}">
3595 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3599 <xsl:template match="corpauthor" mode="simplesect.titlepage.recto.auto.mode">
3600 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3601 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3605 <xsl:template match="authorgroup" mode="simplesect.titlepage.recto.auto.mode">
3606 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3607 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3611 <xsl:template match="author" mode="simplesect.titlepage.recto.auto.mode">
3612 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3613 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3617 <xsl:template match="othercredit" mode="simplesect.titlepage.recto.auto.mode">
3618 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3619 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3623 <xsl:template match="releaseinfo" mode="simplesect.titlepage.recto.auto.mode">
3624 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3625 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3629 <xsl:template match="copyright" mode="simplesect.titlepage.recto.auto.mode">
3630 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3631 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3635 <xsl:template match="legalnotice" mode="simplesect.titlepage.recto.auto.mode">
3636 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3637 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3641 <xsl:template match="pubdate" mode="simplesect.titlepage.recto.auto.mode">
3642 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3643 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3647 <xsl:template match="revision" mode="simplesect.titlepage.recto.auto.mode">
3648 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3649 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3653 <xsl:template match="revhistory" mode="simplesect.titlepage.recto.auto.mode">
3654 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3655 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3659 <xsl:template match="abstract" mode="simplesect.titlepage.recto.auto.mode">
3660 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3661 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3665 <xsl:template name="bibliography.titlepage.recto">
3666 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliography.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
3667 <xsl:call-template name="component.title">
3668 <xsl:with-param name="node" select="ancestor-or-self::bibliography[1]"/>
3669 </xsl:call-template></fo:block>
3671 <xsl:when test="bibliographyinfo/subtitle">
3672 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/subtitle"/>
3674 <xsl:when test="docinfo/subtitle">
3675 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3677 <xsl:when test="info/subtitle">
3678 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="info/subtitle"/>
3680 <xsl:when test="subtitle">
3681 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="subtitle"/>
3687 <xsl:template name="bibliography.titlepage.verso">
3690 <xsl:template name="bibliography.titlepage.separator">
3693 <xsl:template name="bibliography.titlepage.before.recto">
3696 <xsl:template name="bibliography.titlepage.before.verso">
3699 <xsl:template name="bibliography.titlepage">
3700 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
3701 <xsl:variable name="recto.content">
3702 <xsl:call-template name="bibliography.titlepage.before.recto"/>
3703 <xsl:call-template name="bibliography.titlepage.recto"/>
3705 <xsl:variable name="recto.elements.count">
3707 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3708 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3709 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3710 <xsl:otherwise>1</xsl:otherwise>
3713 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3714 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
3716 <xsl:variable name="verso.content">
3717 <xsl:call-template name="bibliography.titlepage.before.verso"/>
3718 <xsl:call-template name="bibliography.titlepage.verso"/>
3720 <xsl:variable name="verso.elements.count">
3722 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3723 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3724 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3725 <xsl:otherwise>1</xsl:otherwise>
3728 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3729 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
3731 <xsl:call-template name="bibliography.titlepage.separator"/>
3735 <xsl:template match="*" mode="bibliography.titlepage.recto.mode">
3736 <!-- if an element isn't found in this mode, -->
3737 <!-- try the generic titlepage.mode -->
3738 <xsl:apply-templates select="." mode="titlepage.mode"/>
3741 <xsl:template match="*" mode="bibliography.titlepage.verso.mode">
3742 <!-- if an element isn't found in this mode, -->
3743 <!-- try the generic titlepage.mode -->
3744 <xsl:apply-templates select="." mode="titlepage.mode"/>
3747 <xsl:template match="subtitle" mode="bibliography.titlepage.recto.auto.mode">
3748 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliography.titlepage.recto.style" font-family="{$title.fontset}">
3749 <xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/>
3753 <xsl:template name="bibliodiv.titlepage.recto">
3755 <xsl:when test="bibliodivinfo/title">
3756 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="bibliodivinfo/title"/>
3758 <xsl:when test="docinfo/title">
3759 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="docinfo/title"/>
3761 <xsl:when test="info/title">
3762 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="info/title"/>
3764 <xsl:when test="title">
3765 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="title"/>
3770 <xsl:when test="bibliodivinfo/subtitle">
3771 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="bibliodivinfo/subtitle"/>
3773 <xsl:when test="docinfo/subtitle">
3774 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3776 <xsl:when test="info/subtitle">
3777 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="info/subtitle"/>
3779 <xsl:when test="subtitle">
3780 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="subtitle"/>
3786 <xsl:template name="bibliodiv.titlepage.verso">
3789 <xsl:template name="bibliodiv.titlepage.separator">
3792 <xsl:template name="bibliodiv.titlepage.before.recto">
3795 <xsl:template name="bibliodiv.titlepage.before.verso">
3798 <xsl:template name="bibliodiv.titlepage">
3799 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
3800 <xsl:variable name="recto.content">
3801 <xsl:call-template name="bibliodiv.titlepage.before.recto"/>
3802 <xsl:call-template name="bibliodiv.titlepage.recto"/>
3804 <xsl:variable name="recto.elements.count">
3806 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3807 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3808 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3809 <xsl:otherwise>1</xsl:otherwise>
3812 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3813 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
3815 <xsl:variable name="verso.content">
3816 <xsl:call-template name="bibliodiv.titlepage.before.verso"/>
3817 <xsl:call-template name="bibliodiv.titlepage.verso"/>
3819 <xsl:variable name="verso.elements.count">
3821 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3822 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3823 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3824 <xsl:otherwise>1</xsl:otherwise>
3827 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3828 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
3830 <xsl:call-template name="bibliodiv.titlepage.separator"/>
3834 <xsl:template match="*" mode="bibliodiv.titlepage.recto.mode">
3835 <!-- if an element isn't found in this mode, -->
3836 <!-- try the generic titlepage.mode -->
3837 <xsl:apply-templates select="." mode="titlepage.mode"/>
3840 <xsl:template match="*" mode="bibliodiv.titlepage.verso.mode">
3841 <!-- if an element isn't found in this mode, -->
3842 <!-- try the generic titlepage.mode -->
3843 <xsl:apply-templates select="." mode="titlepage.mode"/>
3846 <xsl:template match="title" mode="bibliodiv.titlepage.recto.auto.mode">
3847 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliodiv.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="20.736pt" font-family="{$title.fontset}" font-weight="bold">
3848 <xsl:call-template name="component.title">
3849 <xsl:with-param name="node" select="ancestor-or-self::bibliodiv[1]"/>
3850 </xsl:call-template>
3854 <xsl:template match="subtitle" mode="bibliodiv.titlepage.recto.auto.mode">
3855 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliodiv.titlepage.recto.style" font-family="{$title.fontset}">
3856 <xsl:apply-templates select="." mode="bibliodiv.titlepage.recto.mode"/>
3860 <xsl:template name="glossary.titlepage.recto">
3861 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossary.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
3862 <xsl:call-template name="component.title">
3863 <xsl:with-param name="node" select="ancestor-or-self::glossary[1]"/>
3864 </xsl:call-template></fo:block>
3866 <xsl:when test="glossaryinfo/subtitle">
3867 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/subtitle"/>
3869 <xsl:when test="docinfo/subtitle">
3870 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3872 <xsl:when test="info/subtitle">
3873 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="info/subtitle"/>
3875 <xsl:when test="subtitle">
3876 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="subtitle"/>
3882 <xsl:template name="glossary.titlepage.verso">
3885 <xsl:template name="glossary.titlepage.separator">
3888 <xsl:template name="glossary.titlepage.before.recto">
3891 <xsl:template name="glossary.titlepage.before.verso">
3894 <xsl:template name="glossary.titlepage">
3895 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
3896 <xsl:variable name="recto.content">
3897 <xsl:call-template name="glossary.titlepage.before.recto"/>
3898 <xsl:call-template name="glossary.titlepage.recto"/>
3900 <xsl:variable name="recto.elements.count">
3902 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3903 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3904 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3905 <xsl:otherwise>1</xsl:otherwise>
3908 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3909 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
3911 <xsl:variable name="verso.content">
3912 <xsl:call-template name="glossary.titlepage.before.verso"/>
3913 <xsl:call-template name="glossary.titlepage.verso"/>
3915 <xsl:variable name="verso.elements.count">
3917 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3918 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3919 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3920 <xsl:otherwise>1</xsl:otherwise>
3923 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3924 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
3926 <xsl:call-template name="glossary.titlepage.separator"/>
3930 <xsl:template match="*" mode="glossary.titlepage.recto.mode">
3931 <!-- if an element isn't found in this mode, -->
3932 <!-- try the generic titlepage.mode -->
3933 <xsl:apply-templates select="." mode="titlepage.mode"/>
3936 <xsl:template match="*" mode="glossary.titlepage.verso.mode">
3937 <!-- if an element isn't found in this mode, -->
3938 <!-- try the generic titlepage.mode -->
3939 <xsl:apply-templates select="." mode="titlepage.mode"/>
3942 <xsl:template match="subtitle" mode="glossary.titlepage.recto.auto.mode">
3943 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossary.titlepage.recto.style" font-family="{$title.fontset}">
3944 <xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/>
3948 <xsl:template name="glossdiv.titlepage.recto">
3950 <xsl:when test="glossdivinfo/title">
3951 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="glossdivinfo/title"/>
3953 <xsl:when test="docinfo/title">
3954 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="docinfo/title"/>
3956 <xsl:when test="info/title">
3957 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="info/title"/>
3959 <xsl:when test="title">
3960 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="title"/>
3965 <xsl:when test="glossdivinfo/subtitle">
3966 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="glossdivinfo/subtitle"/>
3968 <xsl:when test="docinfo/subtitle">
3969 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3971 <xsl:when test="info/subtitle">
3972 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="info/subtitle"/>
3974 <xsl:when test="subtitle">
3975 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="subtitle"/>
3981 <xsl:template name="glossdiv.titlepage.verso">
3984 <xsl:template name="glossdiv.titlepage.separator">
3987 <xsl:template name="glossdiv.titlepage.before.recto">
3990 <xsl:template name="glossdiv.titlepage.before.verso">
3993 <xsl:template name="glossdiv.titlepage">
3994 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
3995 <xsl:variable name="recto.content">
3996 <xsl:call-template name="glossdiv.titlepage.before.recto"/>
3997 <xsl:call-template name="glossdiv.titlepage.recto"/>
3999 <xsl:variable name="recto.elements.count">
4001 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4002 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4003 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4004 <xsl:otherwise>1</xsl:otherwise>
4007 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4008 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4010 <xsl:variable name="verso.content">
4011 <xsl:call-template name="glossdiv.titlepage.before.verso"/>
4012 <xsl:call-template name="glossdiv.titlepage.verso"/>
4014 <xsl:variable name="verso.elements.count">
4016 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4017 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4018 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4019 <xsl:otherwise>1</xsl:otherwise>
4022 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4023 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4025 <xsl:call-template name="glossdiv.titlepage.separator"/>
4029 <xsl:template match="*" mode="glossdiv.titlepage.recto.mode">
4030 <!-- if an element isn't found in this mode, -->
4031 <!-- try the generic titlepage.mode -->
4032 <xsl:apply-templates select="." mode="titlepage.mode"/>
4035 <xsl:template match="*" mode="glossdiv.titlepage.verso.mode">
4036 <!-- if an element isn't found in this mode, -->
4037 <!-- try the generic titlepage.mode -->
4038 <xsl:apply-templates select="." mode="titlepage.mode"/>
4041 <xsl:template match="title" mode="glossdiv.titlepage.recto.auto.mode">
4042 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossdiv.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="20.736pt" font-family="{$title.fontset}" font-weight="bold">
4043 <xsl:call-template name="component.title">
4044 <xsl:with-param name="node" select="ancestor-or-self::glossdiv[1]"/>
4045 </xsl:call-template>
4049 <xsl:template match="subtitle" mode="glossdiv.titlepage.recto.auto.mode">
4050 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossdiv.titlepage.recto.style" font-family="{$title.fontset}">
4051 <xsl:apply-templates select="." mode="glossdiv.titlepage.recto.mode"/>
4055 <xsl:template name="index.titlepage.recto">
4056 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="index.titlepage.recto.style" margin-left="0pt" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
4057 <xsl:call-template name="component.title">
4058 <xsl:with-param name="node" select="ancestor-or-self::index[1]"/>
4059 <xsl:with-param name="pagewide" select="1"/>
4060 </xsl:call-template></fo:block>
4062 <xsl:when test="indexinfo/subtitle">
4063 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="indexinfo/subtitle"/>
4065 <xsl:when test="docinfo/subtitle">
4066 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
4068 <xsl:when test="info/subtitle">
4069 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="info/subtitle"/>
4071 <xsl:when test="subtitle">
4072 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="subtitle"/>
4078 <xsl:template name="index.titlepage.verso">
4081 <xsl:template name="index.titlepage.separator">
4084 <xsl:template name="index.titlepage.before.recto">
4087 <xsl:template name="index.titlepage.before.verso">
4090 <xsl:template name="index.titlepage">
4091 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
4092 <xsl:variable name="recto.content">
4093 <xsl:call-template name="index.titlepage.before.recto"/>
4094 <xsl:call-template name="index.titlepage.recto"/>
4096 <xsl:variable name="recto.elements.count">
4098 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4099 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4100 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4101 <xsl:otherwise>1</xsl:otherwise>
4104 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4105 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4107 <xsl:variable name="verso.content">
4108 <xsl:call-template name="index.titlepage.before.verso"/>
4109 <xsl:call-template name="index.titlepage.verso"/>
4111 <xsl:variable name="verso.elements.count">
4113 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4114 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4115 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4116 <xsl:otherwise>1</xsl:otherwise>
4119 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4120 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4122 <xsl:call-template name="index.titlepage.separator"/>
4126 <xsl:template match="*" mode="index.titlepage.recto.mode">
4127 <!-- if an element isn't found in this mode, -->
4128 <!-- try the generic titlepage.mode -->
4129 <xsl:apply-templates select="." mode="titlepage.mode"/>
4132 <xsl:template match="*" mode="index.titlepage.verso.mode">
4133 <!-- if an element isn't found in this mode, -->
4134 <!-- try the generic titlepage.mode -->
4135 <xsl:apply-templates select="." mode="titlepage.mode"/>
4138 <xsl:template match="subtitle" mode="index.titlepage.recto.auto.mode">
4139 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="index.titlepage.recto.style" font-family="{$title.fontset}">
4140 <xsl:apply-templates select="." mode="index.titlepage.recto.mode"/>
4144 <xsl:template name="indexdiv.titlepage.recto">
4145 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="indexdiv.titlepage.recto.style">
4146 <xsl:call-template name="indexdiv.title">
4147 <xsl:with-param name="title" select="title"/>
4148 </xsl:call-template></fo:block>
4150 <xsl:when test="indexdivinfo/subtitle">
4151 <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="indexdivinfo/subtitle"/>
4153 <xsl:when test="docinfo/subtitle">
4154 <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
4156 <xsl:when test="info/subtitle">
4157 <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="info/subtitle"/>
4159 <xsl:when test="subtitle">
4160 <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="subtitle"/>
4166 <xsl:template name="indexdiv.titlepage.verso">
4169 <xsl:template name="indexdiv.titlepage.separator">
4172 <xsl:template name="indexdiv.titlepage.before.recto">
4175 <xsl:template name="indexdiv.titlepage.before.verso">
4178 <xsl:template name="indexdiv.titlepage">
4179 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
4180 <xsl:variable name="recto.content">
4181 <xsl:call-template name="indexdiv.titlepage.before.recto"/>
4182 <xsl:call-template name="indexdiv.titlepage.recto"/>
4184 <xsl:variable name="recto.elements.count">
4186 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4187 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4188 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4189 <xsl:otherwise>1</xsl:otherwise>
4192 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4193 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4195 <xsl:variable name="verso.content">
4196 <xsl:call-template name="indexdiv.titlepage.before.verso"/>
4197 <xsl:call-template name="indexdiv.titlepage.verso"/>
4199 <xsl:variable name="verso.elements.count">
4201 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4202 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4203 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4204 <xsl:otherwise>1</xsl:otherwise>
4207 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4208 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4210 <xsl:call-template name="indexdiv.titlepage.separator"/>
4214 <xsl:template match="*" mode="indexdiv.titlepage.recto.mode">
4215 <!-- if an element isn't found in this mode, -->
4216 <!-- try the generic titlepage.mode -->
4217 <xsl:apply-templates select="." mode="titlepage.mode"/>
4220 <xsl:template match="*" mode="indexdiv.titlepage.verso.mode">
4221 <!-- if an element isn't found in this mode, -->
4222 <!-- try the generic titlepage.mode -->
4223 <xsl:apply-templates select="." mode="titlepage.mode"/>
4226 <xsl:template match="subtitle" mode="indexdiv.titlepage.recto.auto.mode">
4227 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="indexdiv.titlepage.recto.style" font-family="{$title.fontset}">
4228 <xsl:apply-templates select="." mode="indexdiv.titlepage.recto.mode"/>
4232 <xsl:template name="setindex.titlepage.recto">
4233 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="setindex.titlepage.recto.style" margin-left="0pt" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
4234 <xsl:call-template name="component.title">
4235 <xsl:with-param name="node" select="ancestor-or-self::setindex[1]"/>
4236 <xsl:with-param name="pagewide" select="1"/>
4237 </xsl:call-template></fo:block>
4239 <xsl:when test="setindexinfo/subtitle">
4240 <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="setindexinfo/subtitle"/>
4242 <xsl:when test="docinfo/subtitle">
4243 <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
4245 <xsl:when test="info/subtitle">
4246 <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="info/subtitle"/>
4248 <xsl:when test="subtitle">
4249 <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="subtitle"/>
4255 <xsl:template name="setindex.titlepage.verso">
4258 <xsl:template name="setindex.titlepage.separator">
4261 <xsl:template name="setindex.titlepage.before.recto">
4264 <xsl:template name="setindex.titlepage.before.verso">
4267 <xsl:template name="setindex.titlepage">
4268 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
4269 <xsl:variable name="recto.content">
4270 <xsl:call-template name="setindex.titlepage.before.recto"/>
4271 <xsl:call-template name="setindex.titlepage.recto"/>
4273 <xsl:variable name="recto.elements.count">
4275 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4276 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4277 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4278 <xsl:otherwise>1</xsl:otherwise>
4281 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4282 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4284 <xsl:variable name="verso.content">
4285 <xsl:call-template name="setindex.titlepage.before.verso"/>
4286 <xsl:call-template name="setindex.titlepage.verso"/>
4288 <xsl:variable name="verso.elements.count">
4290 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4291 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4292 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4293 <xsl:otherwise>1</xsl:otherwise>
4296 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4297 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4299 <xsl:call-template name="setindex.titlepage.separator"/>
4303 <xsl:template match="*" mode="setindex.titlepage.recto.mode">
4304 <!-- if an element isn't found in this mode, -->
4305 <!-- try the generic titlepage.mode -->
4306 <xsl:apply-templates select="." mode="titlepage.mode"/>
4309 <xsl:template match="*" mode="setindex.titlepage.verso.mode">
4310 <!-- if an element isn't found in this mode, -->
4311 <!-- try the generic titlepage.mode -->
4312 <xsl:apply-templates select="." mode="titlepage.mode"/>
4315 <xsl:template match="subtitle" mode="setindex.titlepage.recto.auto.mode">
4316 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="setindex.titlepage.recto.style" font-family="{$title.fontset}">
4317 <xsl:apply-templates select="." mode="setindex.titlepage.recto.mode"/>
4321 <xsl:template name="colophon.titlepage.recto">
4322 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="colophon.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
4323 <xsl:call-template name="component.title">
4324 <xsl:with-param name="node" select="ancestor-or-self::colophon[1]"/>
4325 </xsl:call-template></fo:block>
4327 <xsl:when test="colophoninfo/subtitle">
4328 <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="colophoninfo/subtitle"/>
4330 <xsl:when test="docinfo/subtitle">
4331 <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
4333 <xsl:when test="info/subtitle">
4334 <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="info/subtitle"/>
4336 <xsl:when test="subtitle">
4337 <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="subtitle"/>
4343 <xsl:template name="colophon.titlepage.verso">
4346 <xsl:template name="colophon.titlepage.separator">
4349 <xsl:template name="colophon.titlepage.before.recto">
4352 <xsl:template name="colophon.titlepage.before.verso">
4355 <xsl:template name="colophon.titlepage">
4356 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
4357 <xsl:variable name="recto.content">
4358 <xsl:call-template name="colophon.titlepage.before.recto"/>
4359 <xsl:call-template name="colophon.titlepage.recto"/>
4361 <xsl:variable name="recto.elements.count">
4363 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4364 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4365 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4366 <xsl:otherwise>1</xsl:otherwise>
4369 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4370 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4372 <xsl:variable name="verso.content">
4373 <xsl:call-template name="colophon.titlepage.before.verso"/>
4374 <xsl:call-template name="colophon.titlepage.verso"/>
4376 <xsl:variable name="verso.elements.count">
4378 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4379 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4380 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4381 <xsl:otherwise>1</xsl:otherwise>
4384 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4385 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4387 <xsl:call-template name="colophon.titlepage.separator"/>
4391 <xsl:template match="*" mode="colophon.titlepage.recto.mode">
4392 <!-- if an element isn't found in this mode, -->
4393 <!-- try the generic titlepage.mode -->
4394 <xsl:apply-templates select="." mode="titlepage.mode"/>
4397 <xsl:template match="*" mode="colophon.titlepage.verso.mode">
4398 <!-- if an element isn't found in this mode, -->
4399 <!-- try the generic titlepage.mode -->
4400 <xsl:apply-templates select="." mode="titlepage.mode"/>
4403 <xsl:template match="subtitle" mode="colophon.titlepage.recto.auto.mode">
4404 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="colophon.titlepage.recto.style" font-family="{$title.fontset}">
4405 <xsl:apply-templates select="." mode="colophon.titlepage.recto.mode"/>
4409 <xsl:template name="sidebar.titlepage.recto">
4411 <xsl:when test="sidebarinfo/title">
4412 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/title"/>
4414 <xsl:when test="docinfo/title">
4415 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/title"/>
4417 <xsl:when test="info/title">
4418 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/title"/>
4420 <xsl:when test="title">
4421 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="title"/>
4426 <xsl:when test="sidebarinfo/subtitle">
4427 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/subtitle"/>
4429 <xsl:when test="docinfo/subtitle">
4430 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
4432 <xsl:when test="info/subtitle">
4433 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/subtitle"/>
4435 <xsl:when test="subtitle">
4436 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="subtitle"/>
4442 <xsl:template name="sidebar.titlepage.verso">
4445 <xsl:template name="sidebar.titlepage.separator">
4448 <xsl:template name="sidebar.titlepage.before.recto">
4451 <xsl:template name="sidebar.titlepage.before.verso">
4454 <xsl:template name="sidebar.titlepage">
4455 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
4456 <xsl:variable name="recto.content">
4457 <xsl:call-template name="sidebar.titlepage.before.recto"/>
4458 <xsl:call-template name="sidebar.titlepage.recto"/>
4460 <xsl:variable name="recto.elements.count">
4462 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4463 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4464 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4465 <xsl:otherwise>1</xsl:otherwise>
4468 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4469 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4471 <xsl:variable name="verso.content">
4472 <xsl:call-template name="sidebar.titlepage.before.verso"/>
4473 <xsl:call-template name="sidebar.titlepage.verso"/>
4475 <xsl:variable name="verso.elements.count">
4477 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4478 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4479 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4480 <xsl:otherwise>1</xsl:otherwise>
4483 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4484 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4486 <xsl:call-template name="sidebar.titlepage.separator"/>
4490 <xsl:template match="*" mode="sidebar.titlepage.recto.mode">
4491 <!-- if an element isn't found in this mode, -->
4492 <!-- try the generic titlepage.mode -->
4493 <xsl:apply-templates select="." mode="titlepage.mode"/>
4496 <xsl:template match="*" mode="sidebar.titlepage.verso.mode">
4497 <!-- if an element isn't found in this mode, -->
4498 <!-- try the generic titlepage.mode -->
4499 <xsl:apply-templates select="." mode="titlepage.mode"/>
4502 <xsl:template match="title" mode="sidebar.titlepage.recto.auto.mode">
4503 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sidebar.titlepage.recto.style" font-family="{$title.fontset}" font-weight="bold">
4504 <xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/>
4508 <xsl:template match="subtitle" mode="sidebar.titlepage.recto.auto.mode">
4509 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sidebar.titlepage.recto.style" font-family="{$title.fontset}">
4510 <xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/>
4514 <xsl:template name="qandaset.titlepage.recto">
4516 <xsl:when test="qandasetinfo/title">
4517 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/title"/>
4519 <xsl:when test="blockinfo/title">
4520 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/title"/>
4522 <xsl:when test="info/title">
4523 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/title"/>
4525 <xsl:when test="title">
4526 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="title"/>
4531 <xsl:when test="qandasetinfo/subtitle">
4532 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/subtitle"/>
4534 <xsl:when test="blockinfo/subtitle">
4535 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/subtitle"/>
4537 <xsl:when test="info/subtitle">
4538 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/subtitle"/>
4540 <xsl:when test="subtitle">
4541 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="subtitle"/>
4545 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/corpauthor"/>
4546 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/corpauthor"/>
4547 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/corpauthor"/>
4548 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/authorgroup"/>
4549 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/authorgroup"/>
4550 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/authorgroup"/>
4551 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/author"/>
4552 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/author"/>
4553 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/author"/>
4554 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/othercredit"/>
4555 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/othercredit"/>
4556 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/othercredit"/>
4557 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/releaseinfo"/>
4558 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/releaseinfo"/>
4559 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/releaseinfo"/>
4560 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/copyright"/>
4561 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/copyright"/>
4562 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/copyright"/>
4563 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/legalnotice"/>
4564 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/legalnotice"/>
4565 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/legalnotice"/>
4566 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/pubdate"/>
4567 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/pubdate"/>
4568 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/pubdate"/>
4569 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/revision"/>
4570 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/revision"/>
4571 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/revision"/>
4572 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/revhistory"/>
4573 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/revhistory"/>
4574 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/revhistory"/>
4575 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/abstract"/>
4576 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/abstract"/>
4577 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/abstract"/>
4580 <xsl:template name="qandaset.titlepage.verso">
4583 <xsl:template name="qandaset.titlepage.separator">
4586 <xsl:template name="qandaset.titlepage.before.recto">
4589 <xsl:template name="qandaset.titlepage.before.verso">
4592 <xsl:template name="qandaset.titlepage">
4593 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="{$title.fontset}">
4594 <xsl:variable name="recto.content">
4595 <xsl:call-template name="qandaset.titlepage.before.recto"/>
4596 <xsl:call-template name="qandaset.titlepage.recto"/>
4598 <xsl:variable name="recto.elements.count">
4600 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4601 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4602 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4603 <xsl:otherwise>1</xsl:otherwise>
4606 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4607 <fo:block start-indent="0pt" text-align="center"><xsl:copy-of select="$recto.content"/></fo:block>
4609 <xsl:variable name="verso.content">
4610 <xsl:call-template name="qandaset.titlepage.before.verso"/>
4611 <xsl:call-template name="qandaset.titlepage.verso"/>
4613 <xsl:variable name="verso.elements.count">
4615 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4616 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4617 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4618 <xsl:otherwise>1</xsl:otherwise>
4621 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4622 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4624 <xsl:call-template name="qandaset.titlepage.separator"/>
4628 <xsl:template match="*" mode="qandaset.titlepage.recto.mode">
4629 <!-- if an element isn't found in this mode, -->
4630 <!-- try the generic titlepage.mode -->
4631 <xsl:apply-templates select="." mode="titlepage.mode"/>
4634 <xsl:template match="*" mode="qandaset.titlepage.verso.mode">
4635 <!-- if an element isn't found in this mode, -->
4636 <!-- try the generic titlepage.mode -->
4637 <xsl:apply-templates select="." mode="titlepage.mode"/>
4640 <xsl:template match="title" mode="qandaset.titlepage.recto.auto.mode">
4641 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" keep-with-next.within-column="always" font-size="24.8832pt" font-weight="bold">
4642 <xsl:call-template name="component.title">
4643 <xsl:with-param name="node" select="ancestor-or-self::qandaset[1]"/>
4644 </xsl:call-template>
4648 <xsl:template match="subtitle" mode="qandaset.titlepage.recto.auto.mode">
4649 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style">
4650 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4654 <xsl:template match="corpauthor" mode="qandaset.titlepage.recto.auto.mode">
4655 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em" font-size="14.4pt">
4656 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4660 <xsl:template match="authorgroup" mode="qandaset.titlepage.recto.auto.mode">
4661 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em" font-size="14.4pt">
4662 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4666 <xsl:template match="author" mode="qandaset.titlepage.recto.auto.mode">
4667 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em" font-size="14.4pt">
4668 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4672 <xsl:template match="othercredit" mode="qandaset.titlepage.recto.auto.mode">
4673 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
4674 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4678 <xsl:template match="releaseinfo" mode="qandaset.titlepage.recto.auto.mode">
4679 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
4680 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4684 <xsl:template match="copyright" mode="qandaset.titlepage.recto.auto.mode">
4685 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
4686 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4690 <xsl:template match="legalnotice" mode="qandaset.titlepage.recto.auto.mode">
4691 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}">
4692 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4696 <xsl:template match="pubdate" mode="qandaset.titlepage.recto.auto.mode">
4697 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
4698 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4702 <xsl:template match="revision" mode="qandaset.titlepage.recto.auto.mode">
4703 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
4704 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4708 <xsl:template match="revhistory" mode="qandaset.titlepage.recto.auto.mode">
4709 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
4710 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4714 <xsl:template match="abstract" mode="qandaset.titlepage.recto.auto.mode">
4715 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}">
4716 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4720 <xsl:template name="table.of.contents.titlepage.recto">
4721 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="table.of.contents.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
4722 <xsl:call-template name="gentext">
4723 <xsl:with-param name="key" select="'TableofContents'"/>
4724 </xsl:call-template></fo:block>
4727 <xsl:template name="table.of.contents.titlepage.verso">
4730 <xsl:template name="table.of.contents.titlepage.separator">
4733 <xsl:template name="table.of.contents.titlepage.before.recto">
4736 <xsl:template name="table.of.contents.titlepage.before.verso">
4739 <xsl:template name="table.of.contents.titlepage">
4740 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
4741 <xsl:variable name="recto.content">
4742 <xsl:call-template name="table.of.contents.titlepage.before.recto"/>
4743 <xsl:call-template name="table.of.contents.titlepage.recto"/>
4745 <xsl:variable name="recto.elements.count">
4747 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4748 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4749 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4750 <xsl:otherwise>1</xsl:otherwise>
4753 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4754 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4756 <xsl:variable name="verso.content">
4757 <xsl:call-template name="table.of.contents.titlepage.before.verso"/>
4758 <xsl:call-template name="table.of.contents.titlepage.verso"/>
4760 <xsl:variable name="verso.elements.count">
4762 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4763 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4764 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4765 <xsl:otherwise>1</xsl:otherwise>
4768 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4769 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4771 <xsl:call-template name="table.of.contents.titlepage.separator"/>
4775 <xsl:template match="*" mode="table.of.contents.titlepage.recto.mode">
4776 <!-- if an element isn't found in this mode, -->
4777 <!-- try the generic titlepage.mode -->
4778 <xsl:apply-templates select="." mode="titlepage.mode"/>
4781 <xsl:template match="*" mode="table.of.contents.titlepage.verso.mode">
4782 <!-- if an element isn't found in this mode, -->
4783 <!-- try the generic titlepage.mode -->
4784 <xsl:apply-templates select="." mode="titlepage.mode"/>
4787 <xsl:template name="list.of.tables.titlepage.recto">
4788 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.tables.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
4789 <xsl:call-template name="gentext">
4790 <xsl:with-param name="key" select="'ListofTables'"/>
4791 </xsl:call-template></fo:block>
4794 <xsl:template name="list.of.tables.titlepage.verso">
4797 <xsl:template name="list.of.tables.titlepage.separator">
4800 <xsl:template name="list.of.tables.titlepage.before.recto">
4803 <xsl:template name="list.of.tables.titlepage.before.verso">
4806 <xsl:template name="list.of.tables.titlepage">
4807 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
4808 <xsl:variable name="recto.content">
4809 <xsl:call-template name="list.of.tables.titlepage.before.recto"/>
4810 <xsl:call-template name="list.of.tables.titlepage.recto"/>
4812 <xsl:variable name="recto.elements.count">
4814 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4815 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4816 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4817 <xsl:otherwise>1</xsl:otherwise>
4820 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4821 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4823 <xsl:variable name="verso.content">
4824 <xsl:call-template name="list.of.tables.titlepage.before.verso"/>
4825 <xsl:call-template name="list.of.tables.titlepage.verso"/>
4827 <xsl:variable name="verso.elements.count">
4829 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4830 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4831 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4832 <xsl:otherwise>1</xsl:otherwise>
4835 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4836 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4838 <xsl:call-template name="list.of.tables.titlepage.separator"/>
4842 <xsl:template match="*" mode="list.of.tables.titlepage.recto.mode">
4843 <!-- if an element isn't found in this mode, -->
4844 <!-- try the generic titlepage.mode -->
4845 <xsl:apply-templates select="." mode="titlepage.mode"/>
4848 <xsl:template match="*" mode="list.of.tables.titlepage.verso.mode">
4849 <!-- if an element isn't found in this mode, -->
4850 <!-- try the generic titlepage.mode -->
4851 <xsl:apply-templates select="." mode="titlepage.mode"/>
4854 <xsl:template name="list.of.figures.titlepage.recto">
4855 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.figures.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
4856 <xsl:call-template name="gentext">
4857 <xsl:with-param name="key" select="'ListofFigures'"/>
4858 </xsl:call-template></fo:block>
4861 <xsl:template name="list.of.figures.titlepage.verso">
4864 <xsl:template name="list.of.figures.titlepage.separator">
4867 <xsl:template name="list.of.figures.titlepage.before.recto">
4870 <xsl:template name="list.of.figures.titlepage.before.verso">
4873 <xsl:template name="list.of.figures.titlepage">
4874 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
4875 <xsl:variable name="recto.content">
4876 <xsl:call-template name="list.of.figures.titlepage.before.recto"/>
4877 <xsl:call-template name="list.of.figures.titlepage.recto"/>
4879 <xsl:variable name="recto.elements.count">
4881 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4882 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4883 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4884 <xsl:otherwise>1</xsl:otherwise>
4887 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4888 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4890 <xsl:variable name="verso.content">
4891 <xsl:call-template name="list.of.figures.titlepage.before.verso"/>
4892 <xsl:call-template name="list.of.figures.titlepage.verso"/>
4894 <xsl:variable name="verso.elements.count">
4896 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4897 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4898 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4899 <xsl:otherwise>1</xsl:otherwise>
4902 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4903 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4905 <xsl:call-template name="list.of.figures.titlepage.separator"/>
4909 <xsl:template match="*" mode="list.of.figures.titlepage.recto.mode">
4910 <!-- if an element isn't found in this mode, -->
4911 <!-- try the generic titlepage.mode -->
4912 <xsl:apply-templates select="." mode="titlepage.mode"/>
4915 <xsl:template match="*" mode="list.of.figures.titlepage.verso.mode">
4916 <!-- if an element isn't found in this mode, -->
4917 <!-- try the generic titlepage.mode -->
4918 <xsl:apply-templates select="." mode="titlepage.mode"/>
4921 <xsl:template name="list.of.examples.titlepage.recto">
4922 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.examples.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
4923 <xsl:call-template name="gentext">
4924 <xsl:with-param name="key" select="'ListofExamples'"/>
4925 </xsl:call-template></fo:block>
4928 <xsl:template name="list.of.examples.titlepage.verso">
4931 <xsl:template name="list.of.examples.titlepage.separator">
4934 <xsl:template name="list.of.examples.titlepage.before.recto">
4937 <xsl:template name="list.of.examples.titlepage.before.verso">
4940 <xsl:template name="list.of.examples.titlepage">
4941 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
4942 <xsl:variable name="recto.content">
4943 <xsl:call-template name="list.of.examples.titlepage.before.recto"/>
4944 <xsl:call-template name="list.of.examples.titlepage.recto"/>
4946 <xsl:variable name="recto.elements.count">
4948 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4949 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4950 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4951 <xsl:otherwise>1</xsl:otherwise>
4954 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4955 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4957 <xsl:variable name="verso.content">
4958 <xsl:call-template name="list.of.examples.titlepage.before.verso"/>
4959 <xsl:call-template name="list.of.examples.titlepage.verso"/>
4961 <xsl:variable name="verso.elements.count">
4963 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4964 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4965 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4966 <xsl:otherwise>1</xsl:otherwise>
4969 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4970 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4972 <xsl:call-template name="list.of.examples.titlepage.separator"/>
4976 <xsl:template match="*" mode="list.of.examples.titlepage.recto.mode">
4977 <!-- if an element isn't found in this mode, -->
4978 <!-- try the generic titlepage.mode -->
4979 <xsl:apply-templates select="." mode="titlepage.mode"/>
4982 <xsl:template match="*" mode="list.of.examples.titlepage.verso.mode">
4983 <!-- if an element isn't found in this mode, -->
4984 <!-- try the generic titlepage.mode -->
4985 <xsl:apply-templates select="." mode="titlepage.mode"/>
4988 <xsl:template name="list.of.equations.titlepage.recto">
4989 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.equations.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
4990 <xsl:call-template name="gentext">
4991 <xsl:with-param name="key" select="'ListofEquations'"/>
4992 </xsl:call-template></fo:block>
4995 <xsl:template name="list.of.equations.titlepage.verso">
4998 <xsl:template name="list.of.equations.titlepage.separator">
5001 <xsl:template name="list.of.equations.titlepage.before.recto">
5004 <xsl:template name="list.of.equations.titlepage.before.verso">
5007 <xsl:template name="list.of.equations.titlepage">
5008 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
5009 <xsl:variable name="recto.content">
5010 <xsl:call-template name="list.of.equations.titlepage.before.recto"/>
5011 <xsl:call-template name="list.of.equations.titlepage.recto"/>
5013 <xsl:variable name="recto.elements.count">
5015 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5016 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5017 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5018 <xsl:otherwise>1</xsl:otherwise>
5021 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
5022 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
5024 <xsl:variable name="verso.content">
5025 <xsl:call-template name="list.of.equations.titlepage.before.verso"/>
5026 <xsl:call-template name="list.of.equations.titlepage.verso"/>
5028 <xsl:variable name="verso.elements.count">
5030 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5031 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5032 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5033 <xsl:otherwise>1</xsl:otherwise>
5036 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
5037 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
5039 <xsl:call-template name="list.of.equations.titlepage.separator"/>
5043 <xsl:template match="*" mode="list.of.equations.titlepage.recto.mode">
5044 <!-- if an element isn't found in this mode, -->
5045 <!-- try the generic titlepage.mode -->
5046 <xsl:apply-templates select="." mode="titlepage.mode"/>
5049 <xsl:template match="*" mode="list.of.equations.titlepage.verso.mode">
5050 <!-- if an element isn't found in this mode, -->
5051 <!-- try the generic titlepage.mode -->
5052 <xsl:apply-templates select="." mode="titlepage.mode"/>
5055 <xsl:template name="list.of.procedures.titlepage.recto">
5056 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.procedures.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
5057 <xsl:call-template name="gentext">
5058 <xsl:with-param name="key" select="'ListofProcedures'"/>
5059 </xsl:call-template></fo:block>
5062 <xsl:template name="list.of.procedures.titlepage.verso">
5065 <xsl:template name="list.of.procedures.titlepage.separator">
5068 <xsl:template name="list.of.procedures.titlepage.before.recto">
5071 <xsl:template name="list.of.procedures.titlepage.before.verso">
5074 <xsl:template name="list.of.procedures.titlepage">
5075 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
5076 <xsl:variable name="recto.content">
5077 <xsl:call-template name="list.of.procedures.titlepage.before.recto"/>
5078 <xsl:call-template name="list.of.procedures.titlepage.recto"/>
5080 <xsl:variable name="recto.elements.count">
5082 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5083 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5084 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5085 <xsl:otherwise>1</xsl:otherwise>
5088 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
5089 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
5091 <xsl:variable name="verso.content">
5092 <xsl:call-template name="list.of.procedures.titlepage.before.verso"/>
5093 <xsl:call-template name="list.of.procedures.titlepage.verso"/>
5095 <xsl:variable name="verso.elements.count">
5097 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5098 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5099 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5100 <xsl:otherwise>1</xsl:otherwise>
5103 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
5104 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
5106 <xsl:call-template name="list.of.procedures.titlepage.separator"/>
5110 <xsl:template match="*" mode="list.of.procedures.titlepage.recto.mode">
5111 <!-- if an element isn't found in this mode, -->
5112 <!-- try the generic titlepage.mode -->
5113 <xsl:apply-templates select="." mode="titlepage.mode"/>
5116 <xsl:template match="*" mode="list.of.procedures.titlepage.verso.mode">
5117 <!-- if an element isn't found in this mode, -->
5118 <!-- try the generic titlepage.mode -->
5119 <xsl:apply-templates select="." mode="titlepage.mode"/>
5122 <xsl:template name="list.of.unknowns.titlepage.recto">
5123 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.unknowns.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
5124 <xsl:call-template name="gentext">
5125 <xsl:with-param name="key" select="'ListofUnknown'"/>
5126 </xsl:call-template></fo:block>
5129 <xsl:template name="list.of.unknowns.titlepage.verso">
5132 <xsl:template name="list.of.unknowns.titlepage.separator">
5135 <xsl:template name="list.of.unknowns.titlepage.before.recto">
5138 <xsl:template name="list.of.unknowns.titlepage.before.verso">
5141 <xsl:template name="list.of.unknowns.titlepage">
5142 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
5143 <xsl:variable name="recto.content">
5144 <xsl:call-template name="list.of.unknowns.titlepage.before.recto"/>
5145 <xsl:call-template name="list.of.unknowns.titlepage.recto"/>
5147 <xsl:variable name="recto.elements.count">
5149 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5150 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5151 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5152 <xsl:otherwise>1</xsl:otherwise>
5155 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
5156 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
5158 <xsl:variable name="verso.content">
5159 <xsl:call-template name="list.of.unknowns.titlepage.before.verso"/>
5160 <xsl:call-template name="list.of.unknowns.titlepage.verso"/>
5162 <xsl:variable name="verso.elements.count">
5164 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5165 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5166 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5167 <xsl:otherwise>1</xsl:otherwise>
5170 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
5171 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
5173 <xsl:call-template name="list.of.unknowns.titlepage.separator"/>
5177 <xsl:template match="*" mode="list.of.unknowns.titlepage.recto.mode">
5178 <!-- if an element isn't found in this mode, -->
5179 <!-- try the generic titlepage.mode -->
5180 <xsl:apply-templates select="." mode="titlepage.mode"/>
5183 <xsl:template match="*" mode="list.of.unknowns.titlepage.verso.mode">
5184 <!-- if an element isn't found in this mode, -->
5185 <!-- try the generic titlepage.mode -->
5186 <xsl:apply-templates select="." mode="titlepage.mode"/>