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/corpauthor"/>
428 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/corpauthor"/>
429 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/>
430 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/authorgroup"/>
431 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/>
432 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/author"/>
435 <xsl:template name="book.titlepage.verso">
437 <xsl:when test="bookinfo/title">
438 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/title"/>
440 <xsl:when test="info/title">
441 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/title"/>
443 <xsl:when test="title">
444 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="title"/>
448 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/corpauthor"/>
449 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/corpauthor"/>
450 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/authorgroup"/>
451 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/authorgroup"/>
452 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/author"/>
453 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/author"/>
454 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/othercredit"/>
455 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/othercredit"/>
456 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/releaseinfo"/>
457 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/releaseinfo"/>
458 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/pubdate"/>
459 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/pubdate"/>
460 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/copyright"/>
461 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/copyright"/>
462 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/abstract"/>
463 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/abstract"/>
464 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/legalnotice"/>
465 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/legalnotice"/>
468 <xsl:template name="book.titlepage.separator"><fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" break-after="page"/>
471 <xsl:template name="book.titlepage.before.recto">
474 <xsl:template name="book.titlepage.before.verso"><fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" break-after="page"/>
477 <xsl:template name="book.titlepage">
478 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
479 <xsl:variable name="recto.content">
480 <xsl:call-template name="book.titlepage.before.recto"/>
481 <xsl:call-template name="book.titlepage.recto"/>
483 <xsl:variable name="recto.elements.count">
485 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
486 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
487 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
488 <xsl:otherwise>1</xsl:otherwise>
491 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
492 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
494 <xsl:variable name="verso.content">
495 <xsl:call-template name="book.titlepage.before.verso"/>
496 <xsl:call-template name="book.titlepage.verso"/>
498 <xsl:variable name="verso.elements.count">
500 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
501 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
502 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
503 <xsl:otherwise>1</xsl:otherwise>
506 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
507 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
509 <xsl:call-template name="book.titlepage.separator"/>
513 <xsl:template match="*" mode="book.titlepage.recto.mode">
514 <!-- if an element isn't found in this mode, -->
515 <!-- try the generic titlepage.mode -->
516 <xsl:apply-templates select="." mode="titlepage.mode"/>
519 <xsl:template match="*" mode="book.titlepage.verso.mode">
520 <!-- if an element isn't found in this mode, -->
521 <!-- try the generic titlepage.mode -->
522 <xsl:apply-templates select="." mode="titlepage.mode"/>
525 <xsl:template match="title" mode="book.titlepage.recto.auto.mode">
526 <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}">
527 <xsl:call-template name="division.title">
528 <xsl:with-param name="node" select="ancestor-or-self::book[1]"/>
533 <xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode">
534 <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}">
535 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
539 <xsl:template match="corpauthor" mode="book.titlepage.recto.auto.mode">
540 <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">
541 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
545 <xsl:template match="authorgroup" mode="book.titlepage.recto.auto.mode">
546 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" space-before="2in">
547 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
551 <xsl:template match="author" mode="book.titlepage.recto.auto.mode">
552 <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">
553 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
557 <xsl:template match="title" mode="book.titlepage.verso.auto.mode">
558 <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}">
559 <xsl:call-template name="book.verso.title">
564 <xsl:template match="corpauthor" mode="book.titlepage.verso.auto.mode">
565 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style">
566 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
570 <xsl:template match="authorgroup" mode="book.titlepage.verso.auto.mode">
571 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style">
572 <xsl:call-template name="verso.authorgroup">
577 <xsl:template match="author" mode="book.titlepage.verso.auto.mode">
578 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style">
579 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
583 <xsl:template match="othercredit" mode="book.titlepage.verso.auto.mode">
584 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style">
585 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
589 <xsl:template match="releaseinfo" mode="book.titlepage.verso.auto.mode">
590 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" space-before="0.5em">
591 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
595 <xsl:template match="pubdate" mode="book.titlepage.verso.auto.mode">
596 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" space-before="1em">
597 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
601 <xsl:template match="copyright" mode="book.titlepage.verso.auto.mode">
602 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style">
603 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
607 <xsl:template match="abstract" mode="book.titlepage.verso.auto.mode">
608 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style">
609 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
613 <xsl:template match="legalnotice" mode="book.titlepage.verso.auto.mode">
614 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" font-size="8pt">
615 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
619 <xsl:template name="part.titlepage.recto">
621 <xsl:when test="partinfo/title">
622 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/title"/>
624 <xsl:when test="docinfo/title">
625 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/title"/>
627 <xsl:when test="info/title">
628 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/title"/>
630 <xsl:when test="title">
631 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="title"/>
636 <xsl:when test="partinfo/subtitle">
637 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/subtitle"/>
639 <xsl:when test="docinfo/subtitle">
640 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
642 <xsl:when test="info/subtitle">
643 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/subtitle"/>
645 <xsl:when test="subtitle">
646 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="subtitle"/>
652 <xsl:template name="part.titlepage.verso">
655 <xsl:template name="part.titlepage.separator">
658 <xsl:template name="part.titlepage.before.recto">
661 <xsl:template name="part.titlepage.before.verso">
664 <xsl:template name="part.titlepage">
665 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
666 <xsl:variable name="recto.content">
667 <xsl:call-template name="part.titlepage.before.recto"/>
668 <xsl:call-template name="part.titlepage.recto"/>
670 <xsl:variable name="recto.elements.count">
672 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
673 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
674 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
675 <xsl:otherwise>1</xsl:otherwise>
678 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
679 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
681 <xsl:variable name="verso.content">
682 <xsl:call-template name="part.titlepage.before.verso"/>
683 <xsl:call-template name="part.titlepage.verso"/>
685 <xsl:variable name="verso.elements.count">
687 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
688 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
689 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
690 <xsl:otherwise>1</xsl:otherwise>
693 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
694 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
696 <xsl:call-template name="part.titlepage.separator"/>
700 <xsl:template match="*" mode="part.titlepage.recto.mode">
701 <!-- if an element isn't found in this mode, -->
702 <!-- try the generic titlepage.mode -->
703 <xsl:apply-templates select="." mode="titlepage.mode"/>
706 <xsl:template match="*" mode="part.titlepage.verso.mode">
707 <!-- if an element isn't found in this mode, -->
708 <!-- try the generic titlepage.mode -->
709 <xsl:apply-templates select="." mode="titlepage.mode"/>
712 <xsl:template match="title" mode="part.titlepage.recto.auto.mode">
713 <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}">
714 <xsl:call-template name="division.title">
715 <xsl:with-param name="node" select="ancestor-or-self::part[1]"/>
720 <xsl:template match="subtitle" 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="20.736pt" space-before="15.552pt" font-weight="bold" font-style="italic" font-family="{$title.fontset}">
722 <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
726 <xsl:template name="partintro.titlepage.recto">
728 <xsl:when test="partintroinfo/title">
729 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/title"/>
731 <xsl:when test="docinfo/title">
732 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/title"/>
734 <xsl:when test="info/title">
735 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/title"/>
737 <xsl:when test="title">
738 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="title"/>
743 <xsl:when test="partintroinfo/subtitle">
744 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/subtitle"/>
746 <xsl:when test="docinfo/subtitle">
747 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
749 <xsl:when test="info/subtitle">
750 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/subtitle"/>
752 <xsl:when test="subtitle">
753 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="subtitle"/>
757 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/corpauthor"/>
758 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
759 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/corpauthor"/>
760 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/authorgroup"/>
761 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
762 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/authorgroup"/>
763 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/author"/>
764 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/author"/>
765 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/author"/>
766 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/othercredit"/>
767 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
768 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/othercredit"/>
769 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/releaseinfo"/>
770 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
771 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/releaseinfo"/>
772 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/copyright"/>
773 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/copyright"/>
774 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/copyright"/>
775 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/legalnotice"/>
776 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
777 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/legalnotice"/>
778 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/pubdate"/>
779 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
780 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/pubdate"/>
781 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revision"/>
782 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revision"/>
783 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revision"/>
784 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revhistory"/>
785 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
786 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revhistory"/>
787 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/abstract"/>
788 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/abstract"/>
789 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/abstract"/>
792 <xsl:template name="partintro.titlepage.verso">
795 <xsl:template name="partintro.titlepage.separator">
798 <xsl:template name="partintro.titlepage.before.recto">
801 <xsl:template name="partintro.titlepage.before.verso">
804 <xsl:template name="partintro.titlepage">
805 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
806 <xsl:variable name="recto.content">
807 <xsl:call-template name="partintro.titlepage.before.recto"/>
808 <xsl:call-template name="partintro.titlepage.recto"/>
810 <xsl:variable name="recto.elements.count">
812 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
813 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
814 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
815 <xsl:otherwise>1</xsl:otherwise>
818 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
819 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
821 <xsl:variable name="verso.content">
822 <xsl:call-template name="partintro.titlepage.before.verso"/>
823 <xsl:call-template name="partintro.titlepage.verso"/>
825 <xsl:variable name="verso.elements.count">
827 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
828 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
829 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
830 <xsl:otherwise>1</xsl:otherwise>
833 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
834 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
836 <xsl:call-template name="partintro.titlepage.separator"/>
840 <xsl:template match="*" mode="partintro.titlepage.recto.mode">
841 <!-- if an element isn't found in this mode, -->
842 <!-- try the generic titlepage.mode -->
843 <xsl:apply-templates select="." mode="titlepage.mode"/>
846 <xsl:template match="*" mode="partintro.titlepage.verso.mode">
847 <!-- if an element isn't found in this mode, -->
848 <!-- try the generic titlepage.mode -->
849 <xsl:apply-templates select="." mode="titlepage.mode"/>
852 <xsl:template match="title" mode="partintro.titlepage.recto.auto.mode">
853 <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}">
854 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
858 <xsl:template match="subtitle" mode="partintro.titlepage.recto.auto.mode">
859 <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}">
860 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
864 <xsl:template match="corpauthor" mode="partintro.titlepage.recto.auto.mode">
865 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
866 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
870 <xsl:template match="authorgroup" mode="partintro.titlepage.recto.auto.mode">
871 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
872 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
876 <xsl:template match="author" mode="partintro.titlepage.recto.auto.mode">
877 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
878 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
882 <xsl:template match="othercredit" mode="partintro.titlepage.recto.auto.mode">
883 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
884 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
888 <xsl:template match="releaseinfo" mode="partintro.titlepage.recto.auto.mode">
889 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
890 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
894 <xsl:template match="copyright" mode="partintro.titlepage.recto.auto.mode">
895 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
896 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
900 <xsl:template match="legalnotice" mode="partintro.titlepage.recto.auto.mode">
901 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
902 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
906 <xsl:template match="pubdate" mode="partintro.titlepage.recto.auto.mode">
907 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
908 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
912 <xsl:template match="revision" mode="partintro.titlepage.recto.auto.mode">
913 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
914 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
918 <xsl:template match="revhistory" mode="partintro.titlepage.recto.auto.mode">
919 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
920 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
924 <xsl:template match="abstract" mode="partintro.titlepage.recto.auto.mode">
925 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
926 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
930 <xsl:template name="reference.titlepage.recto">
932 <xsl:when test="referenceinfo/title">
933 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/title"/>
935 <xsl:when test="docinfo/title">
936 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/title"/>
938 <xsl:when test="info/title">
939 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/title"/>
941 <xsl:when test="title">
942 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="title"/>
947 <xsl:when test="referenceinfo/subtitle">
948 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/subtitle"/>
950 <xsl:when test="docinfo/subtitle">
951 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
953 <xsl:when test="info/subtitle">
954 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/subtitle"/>
956 <xsl:when test="subtitle">
957 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="subtitle"/>
961 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/corpauthor"/>
962 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
963 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/corpauthor"/>
964 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/authorgroup"/>
965 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
966 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/authorgroup"/>
967 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/author"/>
968 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/author"/>
969 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/author"/>
970 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/othercredit"/>
971 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
972 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/othercredit"/>
973 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/releaseinfo"/>
974 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
975 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/releaseinfo"/>
976 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/copyright"/>
977 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/copyright"/>
978 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/copyright"/>
979 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/legalnotice"/>
980 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
981 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/legalnotice"/>
982 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/pubdate"/>
983 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
984 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/pubdate"/>
985 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revision"/>
986 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revision"/>
987 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revision"/>
988 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revhistory"/>
989 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
990 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revhistory"/>
991 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/abstract"/>
992 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/abstract"/>
993 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/abstract"/>
996 <xsl:template name="reference.titlepage.verso">
999 <xsl:template name="reference.titlepage.separator">
1002 <xsl:template name="reference.titlepage.before.recto">
1005 <xsl:template name="reference.titlepage.before.verso">
1008 <xsl:template name="reference.titlepage">
1009 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
1010 <xsl:variable name="recto.content">
1011 <xsl:call-template name="reference.titlepage.before.recto"/>
1012 <xsl:call-template name="reference.titlepage.recto"/>
1014 <xsl:variable name="recto.elements.count">
1016 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1017 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1018 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1019 <xsl:otherwise>1</xsl:otherwise>
1022 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1023 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1025 <xsl:variable name="verso.content">
1026 <xsl:call-template name="reference.titlepage.before.verso"/>
1027 <xsl:call-template name="reference.titlepage.verso"/>
1029 <xsl:variable name="verso.elements.count">
1031 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1032 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1033 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1034 <xsl:otherwise>1</xsl:otherwise>
1037 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1038 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1040 <xsl:call-template name="reference.titlepage.separator"/>
1044 <xsl:template match="*" mode="reference.titlepage.recto.mode">
1045 <!-- if an element isn't found in this mode, -->
1046 <!-- try the generic titlepage.mode -->
1047 <xsl:apply-templates select="." mode="titlepage.mode"/>
1050 <xsl:template match="*" mode="reference.titlepage.verso.mode">
1051 <!-- if an element isn't found in this mode, -->
1052 <!-- try the generic titlepage.mode -->
1053 <xsl:apply-templates select="." mode="titlepage.mode"/>
1056 <xsl:template match="title" mode="reference.titlepage.recto.auto.mode">
1057 <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}">
1058 <xsl:call-template name="division.title">
1059 <xsl:with-param name="node" select="ancestor-or-self::reference[1]"/>
1060 </xsl:call-template>
1064 <xsl:template match="subtitle" 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" font-family="{$title.fontset}" text-align="center">
1066 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1070 <xsl:template match="corpauthor" mode="reference.titlepage.recto.auto.mode">
1071 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1072 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1076 <xsl:template match="authorgroup" mode="reference.titlepage.recto.auto.mode">
1077 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1078 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1082 <xsl:template match="author" mode="reference.titlepage.recto.auto.mode">
1083 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1084 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1088 <xsl:template match="othercredit" mode="reference.titlepage.recto.auto.mode">
1089 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1090 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1094 <xsl:template match="releaseinfo" mode="reference.titlepage.recto.auto.mode">
1095 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1096 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1100 <xsl:template match="copyright" mode="reference.titlepage.recto.auto.mode">
1101 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1102 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1106 <xsl:template match="legalnotice" mode="reference.titlepage.recto.auto.mode">
1107 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1108 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1112 <xsl:template match="pubdate" mode="reference.titlepage.recto.auto.mode">
1113 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1114 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1118 <xsl:template match="revision" mode="reference.titlepage.recto.auto.mode">
1119 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1120 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1124 <xsl:template match="revhistory" mode="reference.titlepage.recto.auto.mode">
1125 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1126 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1130 <xsl:template match="abstract" mode="reference.titlepage.recto.auto.mode">
1131 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
1132 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1136 <xsl:template name="refsynopsisdiv.titlepage.recto">
1138 <xsl:when test="refsynopsisdivinfo/title">
1139 <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="refsynopsisdivinfo/title"/>
1141 <xsl:when test="docinfo/title">
1142 <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="docinfo/title"/>
1144 <xsl:when test="info/title">
1145 <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="info/title"/>
1147 <xsl:when test="title">
1148 <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="title"/>
1154 <xsl:template name="refsynopsisdiv.titlepage.verso">
1157 <xsl:template name="refsynopsisdiv.titlepage.separator">
1160 <xsl:template name="refsynopsisdiv.titlepage.before.recto">
1163 <xsl:template name="refsynopsisdiv.titlepage.before.verso">
1166 <xsl:template name="refsynopsisdiv.titlepage">
1167 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
1168 <xsl:variable name="recto.content">
1169 <xsl:call-template name="refsynopsisdiv.titlepage.before.recto"/>
1170 <xsl:call-template name="refsynopsisdiv.titlepage.recto"/>
1172 <xsl:variable name="recto.elements.count">
1174 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1175 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1176 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1177 <xsl:otherwise>1</xsl:otherwise>
1180 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1181 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1183 <xsl:variable name="verso.content">
1184 <xsl:call-template name="refsynopsisdiv.titlepage.before.verso"/>
1185 <xsl:call-template name="refsynopsisdiv.titlepage.verso"/>
1187 <xsl:variable name="verso.elements.count">
1189 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1190 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1191 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1192 <xsl:otherwise>1</xsl:otherwise>
1195 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1196 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1198 <xsl:call-template name="refsynopsisdiv.titlepage.separator"/>
1202 <xsl:template match="*" mode="refsynopsisdiv.titlepage.recto.mode">
1203 <!-- if an element isn't found in this mode, -->
1204 <!-- try the generic titlepage.mode -->
1205 <xsl:apply-templates select="." mode="titlepage.mode"/>
1208 <xsl:template match="*" mode="refsynopsisdiv.titlepage.verso.mode">
1209 <!-- if an element isn't found in this mode, -->
1210 <!-- try the generic titlepage.mode -->
1211 <xsl:apply-templates select="." mode="titlepage.mode"/>
1214 <xsl:template match="title" mode="refsynopsisdiv.titlepage.recto.auto.mode">
1215 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsynopsisdiv.titlepage.recto.style" font-family="{$title.fontset}">
1216 <xsl:apply-templates select="." mode="refsynopsisdiv.titlepage.recto.mode"/>
1220 <xsl:template name="refsection.titlepage.recto">
1222 <xsl:when test="refsectioninfo/title">
1223 <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="refsectioninfo/title"/>
1225 <xsl:when test="docinfo/title">
1226 <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="docinfo/title"/>
1228 <xsl:when test="info/title">
1229 <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="info/title"/>
1231 <xsl:when test="title">
1232 <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="title"/>
1238 <xsl:template name="refsection.titlepage.verso">
1241 <xsl:template name="refsection.titlepage.separator">
1244 <xsl:template name="refsection.titlepage.before.recto">
1247 <xsl:template name="refsection.titlepage.before.verso">
1250 <xsl:template name="refsection.titlepage">
1251 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
1252 <xsl:variable name="recto.content">
1253 <xsl:call-template name="refsection.titlepage.before.recto"/>
1254 <xsl:call-template name="refsection.titlepage.recto"/>
1256 <xsl:variable name="recto.elements.count">
1258 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1259 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1260 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1261 <xsl:otherwise>1</xsl:otherwise>
1264 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1265 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1267 <xsl:variable name="verso.content">
1268 <xsl:call-template name="refsection.titlepage.before.verso"/>
1269 <xsl:call-template name="refsection.titlepage.verso"/>
1271 <xsl:variable name="verso.elements.count">
1273 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1274 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1275 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1276 <xsl:otherwise>1</xsl:otherwise>
1279 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1280 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1282 <xsl:call-template name="refsection.titlepage.separator"/>
1286 <xsl:template match="*" mode="refsection.titlepage.recto.mode">
1287 <!-- if an element isn't found in this mode, -->
1288 <!-- try the generic titlepage.mode -->
1289 <xsl:apply-templates select="." mode="titlepage.mode"/>
1292 <xsl:template match="*" mode="refsection.titlepage.verso.mode">
1293 <!-- if an element isn't found in this mode, -->
1294 <!-- try the generic titlepage.mode -->
1295 <xsl:apply-templates select="." mode="titlepage.mode"/>
1298 <xsl:template match="title" mode="refsection.titlepage.recto.auto.mode">
1299 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsection.titlepage.recto.style" font-family="{$title.fontset}">
1300 <xsl:apply-templates select="." mode="refsection.titlepage.recto.mode"/>
1304 <xsl:template name="refsect1.titlepage.recto">
1306 <xsl:when test="refsect1info/title">
1307 <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="refsect1info/title"/>
1309 <xsl:when test="docinfo/title">
1310 <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="docinfo/title"/>
1312 <xsl:when test="info/title">
1313 <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="info/title"/>
1315 <xsl:when test="title">
1316 <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="title"/>
1322 <xsl:template name="refsect1.titlepage.verso">
1325 <xsl:template name="refsect1.titlepage.separator">
1328 <xsl:template name="refsect1.titlepage.before.recto">
1331 <xsl:template name="refsect1.titlepage.before.verso">
1334 <xsl:template name="refsect1.titlepage">
1335 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
1336 <xsl:variable name="recto.content">
1337 <xsl:call-template name="refsect1.titlepage.before.recto"/>
1338 <xsl:call-template name="refsect1.titlepage.recto"/>
1340 <xsl:variable name="recto.elements.count">
1342 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1343 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1344 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1345 <xsl:otherwise>1</xsl:otherwise>
1348 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1349 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1351 <xsl:variable name="verso.content">
1352 <xsl:call-template name="refsect1.titlepage.before.verso"/>
1353 <xsl:call-template name="refsect1.titlepage.verso"/>
1355 <xsl:variable name="verso.elements.count">
1357 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1358 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1359 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1360 <xsl:otherwise>1</xsl:otherwise>
1363 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1364 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1366 <xsl:call-template name="refsect1.titlepage.separator"/>
1370 <xsl:template match="*" mode="refsect1.titlepage.recto.mode">
1371 <!-- if an element isn't found in this mode, -->
1372 <!-- try the generic titlepage.mode -->
1373 <xsl:apply-templates select="." mode="titlepage.mode"/>
1376 <xsl:template match="*" mode="refsect1.titlepage.verso.mode">
1377 <!-- if an element isn't found in this mode, -->
1378 <!-- try the generic titlepage.mode -->
1379 <xsl:apply-templates select="." mode="titlepage.mode"/>
1382 <xsl:template match="title" mode="refsect1.titlepage.recto.auto.mode">
1383 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect1.titlepage.recto.style" font-family="{$title.fontset}">
1384 <xsl:apply-templates select="." mode="refsect1.titlepage.recto.mode"/>
1388 <xsl:template name="refsect2.titlepage.recto">
1390 <xsl:when test="refsect2info/title">
1391 <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="refsect2info/title"/>
1393 <xsl:when test="docinfo/title">
1394 <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="docinfo/title"/>
1396 <xsl:when test="info/title">
1397 <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="info/title"/>
1399 <xsl:when test="title">
1400 <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="title"/>
1406 <xsl:template name="refsect2.titlepage.verso">
1409 <xsl:template name="refsect2.titlepage.separator">
1412 <xsl:template name="refsect2.titlepage.before.recto">
1415 <xsl:template name="refsect2.titlepage.before.verso">
1418 <xsl:template name="refsect2.titlepage">
1419 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
1420 <xsl:variable name="recto.content">
1421 <xsl:call-template name="refsect2.titlepage.before.recto"/>
1422 <xsl:call-template name="refsect2.titlepage.recto"/>
1424 <xsl:variable name="recto.elements.count">
1426 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1427 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1428 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1429 <xsl:otherwise>1</xsl:otherwise>
1432 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1433 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1435 <xsl:variable name="verso.content">
1436 <xsl:call-template name="refsect2.titlepage.before.verso"/>
1437 <xsl:call-template name="refsect2.titlepage.verso"/>
1439 <xsl:variable name="verso.elements.count">
1441 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1442 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1443 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1444 <xsl:otherwise>1</xsl:otherwise>
1447 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1448 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1450 <xsl:call-template name="refsect2.titlepage.separator"/>
1454 <xsl:template match="*" mode="refsect2.titlepage.recto.mode">
1455 <!-- if an element isn't found in this mode, -->
1456 <!-- try the generic titlepage.mode -->
1457 <xsl:apply-templates select="." mode="titlepage.mode"/>
1460 <xsl:template match="*" mode="refsect2.titlepage.verso.mode">
1461 <!-- if an element isn't found in this mode, -->
1462 <!-- try the generic titlepage.mode -->
1463 <xsl:apply-templates select="." mode="titlepage.mode"/>
1466 <xsl:template match="title" mode="refsect2.titlepage.recto.auto.mode">
1467 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect2.titlepage.recto.style" font-family="{$title.fontset}">
1468 <xsl:apply-templates select="." mode="refsect2.titlepage.recto.mode"/>
1472 <xsl:template name="refsect3.titlepage.recto">
1474 <xsl:when test="refsect3info/title">
1475 <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="refsect3info/title"/>
1477 <xsl:when test="docinfo/title">
1478 <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="docinfo/title"/>
1480 <xsl:when test="info/title">
1481 <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="info/title"/>
1483 <xsl:when test="title">
1484 <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="title"/>
1490 <xsl:template name="refsect3.titlepage.verso">
1493 <xsl:template name="refsect3.titlepage.separator">
1496 <xsl:template name="refsect3.titlepage.before.recto">
1499 <xsl:template name="refsect3.titlepage.before.verso">
1502 <xsl:template name="refsect3.titlepage">
1503 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
1504 <xsl:variable name="recto.content">
1505 <xsl:call-template name="refsect3.titlepage.before.recto"/>
1506 <xsl:call-template name="refsect3.titlepage.recto"/>
1508 <xsl:variable name="recto.elements.count">
1510 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1511 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1512 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1513 <xsl:otherwise>1</xsl:otherwise>
1516 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1517 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1519 <xsl:variable name="verso.content">
1520 <xsl:call-template name="refsect3.titlepage.before.verso"/>
1521 <xsl:call-template name="refsect3.titlepage.verso"/>
1523 <xsl:variable name="verso.elements.count">
1525 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1526 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1527 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1528 <xsl:otherwise>1</xsl:otherwise>
1531 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1532 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1534 <xsl:call-template name="refsect3.titlepage.separator"/>
1538 <xsl:template match="*" mode="refsect3.titlepage.recto.mode">
1539 <!-- if an element isn't found in this mode, -->
1540 <!-- try the generic titlepage.mode -->
1541 <xsl:apply-templates select="." mode="titlepage.mode"/>
1544 <xsl:template match="*" mode="refsect3.titlepage.verso.mode">
1545 <!-- if an element isn't found in this mode, -->
1546 <!-- try the generic titlepage.mode -->
1547 <xsl:apply-templates select="." mode="titlepage.mode"/>
1550 <xsl:template match="title" mode="refsect3.titlepage.recto.auto.mode">
1551 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect3.titlepage.recto.style" font-family="{$title.fontset}">
1552 <xsl:apply-templates select="." mode="refsect3.titlepage.recto.mode"/>
1556 <xsl:template name="dedication.titlepage.recto">
1557 <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">
1558 <xsl:call-template name="component.title">
1559 <xsl:with-param name="node" select="ancestor-or-self::dedication[1]"/>
1560 </xsl:call-template></fo:block>
1562 <xsl:when test="dedicationinfo/subtitle">
1563 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="dedicationinfo/subtitle"/>
1565 <xsl:when test="docinfo/subtitle">
1566 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
1568 <xsl:when test="info/subtitle">
1569 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="info/subtitle"/>
1571 <xsl:when test="subtitle">
1572 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="subtitle"/>
1578 <xsl:template name="dedication.titlepage.verso">
1581 <xsl:template name="dedication.titlepage.separator">
1584 <xsl:template name="dedication.titlepage.before.recto">
1587 <xsl:template name="dedication.titlepage.before.verso">
1590 <xsl:template name="dedication.titlepage">
1591 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
1592 <xsl:variable name="recto.content">
1593 <xsl:call-template name="dedication.titlepage.before.recto"/>
1594 <xsl:call-template name="dedication.titlepage.recto"/>
1596 <xsl:variable name="recto.elements.count">
1598 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1599 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1600 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1601 <xsl:otherwise>1</xsl:otherwise>
1604 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1605 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1607 <xsl:variable name="verso.content">
1608 <xsl:call-template name="dedication.titlepage.before.verso"/>
1609 <xsl:call-template name="dedication.titlepage.verso"/>
1611 <xsl:variable name="verso.elements.count">
1613 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1614 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1615 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1616 <xsl:otherwise>1</xsl:otherwise>
1619 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1620 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1622 <xsl:call-template name="dedication.titlepage.separator"/>
1626 <xsl:template match="*" mode="dedication.titlepage.recto.mode">
1627 <!-- if an element isn't found in this mode, -->
1628 <!-- try the generic titlepage.mode -->
1629 <xsl:apply-templates select="." mode="titlepage.mode"/>
1632 <xsl:template match="*" mode="dedication.titlepage.verso.mode">
1633 <!-- if an element isn't found in this mode, -->
1634 <!-- try the generic titlepage.mode -->
1635 <xsl:apply-templates select="." mode="titlepage.mode"/>
1638 <xsl:template match="subtitle" mode="dedication.titlepage.recto.auto.mode">
1639 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="dedication.titlepage.recto.style" font-family="{$title.fontset}">
1640 <xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/>
1644 <xsl:template name="acknowledgements.titlepage.recto">
1645 <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">
1646 <xsl:call-template name="component.title">
1647 <xsl:with-param name="node" select="ancestor-or-self::acknowledgements[1]"/>
1648 </xsl:call-template></fo:block>
1650 <xsl:when test="acknowledgementsinfo/subtitle">
1651 <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="acknowledgementsinfo/subtitle"/>
1653 <xsl:when test="docinfo/subtitle">
1654 <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
1656 <xsl:when test="info/subtitle">
1657 <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="info/subtitle"/>
1659 <xsl:when test="subtitle">
1660 <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="subtitle"/>
1666 <xsl:template name="acknowledgements.titlepage.verso">
1669 <xsl:template name="acknowledgements.titlepage.separator">
1672 <xsl:template name="acknowledgements.titlepage.before.recto">
1675 <xsl:template name="acknowledgements.titlepage.before.verso">
1678 <xsl:template name="acknowledgements.titlepage">
1679 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
1680 <xsl:variable name="recto.content">
1681 <xsl:call-template name="acknowledgements.titlepage.before.recto"/>
1682 <xsl:call-template name="acknowledgements.titlepage.recto"/>
1684 <xsl:variable name="recto.elements.count">
1686 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1687 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1688 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1689 <xsl:otherwise>1</xsl:otherwise>
1692 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1693 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1695 <xsl:variable name="verso.content">
1696 <xsl:call-template name="acknowledgements.titlepage.before.verso"/>
1697 <xsl:call-template name="acknowledgements.titlepage.verso"/>
1699 <xsl:variable name="verso.elements.count">
1701 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1702 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1703 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1704 <xsl:otherwise>1</xsl:otherwise>
1707 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1708 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1710 <xsl:call-template name="acknowledgements.titlepage.separator"/>
1714 <xsl:template match="*" mode="acknowledgements.titlepage.recto.mode">
1715 <!-- if an element isn't found in this mode, -->
1716 <!-- try the generic titlepage.mode -->
1717 <xsl:apply-templates select="." mode="titlepage.mode"/>
1720 <xsl:template match="*" mode="acknowledgements.titlepage.verso.mode">
1721 <!-- if an element isn't found in this mode, -->
1722 <!-- try the generic titlepage.mode -->
1723 <xsl:apply-templates select="." mode="titlepage.mode"/>
1726 <xsl:template match="subtitle" mode="acknowledgements.titlepage.recto.auto.mode">
1727 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="acknowledgements.titlepage.recto.style" font-family="{$title.fontset}">
1728 <xsl:apply-templates select="." mode="acknowledgements.titlepage.recto.mode"/>
1732 <xsl:template name="preface.titlepage.recto">
1733 <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">
1734 <xsl:call-template name="component.title">
1735 <xsl:with-param name="node" select="ancestor-or-self::preface[1]"/>
1736 </xsl:call-template></fo:block>
1738 <xsl:when test="prefaceinfo/subtitle">
1739 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/subtitle"/>
1741 <xsl:when test="docinfo/subtitle">
1742 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
1744 <xsl:when test="info/subtitle">
1745 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/subtitle"/>
1747 <xsl:when test="subtitle">
1748 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="subtitle"/>
1752 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/corpauthor"/>
1753 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
1754 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/corpauthor"/>
1755 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/authorgroup"/>
1756 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
1757 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/authorgroup"/>
1758 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/author"/>
1759 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/author"/>
1760 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/author"/>
1761 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/othercredit"/>
1762 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
1763 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/othercredit"/>
1764 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/releaseinfo"/>
1765 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
1766 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/releaseinfo"/>
1767 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/copyright"/>
1768 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/copyright"/>
1769 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/copyright"/>
1770 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/legalnotice"/>
1771 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
1772 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/legalnotice"/>
1773 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/pubdate"/>
1774 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
1775 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/pubdate"/>
1776 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revision"/>
1777 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revision"/>
1778 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revision"/>
1779 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revhistory"/>
1780 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
1781 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revhistory"/>
1782 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/abstract"/>
1783 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract"/>
1784 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/abstract"/>
1787 <xsl:template name="preface.titlepage.verso">
1790 <xsl:template name="preface.titlepage.separator">
1793 <xsl:template name="preface.titlepage.before.recto">
1796 <xsl:template name="preface.titlepage.before.verso">
1799 <xsl:template name="preface.titlepage">
1800 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
1801 <xsl:variable name="recto.content">
1802 <xsl:call-template name="preface.titlepage.before.recto"/>
1803 <xsl:call-template name="preface.titlepage.recto"/>
1805 <xsl:variable name="recto.elements.count">
1807 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1808 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1809 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1810 <xsl:otherwise>1</xsl:otherwise>
1813 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1814 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1816 <xsl:variable name="verso.content">
1817 <xsl:call-template name="preface.titlepage.before.verso"/>
1818 <xsl:call-template name="preface.titlepage.verso"/>
1820 <xsl:variable name="verso.elements.count">
1822 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1823 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1824 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1825 <xsl:otherwise>1</xsl:otherwise>
1828 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1829 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1831 <xsl:call-template name="preface.titlepage.separator"/>
1835 <xsl:template match="*" mode="preface.titlepage.recto.mode">
1836 <!-- if an element isn't found in this mode, -->
1837 <!-- try the generic titlepage.mode -->
1838 <xsl:apply-templates select="." mode="titlepage.mode"/>
1841 <xsl:template match="*" mode="preface.titlepage.verso.mode">
1842 <!-- if an element isn't found in this mode, -->
1843 <!-- try the generic titlepage.mode -->
1844 <xsl:apply-templates select="." mode="titlepage.mode"/>
1847 <xsl:template match="subtitle" mode="preface.titlepage.recto.auto.mode">
1848 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style" font-family="{$title.fontset}">
1849 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1853 <xsl:template match="corpauthor" mode="preface.titlepage.recto.auto.mode">
1854 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1855 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1859 <xsl:template match="authorgroup" mode="preface.titlepage.recto.auto.mode">
1860 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1861 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1865 <xsl:template match="author" mode="preface.titlepage.recto.auto.mode">
1866 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1867 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1871 <xsl:template match="othercredit" mode="preface.titlepage.recto.auto.mode">
1872 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1873 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1877 <xsl:template match="releaseinfo" mode="preface.titlepage.recto.auto.mode">
1878 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1879 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1883 <xsl:template match="copyright" mode="preface.titlepage.recto.auto.mode">
1884 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1885 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1889 <xsl:template match="legalnotice" mode="preface.titlepage.recto.auto.mode">
1890 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1891 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1895 <xsl:template match="pubdate" mode="preface.titlepage.recto.auto.mode">
1896 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1897 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1901 <xsl:template match="revision" mode="preface.titlepage.recto.auto.mode">
1902 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1903 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1907 <xsl:template match="revhistory" mode="preface.titlepage.recto.auto.mode">
1908 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1909 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1913 <xsl:template match="abstract" mode="preface.titlepage.recto.auto.mode">
1914 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
1915 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1919 <xsl:template name="chapter.titlepage.recto">
1921 <xsl:when test="chapterinfo/title">
1922 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/title"/>
1924 <xsl:when test="docinfo/title">
1925 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/title"/>
1927 <xsl:when test="info/title">
1928 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/title"/>
1930 <xsl:when test="title">
1931 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="title"/>
1936 <xsl:when test="chapterinfo/subtitle">
1937 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/subtitle"/>
1939 <xsl:when test="docinfo/subtitle">
1940 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
1942 <xsl:when test="info/subtitle">
1943 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/subtitle"/>
1945 <xsl:when test="subtitle">
1946 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="subtitle"/>
1950 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/corpauthor"/>
1951 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
1952 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/corpauthor"/>
1953 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/authorgroup"/>
1954 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
1955 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/authorgroup"/>
1956 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/author"/>
1957 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/author"/>
1958 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/author"/>
1959 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/othercredit"/>
1960 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
1961 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/othercredit"/>
1962 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/releaseinfo"/>
1963 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
1964 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/releaseinfo"/>
1965 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/copyright"/>
1966 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/copyright"/>
1967 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/copyright"/>
1968 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/legalnotice"/>
1969 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
1970 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/legalnotice"/>
1971 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/pubdate"/>
1972 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
1973 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/pubdate"/>
1974 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revision"/>
1975 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revision"/>
1976 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revision"/>
1977 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revhistory"/>
1978 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
1979 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revhistory"/>
1980 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/abstract"/>
1981 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/abstract"/>
1982 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/abstract"/>
1985 <xsl:template name="chapter.titlepage.verso">
1988 <xsl:template name="chapter.titlepage.separator">
1991 <xsl:template name="chapter.titlepage.before.recto">
1994 <xsl:template name="chapter.titlepage.before.verso">
1997 <xsl:template name="chapter.titlepage">
1998 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="{$title.fontset}">
1999 <xsl:variable name="recto.content">
2000 <xsl:call-template name="chapter.titlepage.before.recto"/>
2001 <xsl:call-template name="chapter.titlepage.recto"/>
2003 <xsl:variable name="recto.elements.count">
2005 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2006 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2007 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2008 <xsl:otherwise>1</xsl:otherwise>
2011 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2012 <fo:block margin-left="{$title.margin.left}"><xsl:copy-of select="$recto.content"/></fo:block>
2014 <xsl:variable name="verso.content">
2015 <xsl:call-template name="chapter.titlepage.before.verso"/>
2016 <xsl:call-template name="chapter.titlepage.verso"/>
2018 <xsl:variable name="verso.elements.count">
2020 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2021 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2022 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2023 <xsl:otherwise>1</xsl:otherwise>
2026 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2027 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
2029 <xsl:call-template name="chapter.titlepage.separator"/>
2033 <xsl:template match="*" mode="chapter.titlepage.recto.mode">
2034 <!-- if an element isn't found in this mode, -->
2035 <!-- try the generic titlepage.mode -->
2036 <xsl:apply-templates select="." mode="titlepage.mode"/>
2039 <xsl:template match="*" mode="chapter.titlepage.verso.mode">
2040 <!-- if an element isn't found in this mode, -->
2041 <!-- try the generic titlepage.mode -->
2042 <xsl:apply-templates select="." mode="titlepage.mode"/>
2045 <xsl:template match="title" mode="chapter.titlepage.recto.auto.mode">
2046 <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">
2047 <xsl:call-template name="component.title">
2048 <xsl:with-param name="node" select="ancestor-or-self::chapter[1]"/>
2049 </xsl:call-template>
2053 <xsl:template match="subtitle" 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" space-before="0.5em" font-style="italic" font-size="14.4pt" font-weight="bold">
2055 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2059 <xsl:template match="corpauthor" mode="chapter.titlepage.recto.auto.mode">
2060 <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">
2061 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2065 <xsl:template match="authorgroup" mode="chapter.titlepage.recto.auto.mode">
2066 <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">
2067 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2071 <xsl:template match="author" mode="chapter.titlepage.recto.auto.mode">
2072 <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">
2073 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2077 <xsl:template match="othercredit" mode="chapter.titlepage.recto.auto.mode">
2078 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
2079 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2083 <xsl:template match="releaseinfo" mode="chapter.titlepage.recto.auto.mode">
2084 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
2085 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2089 <xsl:template match="copyright" mode="chapter.titlepage.recto.auto.mode">
2090 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
2091 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2095 <xsl:template match="legalnotice" mode="chapter.titlepage.recto.auto.mode">
2096 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
2097 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2101 <xsl:template match="pubdate" mode="chapter.titlepage.recto.auto.mode">
2102 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
2103 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2107 <xsl:template match="revision" mode="chapter.titlepage.recto.auto.mode">
2108 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
2109 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2113 <xsl:template match="revhistory" mode="chapter.titlepage.recto.auto.mode">
2114 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
2115 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2119 <xsl:template match="abstract" mode="chapter.titlepage.recto.auto.mode">
2120 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
2121 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2125 <xsl:template name="appendix.titlepage.recto">
2127 <xsl:when test="appendixinfo/title">
2128 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/title"/>
2130 <xsl:when test="docinfo/title">
2131 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/title"/>
2133 <xsl:when test="info/title">
2134 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/title"/>
2136 <xsl:when test="title">
2137 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="title"/>
2142 <xsl:when test="appendixinfo/subtitle">
2143 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/subtitle"/>
2145 <xsl:when test="docinfo/subtitle">
2146 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
2148 <xsl:when test="info/subtitle">
2149 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/subtitle"/>
2151 <xsl:when test="subtitle">
2152 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="subtitle"/>
2156 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/corpauthor"/>
2157 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
2158 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/corpauthor"/>
2159 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/authorgroup"/>
2160 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
2161 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/authorgroup"/>
2162 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/author"/>
2163 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/author"/>
2164 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/author"/>
2165 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/othercredit"/>
2166 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
2167 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/othercredit"/>
2168 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/releaseinfo"/>
2169 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
2170 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/releaseinfo"/>
2171 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/copyright"/>
2172 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/copyright"/>
2173 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/copyright"/>
2174 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/legalnotice"/>
2175 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
2176 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/legalnotice"/>
2177 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/pubdate"/>
2178 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
2179 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/pubdate"/>
2180 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revision"/>
2181 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revision"/>
2182 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revision"/>
2183 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revhistory"/>
2184 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
2185 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revhistory"/>
2186 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/abstract"/>
2187 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/abstract"/>
2188 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/abstract"/>
2191 <xsl:template name="appendix.titlepage.verso">
2194 <xsl:template name="appendix.titlepage.separator">
2197 <xsl:template name="appendix.titlepage.before.recto">
2200 <xsl:template name="appendix.titlepage.before.verso">
2203 <xsl:template name="appendix.titlepage">
2204 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
2205 <xsl:variable name="recto.content">
2206 <xsl:call-template name="appendix.titlepage.before.recto"/>
2207 <xsl:call-template name="appendix.titlepage.recto"/>
2209 <xsl:variable name="recto.elements.count">
2211 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2212 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2213 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2214 <xsl:otherwise>1</xsl:otherwise>
2217 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2218 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
2220 <xsl:variable name="verso.content">
2221 <xsl:call-template name="appendix.titlepage.before.verso"/>
2222 <xsl:call-template name="appendix.titlepage.verso"/>
2224 <xsl:variable name="verso.elements.count">
2226 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2227 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2228 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2229 <xsl:otherwise>1</xsl:otherwise>
2232 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2233 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
2235 <xsl:call-template name="appendix.titlepage.separator"/>
2239 <xsl:template match="*" mode="appendix.titlepage.recto.mode">
2240 <!-- if an element isn't found in this mode, -->
2241 <!-- try the generic titlepage.mode -->
2242 <xsl:apply-templates select="." mode="titlepage.mode"/>
2245 <xsl:template match="*" mode="appendix.titlepage.verso.mode">
2246 <!-- if an element isn't found in this mode, -->
2247 <!-- try the generic titlepage.mode -->
2248 <xsl:apply-templates select="." mode="titlepage.mode"/>
2251 <xsl:template match="title" mode="appendix.titlepage.recto.auto.mode">
2252 <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}">
2253 <xsl:call-template name="component.title">
2254 <xsl:with-param name="node" select="ancestor-or-self::appendix[1]"/>
2255 </xsl:call-template>
2259 <xsl:template match="subtitle" 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" font-family="{$title.fontset}">
2261 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2265 <xsl:template match="corpauthor" mode="appendix.titlepage.recto.auto.mode">
2266 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2267 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2271 <xsl:template match="authorgroup" mode="appendix.titlepage.recto.auto.mode">
2272 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2273 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2277 <xsl:template match="author" mode="appendix.titlepage.recto.auto.mode">
2278 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2279 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2283 <xsl:template match="othercredit" mode="appendix.titlepage.recto.auto.mode">
2284 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2285 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2289 <xsl:template match="releaseinfo" mode="appendix.titlepage.recto.auto.mode">
2290 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2291 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2295 <xsl:template match="copyright" mode="appendix.titlepage.recto.auto.mode">
2296 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2297 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2301 <xsl:template match="legalnotice" mode="appendix.titlepage.recto.auto.mode">
2302 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2303 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2307 <xsl:template match="pubdate" mode="appendix.titlepage.recto.auto.mode">
2308 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2309 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2313 <xsl:template match="revision" mode="appendix.titlepage.recto.auto.mode">
2314 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2315 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2319 <xsl:template match="revhistory" mode="appendix.titlepage.recto.auto.mode">
2320 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2321 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2325 <xsl:template match="abstract" mode="appendix.titlepage.recto.auto.mode">
2326 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
2327 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2331 <xsl:template name="section.titlepage.recto">
2333 <xsl:when test="sectioninfo/title">
2334 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/title"/>
2336 <xsl:when test="info/title">
2337 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/title"/>
2339 <xsl:when test="title">
2340 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="title"/>
2345 <xsl:when test="sectioninfo/subtitle">
2346 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/subtitle"/>
2348 <xsl:when test="info/subtitle">
2349 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/subtitle"/>
2351 <xsl:when test="subtitle">
2352 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="subtitle"/>
2356 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/corpauthor"/>
2357 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/corpauthor"/>
2358 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/authorgroup"/>
2359 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/authorgroup"/>
2360 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/author"/>
2361 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/author"/>
2362 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/othercredit"/>
2363 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/othercredit"/>
2364 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/releaseinfo"/>
2365 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/releaseinfo"/>
2366 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/copyright"/>
2367 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/copyright"/>
2368 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/legalnotice"/>
2369 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/legalnotice"/>
2370 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/pubdate"/>
2371 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/pubdate"/>
2372 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revision"/>
2373 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revision"/>
2374 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revhistory"/>
2375 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revhistory"/>
2376 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/abstract"/>
2377 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/abstract"/>
2380 <xsl:template name="section.titlepage.verso">
2383 <xsl:template name="section.titlepage.separator">
2386 <xsl:template name="section.titlepage.before.recto">
2389 <xsl:template name="section.titlepage.before.verso">
2392 <xsl:template name="section.titlepage">
2393 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
2394 <xsl:variable name="recto.content">
2395 <xsl:call-template name="section.titlepage.before.recto"/>
2396 <xsl:call-template name="section.titlepage.recto"/>
2398 <xsl:variable name="recto.elements.count">
2400 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2401 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2402 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2403 <xsl:otherwise>1</xsl:otherwise>
2406 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2407 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
2409 <xsl:variable name="verso.content">
2410 <xsl:call-template name="section.titlepage.before.verso"/>
2411 <xsl:call-template name="section.titlepage.verso"/>
2413 <xsl:variable name="verso.elements.count">
2415 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2416 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2417 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2418 <xsl:otherwise>1</xsl:otherwise>
2421 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2422 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
2424 <xsl:call-template name="section.titlepage.separator"/>
2428 <xsl:template match="*" mode="section.titlepage.recto.mode">
2429 <!-- if an element isn't found in this mode, -->
2430 <!-- try the generic titlepage.mode -->
2431 <xsl:apply-templates select="." mode="titlepage.mode"/>
2434 <xsl:template match="*" mode="section.titlepage.verso.mode">
2435 <!-- if an element isn't found in this mode, -->
2436 <!-- try the generic titlepage.mode -->
2437 <xsl:apply-templates select="." mode="titlepage.mode"/>
2440 <xsl:template match="title" mode="section.titlepage.recto.auto.mode">
2441 <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}">
2442 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2446 <xsl:template match="subtitle" mode="section.titlepage.recto.auto.mode">
2447 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style" font-family="{$title.fontset}">
2448 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2452 <xsl:template match="corpauthor" mode="section.titlepage.recto.auto.mode">
2453 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2454 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2458 <xsl:template match="authorgroup" mode="section.titlepage.recto.auto.mode">
2459 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2460 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2464 <xsl:template match="author" mode="section.titlepage.recto.auto.mode">
2465 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2466 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2470 <xsl:template match="othercredit" mode="section.titlepage.recto.auto.mode">
2471 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2472 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2476 <xsl:template match="releaseinfo" mode="section.titlepage.recto.auto.mode">
2477 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2478 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2482 <xsl:template match="copyright" mode="section.titlepage.recto.auto.mode">
2483 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2484 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2488 <xsl:template match="legalnotice" mode="section.titlepage.recto.auto.mode">
2489 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2490 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2494 <xsl:template match="pubdate" mode="section.titlepage.recto.auto.mode">
2495 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2496 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2500 <xsl:template match="revision" mode="section.titlepage.recto.auto.mode">
2501 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2502 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2506 <xsl:template match="revhistory" mode="section.titlepage.recto.auto.mode">
2507 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2508 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2512 <xsl:template match="abstract" mode="section.titlepage.recto.auto.mode">
2513 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
2514 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2518 <xsl:template name="sect1.titlepage.recto">
2520 <xsl:when test="sect1info/title">
2521 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/title"/>
2523 <xsl:when test="info/title">
2524 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/title"/>
2526 <xsl:when test="title">
2527 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="title"/>
2532 <xsl:when test="sect1info/subtitle">
2533 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/subtitle"/>
2535 <xsl:when test="info/subtitle">
2536 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/subtitle"/>
2538 <xsl:when test="subtitle">
2539 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="subtitle"/>
2543 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/corpauthor"/>
2544 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/corpauthor"/>
2545 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/authorgroup"/>
2546 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/authorgroup"/>
2547 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/author"/>
2548 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/author"/>
2549 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/othercredit"/>
2550 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/othercredit"/>
2551 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/releaseinfo"/>
2552 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/releaseinfo"/>
2553 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/copyright"/>
2554 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/copyright"/>
2555 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/legalnotice"/>
2556 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/legalnotice"/>
2557 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/pubdate"/>
2558 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/pubdate"/>
2559 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revision"/>
2560 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revision"/>
2561 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revhistory"/>
2562 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revhistory"/>
2563 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/abstract"/>
2564 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/abstract"/>
2567 <xsl:template name="sect1.titlepage.verso">
2570 <xsl:template name="sect1.titlepage.separator">
2573 <xsl:template name="sect1.titlepage.before.recto">
2576 <xsl:template name="sect1.titlepage.before.verso">
2579 <xsl:template name="sect1.titlepage">
2580 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
2581 <xsl:variable name="recto.content">
2582 <xsl:call-template name="sect1.titlepage.before.recto"/>
2583 <xsl:call-template name="sect1.titlepage.recto"/>
2585 <xsl:variable name="recto.elements.count">
2587 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2588 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2589 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2590 <xsl:otherwise>1</xsl:otherwise>
2593 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2594 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
2596 <xsl:variable name="verso.content">
2597 <xsl:call-template name="sect1.titlepage.before.verso"/>
2598 <xsl:call-template name="sect1.titlepage.verso"/>
2600 <xsl:variable name="verso.elements.count">
2602 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2603 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2604 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2605 <xsl:otherwise>1</xsl:otherwise>
2608 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2609 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
2611 <xsl:call-template name="sect1.titlepage.separator"/>
2615 <xsl:template match="*" mode="sect1.titlepage.recto.mode">
2616 <!-- if an element isn't found in this mode, -->
2617 <!-- try the generic titlepage.mode -->
2618 <xsl:apply-templates select="." mode="titlepage.mode"/>
2621 <xsl:template match="*" mode="sect1.titlepage.verso.mode">
2622 <!-- if an element isn't found in this mode, -->
2623 <!-- try the generic titlepage.mode -->
2624 <xsl:apply-templates select="." mode="titlepage.mode"/>
2627 <xsl:template match="title" mode="sect1.titlepage.recto.auto.mode">
2628 <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}">
2629 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2633 <xsl:template match="subtitle" mode="sect1.titlepage.recto.auto.mode">
2634 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style" font-family="{$title.fontset}">
2635 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2639 <xsl:template match="corpauthor" mode="sect1.titlepage.recto.auto.mode">
2640 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2641 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2645 <xsl:template match="authorgroup" mode="sect1.titlepage.recto.auto.mode">
2646 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2647 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2651 <xsl:template match="author" mode="sect1.titlepage.recto.auto.mode">
2652 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2653 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2657 <xsl:template match="othercredit" mode="sect1.titlepage.recto.auto.mode">
2658 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2659 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2663 <xsl:template match="releaseinfo" mode="sect1.titlepage.recto.auto.mode">
2664 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2665 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2669 <xsl:template match="copyright" mode="sect1.titlepage.recto.auto.mode">
2670 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2671 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2675 <xsl:template match="legalnotice" mode="sect1.titlepage.recto.auto.mode">
2676 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2677 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2681 <xsl:template match="pubdate" mode="sect1.titlepage.recto.auto.mode">
2682 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2683 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2687 <xsl:template match="revision" mode="sect1.titlepage.recto.auto.mode">
2688 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2689 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2693 <xsl:template match="revhistory" mode="sect1.titlepage.recto.auto.mode">
2694 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2695 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2699 <xsl:template match="abstract" mode="sect1.titlepage.recto.auto.mode">
2700 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
2701 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2705 <xsl:template name="sect2.titlepage.recto">
2707 <xsl:when test="sect2info/title">
2708 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/title"/>
2710 <xsl:when test="info/title">
2711 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/title"/>
2713 <xsl:when test="title">
2714 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="title"/>
2719 <xsl:when test="sect2info/subtitle">
2720 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/subtitle"/>
2722 <xsl:when test="info/subtitle">
2723 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/subtitle"/>
2725 <xsl:when test="subtitle">
2726 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="subtitle"/>
2730 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/corpauthor"/>
2731 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/corpauthor"/>
2732 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/authorgroup"/>
2733 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/authorgroup"/>
2734 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/author"/>
2735 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/author"/>
2736 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/othercredit"/>
2737 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/othercredit"/>
2738 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/releaseinfo"/>
2739 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/releaseinfo"/>
2740 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/copyright"/>
2741 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/copyright"/>
2742 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/legalnotice"/>
2743 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/legalnotice"/>
2744 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/pubdate"/>
2745 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/pubdate"/>
2746 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revision"/>
2747 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revision"/>
2748 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revhistory"/>
2749 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revhistory"/>
2750 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/abstract"/>
2751 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/abstract"/>
2754 <xsl:template name="sect2.titlepage.verso">
2757 <xsl:template name="sect2.titlepage.separator">
2760 <xsl:template name="sect2.titlepage.before.recto">
2763 <xsl:template name="sect2.titlepage.before.verso">
2766 <xsl:template name="sect2.titlepage">
2767 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
2768 <xsl:variable name="recto.content">
2769 <xsl:call-template name="sect2.titlepage.before.recto"/>
2770 <xsl:call-template name="sect2.titlepage.recto"/>
2772 <xsl:variable name="recto.elements.count">
2774 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2775 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2776 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2777 <xsl:otherwise>1</xsl:otherwise>
2780 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2781 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
2783 <xsl:variable name="verso.content">
2784 <xsl:call-template name="sect2.titlepage.before.verso"/>
2785 <xsl:call-template name="sect2.titlepage.verso"/>
2787 <xsl:variable name="verso.elements.count">
2789 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2790 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2791 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2792 <xsl:otherwise>1</xsl:otherwise>
2795 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2796 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
2798 <xsl:call-template name="sect2.titlepage.separator"/>
2802 <xsl:template match="*" mode="sect2.titlepage.recto.mode">
2803 <!-- if an element isn't found in this mode, -->
2804 <!-- try the generic titlepage.mode -->
2805 <xsl:apply-templates select="." mode="titlepage.mode"/>
2808 <xsl:template match="*" mode="sect2.titlepage.verso.mode">
2809 <!-- if an element isn't found in this mode, -->
2810 <!-- try the generic titlepage.mode -->
2811 <xsl:apply-templates select="." mode="titlepage.mode"/>
2814 <xsl:template match="title" mode="sect2.titlepage.recto.auto.mode">
2815 <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}">
2816 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2820 <xsl:template match="subtitle" mode="sect2.titlepage.recto.auto.mode">
2821 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style" font-family="{$title.fontset}">
2822 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2826 <xsl:template match="corpauthor" mode="sect2.titlepage.recto.auto.mode">
2827 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2828 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2832 <xsl:template match="authorgroup" mode="sect2.titlepage.recto.auto.mode">
2833 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2834 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2838 <xsl:template match="author" mode="sect2.titlepage.recto.auto.mode">
2839 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2840 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2844 <xsl:template match="othercredit" mode="sect2.titlepage.recto.auto.mode">
2845 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2846 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2850 <xsl:template match="releaseinfo" mode="sect2.titlepage.recto.auto.mode">
2851 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2852 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2856 <xsl:template match="copyright" mode="sect2.titlepage.recto.auto.mode">
2857 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2858 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2862 <xsl:template match="legalnotice" mode="sect2.titlepage.recto.auto.mode">
2863 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2864 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2868 <xsl:template match="pubdate" mode="sect2.titlepage.recto.auto.mode">
2869 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2870 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2874 <xsl:template match="revision" mode="sect2.titlepage.recto.auto.mode">
2875 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2876 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2880 <xsl:template match="revhistory" mode="sect2.titlepage.recto.auto.mode">
2881 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2882 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2886 <xsl:template match="abstract" mode="sect2.titlepage.recto.auto.mode">
2887 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
2888 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2892 <xsl:template name="sect3.titlepage.recto">
2894 <xsl:when test="sect3info/title">
2895 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/title"/>
2897 <xsl:when test="info/title">
2898 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/title"/>
2900 <xsl:when test="title">
2901 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="title"/>
2906 <xsl:when test="sect3info/subtitle">
2907 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/subtitle"/>
2909 <xsl:when test="info/subtitle">
2910 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/subtitle"/>
2912 <xsl:when test="subtitle">
2913 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="subtitle"/>
2917 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/corpauthor"/>
2918 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/corpauthor"/>
2919 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/authorgroup"/>
2920 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/authorgroup"/>
2921 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/author"/>
2922 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/author"/>
2923 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/othercredit"/>
2924 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/othercredit"/>
2925 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/releaseinfo"/>
2926 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/releaseinfo"/>
2927 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/copyright"/>
2928 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/copyright"/>
2929 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/legalnotice"/>
2930 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/legalnotice"/>
2931 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/pubdate"/>
2932 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/pubdate"/>
2933 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revision"/>
2934 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revision"/>
2935 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revhistory"/>
2936 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revhistory"/>
2937 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/abstract"/>
2938 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/abstract"/>
2941 <xsl:template name="sect3.titlepage.verso">
2944 <xsl:template name="sect3.titlepage.separator">
2947 <xsl:template name="sect3.titlepage.before.recto">
2950 <xsl:template name="sect3.titlepage.before.verso">
2953 <xsl:template name="sect3.titlepage">
2954 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
2955 <xsl:variable name="recto.content">
2956 <xsl:call-template name="sect3.titlepage.before.recto"/>
2957 <xsl:call-template name="sect3.titlepage.recto"/>
2959 <xsl:variable name="recto.elements.count">
2961 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2962 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2963 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2964 <xsl:otherwise>1</xsl:otherwise>
2967 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2968 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
2970 <xsl:variable name="verso.content">
2971 <xsl:call-template name="sect3.titlepage.before.verso"/>
2972 <xsl:call-template name="sect3.titlepage.verso"/>
2974 <xsl:variable name="verso.elements.count">
2976 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2977 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2978 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2979 <xsl:otherwise>1</xsl:otherwise>
2982 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2983 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
2985 <xsl:call-template name="sect3.titlepage.separator"/>
2989 <xsl:template match="*" mode="sect3.titlepage.recto.mode">
2990 <!-- if an element isn't found in this mode, -->
2991 <!-- try the generic titlepage.mode -->
2992 <xsl:apply-templates select="." mode="titlepage.mode"/>
2995 <xsl:template match="*" mode="sect3.titlepage.verso.mode">
2996 <!-- if an element isn't found in this mode, -->
2997 <!-- try the generic titlepage.mode -->
2998 <xsl:apply-templates select="." mode="titlepage.mode"/>
3001 <xsl:template match="title" mode="sect3.titlepage.recto.auto.mode">
3002 <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}">
3003 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3007 <xsl:template match="subtitle" mode="sect3.titlepage.recto.auto.mode">
3008 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style" font-family="{$title.fontset}">
3009 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3013 <xsl:template match="corpauthor" mode="sect3.titlepage.recto.auto.mode">
3014 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3015 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3019 <xsl:template match="authorgroup" mode="sect3.titlepage.recto.auto.mode">
3020 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3021 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3025 <xsl:template match="author" mode="sect3.titlepage.recto.auto.mode">
3026 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3027 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3031 <xsl:template match="othercredit" mode="sect3.titlepage.recto.auto.mode">
3032 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3033 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3037 <xsl:template match="releaseinfo" mode="sect3.titlepage.recto.auto.mode">
3038 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3039 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3043 <xsl:template match="copyright" mode="sect3.titlepage.recto.auto.mode">
3044 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3045 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3049 <xsl:template match="legalnotice" mode="sect3.titlepage.recto.auto.mode">
3050 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3051 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3055 <xsl:template match="pubdate" mode="sect3.titlepage.recto.auto.mode">
3056 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3057 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3061 <xsl:template match="revision" mode="sect3.titlepage.recto.auto.mode">
3062 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3063 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3067 <xsl:template match="revhistory" mode="sect3.titlepage.recto.auto.mode">
3068 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3069 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3073 <xsl:template match="abstract" mode="sect3.titlepage.recto.auto.mode">
3074 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
3075 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3079 <xsl:template name="sect4.titlepage.recto">
3081 <xsl:when test="sect4info/title">
3082 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/title"/>
3084 <xsl:when test="info/title">
3085 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/title"/>
3087 <xsl:when test="title">
3088 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="title"/>
3093 <xsl:when test="sect4info/subtitle">
3094 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/subtitle"/>
3096 <xsl:when test="info/subtitle">
3097 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/subtitle"/>
3099 <xsl:when test="subtitle">
3100 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="subtitle"/>
3104 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/corpauthor"/>
3105 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/corpauthor"/>
3106 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/authorgroup"/>
3107 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/authorgroup"/>
3108 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/author"/>
3109 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/author"/>
3110 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/othercredit"/>
3111 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/othercredit"/>
3112 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/releaseinfo"/>
3113 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/releaseinfo"/>
3114 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/copyright"/>
3115 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/copyright"/>
3116 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/legalnotice"/>
3117 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/legalnotice"/>
3118 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/pubdate"/>
3119 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/pubdate"/>
3120 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revision"/>
3121 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revision"/>
3122 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revhistory"/>
3123 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revhistory"/>
3124 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/abstract"/>
3125 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/abstract"/>
3128 <xsl:template name="sect4.titlepage.verso">
3131 <xsl:template name="sect4.titlepage.separator">
3134 <xsl:template name="sect4.titlepage.before.recto">
3137 <xsl:template name="sect4.titlepage.before.verso">
3140 <xsl:template name="sect4.titlepage">
3141 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
3142 <xsl:variable name="recto.content">
3143 <xsl:call-template name="sect4.titlepage.before.recto"/>
3144 <xsl:call-template name="sect4.titlepage.recto"/>
3146 <xsl:variable name="recto.elements.count">
3148 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3149 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3150 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3151 <xsl:otherwise>1</xsl:otherwise>
3154 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3155 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
3157 <xsl:variable name="verso.content">
3158 <xsl:call-template name="sect4.titlepage.before.verso"/>
3159 <xsl:call-template name="sect4.titlepage.verso"/>
3161 <xsl:variable name="verso.elements.count">
3163 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3164 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3165 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3166 <xsl:otherwise>1</xsl:otherwise>
3169 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3170 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
3172 <xsl:call-template name="sect4.titlepage.separator"/>
3176 <xsl:template match="*" mode="sect4.titlepage.recto.mode">
3177 <!-- if an element isn't found in this mode, -->
3178 <!-- try the generic titlepage.mode -->
3179 <xsl:apply-templates select="." mode="titlepage.mode"/>
3182 <xsl:template match="*" mode="sect4.titlepage.verso.mode">
3183 <!-- if an element isn't found in this mode, -->
3184 <!-- try the generic titlepage.mode -->
3185 <xsl:apply-templates select="." mode="titlepage.mode"/>
3188 <xsl:template match="title" mode="sect4.titlepage.recto.auto.mode">
3189 <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}">
3190 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3194 <xsl:template match="subtitle" mode="sect4.titlepage.recto.auto.mode">
3195 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style" font-family="{$title.fontset}">
3196 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3200 <xsl:template match="corpauthor" mode="sect4.titlepage.recto.auto.mode">
3201 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3202 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3206 <xsl:template match="authorgroup" mode="sect4.titlepage.recto.auto.mode">
3207 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3208 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3212 <xsl:template match="author" mode="sect4.titlepage.recto.auto.mode">
3213 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3214 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3218 <xsl:template match="othercredit" mode="sect4.titlepage.recto.auto.mode">
3219 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3220 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3224 <xsl:template match="releaseinfo" mode="sect4.titlepage.recto.auto.mode">
3225 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3226 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3230 <xsl:template match="copyright" mode="sect4.titlepage.recto.auto.mode">
3231 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3232 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3236 <xsl:template match="legalnotice" mode="sect4.titlepage.recto.auto.mode">
3237 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3238 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3242 <xsl:template match="pubdate" mode="sect4.titlepage.recto.auto.mode">
3243 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3244 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3248 <xsl:template match="revision" mode="sect4.titlepage.recto.auto.mode">
3249 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3250 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3254 <xsl:template match="revhistory" mode="sect4.titlepage.recto.auto.mode">
3255 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3256 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3260 <xsl:template match="abstract" mode="sect4.titlepage.recto.auto.mode">
3261 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
3262 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3266 <xsl:template name="sect5.titlepage.recto">
3268 <xsl:when test="sect5info/title">
3269 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/title"/>
3271 <xsl:when test="info/title">
3272 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/title"/>
3274 <xsl:when test="title">
3275 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="title"/>
3280 <xsl:when test="sect5info/subtitle">
3281 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/subtitle"/>
3283 <xsl:when test="info/subtitle">
3284 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/subtitle"/>
3286 <xsl:when test="subtitle">
3287 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="subtitle"/>
3291 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/corpauthor"/>
3292 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/corpauthor"/>
3293 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/authorgroup"/>
3294 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/authorgroup"/>
3295 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/author"/>
3296 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/author"/>
3297 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/othercredit"/>
3298 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/othercredit"/>
3299 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/releaseinfo"/>
3300 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/releaseinfo"/>
3301 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/copyright"/>
3302 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/copyright"/>
3303 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/legalnotice"/>
3304 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/legalnotice"/>
3305 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/pubdate"/>
3306 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/pubdate"/>
3307 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revision"/>
3308 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revision"/>
3309 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revhistory"/>
3310 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revhistory"/>
3311 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/abstract"/>
3312 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/abstract"/>
3315 <xsl:template name="sect5.titlepage.verso">
3318 <xsl:template name="sect5.titlepage.separator">
3321 <xsl:template name="sect5.titlepage.before.recto">
3324 <xsl:template name="sect5.titlepage.before.verso">
3327 <xsl:template name="sect5.titlepage">
3328 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
3329 <xsl:variable name="recto.content">
3330 <xsl:call-template name="sect5.titlepage.before.recto"/>
3331 <xsl:call-template name="sect5.titlepage.recto"/>
3333 <xsl:variable name="recto.elements.count">
3335 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3336 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3337 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3338 <xsl:otherwise>1</xsl:otherwise>
3341 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3342 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
3344 <xsl:variable name="verso.content">
3345 <xsl:call-template name="sect5.titlepage.before.verso"/>
3346 <xsl:call-template name="sect5.titlepage.verso"/>
3348 <xsl:variable name="verso.elements.count">
3350 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3351 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3352 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3353 <xsl:otherwise>1</xsl:otherwise>
3356 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3357 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
3359 <xsl:call-template name="sect5.titlepage.separator"/>
3363 <xsl:template match="*" mode="sect5.titlepage.recto.mode">
3364 <!-- if an element isn't found in this mode, -->
3365 <!-- try the generic titlepage.mode -->
3366 <xsl:apply-templates select="." mode="titlepage.mode"/>
3369 <xsl:template match="*" mode="sect5.titlepage.verso.mode">
3370 <!-- if an element isn't found in this mode, -->
3371 <!-- try the generic titlepage.mode -->
3372 <xsl:apply-templates select="." mode="titlepage.mode"/>
3375 <xsl:template match="title" mode="sect5.titlepage.recto.auto.mode">
3376 <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}">
3377 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3381 <xsl:template match="subtitle" mode="sect5.titlepage.recto.auto.mode">
3382 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style" font-family="{$title.fontset}">
3383 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3387 <xsl:template match="corpauthor" mode="sect5.titlepage.recto.auto.mode">
3388 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3389 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3393 <xsl:template match="authorgroup" mode="sect5.titlepage.recto.auto.mode">
3394 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3395 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3399 <xsl:template match="author" mode="sect5.titlepage.recto.auto.mode">
3400 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3401 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3405 <xsl:template match="othercredit" mode="sect5.titlepage.recto.auto.mode">
3406 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3407 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3411 <xsl:template match="releaseinfo" mode="sect5.titlepage.recto.auto.mode">
3412 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3413 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3417 <xsl:template match="copyright" mode="sect5.titlepage.recto.auto.mode">
3418 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3419 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3423 <xsl:template match="legalnotice" mode="sect5.titlepage.recto.auto.mode">
3424 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3425 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3429 <xsl:template match="pubdate" mode="sect5.titlepage.recto.auto.mode">
3430 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3431 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3435 <xsl:template match="revision" mode="sect5.titlepage.recto.auto.mode">
3436 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3437 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3441 <xsl:template match="revhistory" mode="sect5.titlepage.recto.auto.mode">
3442 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3443 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3447 <xsl:template match="abstract" mode="sect5.titlepage.recto.auto.mode">
3448 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
3449 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3453 <xsl:template name="simplesect.titlepage.recto">
3455 <xsl:when test="simplesectinfo/title">
3456 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/title"/>
3458 <xsl:when test="docinfo/title">
3459 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/title"/>
3461 <xsl:when test="info/title">
3462 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/title"/>
3464 <xsl:when test="title">
3465 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="title"/>
3470 <xsl:when test="simplesectinfo/subtitle">
3471 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/subtitle"/>
3473 <xsl:when test="docinfo/subtitle">
3474 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3476 <xsl:when test="info/subtitle">
3477 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/subtitle"/>
3479 <xsl:when test="subtitle">
3480 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="subtitle"/>
3484 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/corpauthor"/>
3485 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
3486 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/corpauthor"/>
3487 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/authorgroup"/>
3488 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
3489 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/authorgroup"/>
3490 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/author"/>
3491 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/author"/>
3492 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/author"/>
3493 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/othercredit"/>
3494 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
3495 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/othercredit"/>
3496 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/releaseinfo"/>
3497 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
3498 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/releaseinfo"/>
3499 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/copyright"/>
3500 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/copyright"/>
3501 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/copyright"/>
3502 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/legalnotice"/>
3503 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
3504 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/legalnotice"/>
3505 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/pubdate"/>
3506 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
3507 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/pubdate"/>
3508 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revision"/>
3509 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revision"/>
3510 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revision"/>
3511 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revhistory"/>
3512 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
3513 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revhistory"/>
3514 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/abstract"/>
3515 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/abstract"/>
3516 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/abstract"/>
3519 <xsl:template name="simplesect.titlepage.verso">
3522 <xsl:template name="simplesect.titlepage.separator">
3525 <xsl:template name="simplesect.titlepage.before.recto">
3528 <xsl:template name="simplesect.titlepage.before.verso">
3531 <xsl:template name="simplesect.titlepage">
3532 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
3533 <xsl:variable name="recto.content">
3534 <xsl:call-template name="simplesect.titlepage.before.recto"/>
3535 <xsl:call-template name="simplesect.titlepage.recto"/>
3537 <xsl:variable name="recto.elements.count">
3539 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3540 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3541 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3542 <xsl:otherwise>1</xsl:otherwise>
3545 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3546 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
3548 <xsl:variable name="verso.content">
3549 <xsl:call-template name="simplesect.titlepage.before.verso"/>
3550 <xsl:call-template name="simplesect.titlepage.verso"/>
3552 <xsl:variable name="verso.elements.count">
3554 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3555 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3556 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3557 <xsl:otherwise>1</xsl:otherwise>
3560 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3561 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
3563 <xsl:call-template name="simplesect.titlepage.separator"/>
3567 <xsl:template match="*" mode="simplesect.titlepage.recto.mode">
3568 <!-- if an element isn't found in this mode, -->
3569 <!-- try the generic titlepage.mode -->
3570 <xsl:apply-templates select="." mode="titlepage.mode"/>
3573 <xsl:template match="*" mode="simplesect.titlepage.verso.mode">
3574 <!-- if an element isn't found in this mode, -->
3575 <!-- try the generic titlepage.mode -->
3576 <xsl:apply-templates select="." mode="titlepage.mode"/>
3579 <xsl:template match="title" mode="simplesect.titlepage.recto.auto.mode">
3580 <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}">
3581 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3585 <xsl:template match="subtitle" mode="simplesect.titlepage.recto.auto.mode">
3586 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style" font-family="{$title.fontset}">
3587 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3591 <xsl:template match="corpauthor" mode="simplesect.titlepage.recto.auto.mode">
3592 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3593 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3597 <xsl:template match="authorgroup" mode="simplesect.titlepage.recto.auto.mode">
3598 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3599 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3603 <xsl:template match="author" mode="simplesect.titlepage.recto.auto.mode">
3604 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3605 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3609 <xsl:template match="othercredit" mode="simplesect.titlepage.recto.auto.mode">
3610 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3611 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3615 <xsl:template match="releaseinfo" mode="simplesect.titlepage.recto.auto.mode">
3616 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3617 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3621 <xsl:template match="copyright" mode="simplesect.titlepage.recto.auto.mode">
3622 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3623 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3627 <xsl:template match="legalnotice" mode="simplesect.titlepage.recto.auto.mode">
3628 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3629 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3633 <xsl:template match="pubdate" mode="simplesect.titlepage.recto.auto.mode">
3634 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3635 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3639 <xsl:template match="revision" mode="simplesect.titlepage.recto.auto.mode">
3640 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3641 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3645 <xsl:template match="revhistory" mode="simplesect.titlepage.recto.auto.mode">
3646 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3647 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3651 <xsl:template match="abstract" mode="simplesect.titlepage.recto.auto.mode">
3652 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3653 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3657 <xsl:template name="bibliography.titlepage.recto">
3658 <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">
3659 <xsl:call-template name="component.title">
3660 <xsl:with-param name="node" select="ancestor-or-self::bibliography[1]"/>
3661 </xsl:call-template></fo:block>
3663 <xsl:when test="bibliographyinfo/subtitle">
3664 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/subtitle"/>
3666 <xsl:when test="docinfo/subtitle">
3667 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3669 <xsl:when test="info/subtitle">
3670 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="info/subtitle"/>
3672 <xsl:when test="subtitle">
3673 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="subtitle"/>
3679 <xsl:template name="bibliography.titlepage.verso">
3682 <xsl:template name="bibliography.titlepage.separator">
3685 <xsl:template name="bibliography.titlepage.before.recto">
3688 <xsl:template name="bibliography.titlepage.before.verso">
3691 <xsl:template name="bibliography.titlepage">
3692 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
3693 <xsl:variable name="recto.content">
3694 <xsl:call-template name="bibliography.titlepage.before.recto"/>
3695 <xsl:call-template name="bibliography.titlepage.recto"/>
3697 <xsl:variable name="recto.elements.count">
3699 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3700 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3701 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3702 <xsl:otherwise>1</xsl:otherwise>
3705 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3706 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
3708 <xsl:variable name="verso.content">
3709 <xsl:call-template name="bibliography.titlepage.before.verso"/>
3710 <xsl:call-template name="bibliography.titlepage.verso"/>
3712 <xsl:variable name="verso.elements.count">
3714 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3715 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3716 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3717 <xsl:otherwise>1</xsl:otherwise>
3720 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3721 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
3723 <xsl:call-template name="bibliography.titlepage.separator"/>
3727 <xsl:template match="*" mode="bibliography.titlepage.recto.mode">
3728 <!-- if an element isn't found in this mode, -->
3729 <!-- try the generic titlepage.mode -->
3730 <xsl:apply-templates select="." mode="titlepage.mode"/>
3733 <xsl:template match="*" mode="bibliography.titlepage.verso.mode">
3734 <!-- if an element isn't found in this mode, -->
3735 <!-- try the generic titlepage.mode -->
3736 <xsl:apply-templates select="." mode="titlepage.mode"/>
3739 <xsl:template match="subtitle" mode="bibliography.titlepage.recto.auto.mode">
3740 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliography.titlepage.recto.style" font-family="{$title.fontset}">
3741 <xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/>
3745 <xsl:template name="bibliodiv.titlepage.recto">
3747 <xsl:when test="bibliodivinfo/title">
3748 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="bibliodivinfo/title"/>
3750 <xsl:when test="docinfo/title">
3751 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="docinfo/title"/>
3753 <xsl:when test="info/title">
3754 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="info/title"/>
3756 <xsl:when test="title">
3757 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="title"/>
3762 <xsl:when test="bibliodivinfo/subtitle">
3763 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="bibliodivinfo/subtitle"/>
3765 <xsl:when test="docinfo/subtitle">
3766 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3768 <xsl:when test="info/subtitle">
3769 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="info/subtitle"/>
3771 <xsl:when test="subtitle">
3772 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="subtitle"/>
3778 <xsl:template name="bibliodiv.titlepage.verso">
3781 <xsl:template name="bibliodiv.titlepage.separator">
3784 <xsl:template name="bibliodiv.titlepage.before.recto">
3787 <xsl:template name="bibliodiv.titlepage.before.verso">
3790 <xsl:template name="bibliodiv.titlepage">
3791 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
3792 <xsl:variable name="recto.content">
3793 <xsl:call-template name="bibliodiv.titlepage.before.recto"/>
3794 <xsl:call-template name="bibliodiv.titlepage.recto"/>
3796 <xsl:variable name="recto.elements.count">
3798 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3799 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3800 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3801 <xsl:otherwise>1</xsl:otherwise>
3804 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3805 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
3807 <xsl:variable name="verso.content">
3808 <xsl:call-template name="bibliodiv.titlepage.before.verso"/>
3809 <xsl:call-template name="bibliodiv.titlepage.verso"/>
3811 <xsl:variable name="verso.elements.count">
3813 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3814 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3815 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3816 <xsl:otherwise>1</xsl:otherwise>
3819 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3820 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
3822 <xsl:call-template name="bibliodiv.titlepage.separator"/>
3826 <xsl:template match="*" mode="bibliodiv.titlepage.recto.mode">
3827 <!-- if an element isn't found in this mode, -->
3828 <!-- try the generic titlepage.mode -->
3829 <xsl:apply-templates select="." mode="titlepage.mode"/>
3832 <xsl:template match="*" mode="bibliodiv.titlepage.verso.mode">
3833 <!-- if an element isn't found in this mode, -->
3834 <!-- try the generic titlepage.mode -->
3835 <xsl:apply-templates select="." mode="titlepage.mode"/>
3838 <xsl:template match="title" mode="bibliodiv.titlepage.recto.auto.mode">
3839 <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">
3840 <xsl:call-template name="component.title">
3841 <xsl:with-param name="node" select="ancestor-or-self::bibliodiv[1]"/>
3842 </xsl:call-template>
3846 <xsl:template match="subtitle" 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" font-family="{$title.fontset}">
3848 <xsl:apply-templates select="." mode="bibliodiv.titlepage.recto.mode"/>
3852 <xsl:template name="glossary.titlepage.recto">
3853 <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">
3854 <xsl:call-template name="component.title">
3855 <xsl:with-param name="node" select="ancestor-or-self::glossary[1]"/>
3856 </xsl:call-template></fo:block>
3858 <xsl:when test="glossaryinfo/subtitle">
3859 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/subtitle"/>
3861 <xsl:when test="docinfo/subtitle">
3862 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3864 <xsl:when test="info/subtitle">
3865 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="info/subtitle"/>
3867 <xsl:when test="subtitle">
3868 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="subtitle"/>
3874 <xsl:template name="glossary.titlepage.verso">
3877 <xsl:template name="glossary.titlepage.separator">
3880 <xsl:template name="glossary.titlepage.before.recto">
3883 <xsl:template name="glossary.titlepage.before.verso">
3886 <xsl:template name="glossary.titlepage">
3887 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
3888 <xsl:variable name="recto.content">
3889 <xsl:call-template name="glossary.titlepage.before.recto"/>
3890 <xsl:call-template name="glossary.titlepage.recto"/>
3892 <xsl:variable name="recto.elements.count">
3894 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3895 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3896 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3897 <xsl:otherwise>1</xsl:otherwise>
3900 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3901 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
3903 <xsl:variable name="verso.content">
3904 <xsl:call-template name="glossary.titlepage.before.verso"/>
3905 <xsl:call-template name="glossary.titlepage.verso"/>
3907 <xsl:variable name="verso.elements.count">
3909 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3910 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3911 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3912 <xsl:otherwise>1</xsl:otherwise>
3915 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3916 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
3918 <xsl:call-template name="glossary.titlepage.separator"/>
3922 <xsl:template match="*" mode="glossary.titlepage.recto.mode">
3923 <!-- if an element isn't found in this mode, -->
3924 <!-- try the generic titlepage.mode -->
3925 <xsl:apply-templates select="." mode="titlepage.mode"/>
3928 <xsl:template match="*" mode="glossary.titlepage.verso.mode">
3929 <!-- if an element isn't found in this mode, -->
3930 <!-- try the generic titlepage.mode -->
3931 <xsl:apply-templates select="." mode="titlepage.mode"/>
3934 <xsl:template match="subtitle" mode="glossary.titlepage.recto.auto.mode">
3935 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossary.titlepage.recto.style" font-family="{$title.fontset}">
3936 <xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/>
3940 <xsl:template name="glossdiv.titlepage.recto">
3942 <xsl:when test="glossdivinfo/title">
3943 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="glossdivinfo/title"/>
3945 <xsl:when test="docinfo/title">
3946 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="docinfo/title"/>
3948 <xsl:when test="info/title">
3949 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="info/title"/>
3951 <xsl:when test="title">
3952 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="title"/>
3957 <xsl:when test="glossdivinfo/subtitle">
3958 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="glossdivinfo/subtitle"/>
3960 <xsl:when test="docinfo/subtitle">
3961 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
3963 <xsl:when test="info/subtitle">
3964 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="info/subtitle"/>
3966 <xsl:when test="subtitle">
3967 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="subtitle"/>
3973 <xsl:template name="glossdiv.titlepage.verso">
3976 <xsl:template name="glossdiv.titlepage.separator">
3979 <xsl:template name="glossdiv.titlepage.before.recto">
3982 <xsl:template name="glossdiv.titlepage.before.verso">
3985 <xsl:template name="glossdiv.titlepage">
3986 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
3987 <xsl:variable name="recto.content">
3988 <xsl:call-template name="glossdiv.titlepage.before.recto"/>
3989 <xsl:call-template name="glossdiv.titlepage.recto"/>
3991 <xsl:variable name="recto.elements.count">
3993 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3994 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3995 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3996 <xsl:otherwise>1</xsl:otherwise>
3999 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4000 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4002 <xsl:variable name="verso.content">
4003 <xsl:call-template name="glossdiv.titlepage.before.verso"/>
4004 <xsl:call-template name="glossdiv.titlepage.verso"/>
4006 <xsl:variable name="verso.elements.count">
4008 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4009 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4010 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4011 <xsl:otherwise>1</xsl:otherwise>
4014 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4015 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4017 <xsl:call-template name="glossdiv.titlepage.separator"/>
4021 <xsl:template match="*" mode="glossdiv.titlepage.recto.mode">
4022 <!-- if an element isn't found in this mode, -->
4023 <!-- try the generic titlepage.mode -->
4024 <xsl:apply-templates select="." mode="titlepage.mode"/>
4027 <xsl:template match="*" mode="glossdiv.titlepage.verso.mode">
4028 <!-- if an element isn't found in this mode, -->
4029 <!-- try the generic titlepage.mode -->
4030 <xsl:apply-templates select="." mode="titlepage.mode"/>
4033 <xsl:template match="title" mode="glossdiv.titlepage.recto.auto.mode">
4034 <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">
4035 <xsl:call-template name="component.title">
4036 <xsl:with-param name="node" select="ancestor-or-self::glossdiv[1]"/>
4037 </xsl:call-template>
4041 <xsl:template match="subtitle" 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" font-family="{$title.fontset}">
4043 <xsl:apply-templates select="." mode="glossdiv.titlepage.recto.mode"/>
4047 <xsl:template name="index.titlepage.recto">
4048 <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">
4049 <xsl:call-template name="component.title">
4050 <xsl:with-param name="node" select="ancestor-or-self::index[1]"/>
4051 <xsl:with-param name="pagewide" select="1"/>
4052 </xsl:call-template></fo:block>
4054 <xsl:when test="indexinfo/subtitle">
4055 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="indexinfo/subtitle"/>
4057 <xsl:when test="docinfo/subtitle">
4058 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
4060 <xsl:when test="info/subtitle">
4061 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="info/subtitle"/>
4063 <xsl:when test="subtitle">
4064 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="subtitle"/>
4070 <xsl:template name="index.titlepage.verso">
4073 <xsl:template name="index.titlepage.separator">
4076 <xsl:template name="index.titlepage.before.recto">
4079 <xsl:template name="index.titlepage.before.verso">
4082 <xsl:template name="index.titlepage">
4083 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
4084 <xsl:variable name="recto.content">
4085 <xsl:call-template name="index.titlepage.before.recto"/>
4086 <xsl:call-template name="index.titlepage.recto"/>
4088 <xsl:variable name="recto.elements.count">
4090 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4091 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4092 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4093 <xsl:otherwise>1</xsl:otherwise>
4096 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4097 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4099 <xsl:variable name="verso.content">
4100 <xsl:call-template name="index.titlepage.before.verso"/>
4101 <xsl:call-template name="index.titlepage.verso"/>
4103 <xsl:variable name="verso.elements.count">
4105 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4106 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4107 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4108 <xsl:otherwise>1</xsl:otherwise>
4111 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4112 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4114 <xsl:call-template name="index.titlepage.separator"/>
4118 <xsl:template match="*" mode="index.titlepage.recto.mode">
4119 <!-- if an element isn't found in this mode, -->
4120 <!-- try the generic titlepage.mode -->
4121 <xsl:apply-templates select="." mode="titlepage.mode"/>
4124 <xsl:template match="*" mode="index.titlepage.verso.mode">
4125 <!-- if an element isn't found in this mode, -->
4126 <!-- try the generic titlepage.mode -->
4127 <xsl:apply-templates select="." mode="titlepage.mode"/>
4130 <xsl:template match="subtitle" mode="index.titlepage.recto.auto.mode">
4131 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="index.titlepage.recto.style" font-family="{$title.fontset}">
4132 <xsl:apply-templates select="." mode="index.titlepage.recto.mode"/>
4136 <xsl:template name="indexdiv.titlepage.recto">
4137 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="indexdiv.titlepage.recto.style">
4138 <xsl:call-template name="indexdiv.title">
4139 <xsl:with-param name="title" select="title"/>
4140 </xsl:call-template></fo:block>
4142 <xsl:when test="indexdivinfo/subtitle">
4143 <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="indexdivinfo/subtitle"/>
4145 <xsl:when test="docinfo/subtitle">
4146 <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
4148 <xsl:when test="info/subtitle">
4149 <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="info/subtitle"/>
4151 <xsl:when test="subtitle">
4152 <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="subtitle"/>
4158 <xsl:template name="indexdiv.titlepage.verso">
4161 <xsl:template name="indexdiv.titlepage.separator">
4164 <xsl:template name="indexdiv.titlepage.before.recto">
4167 <xsl:template name="indexdiv.titlepage.before.verso">
4170 <xsl:template name="indexdiv.titlepage">
4171 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
4172 <xsl:variable name="recto.content">
4173 <xsl:call-template name="indexdiv.titlepage.before.recto"/>
4174 <xsl:call-template name="indexdiv.titlepage.recto"/>
4176 <xsl:variable name="recto.elements.count">
4178 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4179 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4180 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4181 <xsl:otherwise>1</xsl:otherwise>
4184 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4185 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4187 <xsl:variable name="verso.content">
4188 <xsl:call-template name="indexdiv.titlepage.before.verso"/>
4189 <xsl:call-template name="indexdiv.titlepage.verso"/>
4191 <xsl:variable name="verso.elements.count">
4193 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4194 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4195 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4196 <xsl:otherwise>1</xsl:otherwise>
4199 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4200 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4202 <xsl:call-template name="indexdiv.titlepage.separator"/>
4206 <xsl:template match="*" mode="indexdiv.titlepage.recto.mode">
4207 <!-- if an element isn't found in this mode, -->
4208 <!-- try the generic titlepage.mode -->
4209 <xsl:apply-templates select="." mode="titlepage.mode"/>
4212 <xsl:template match="*" mode="indexdiv.titlepage.verso.mode">
4213 <!-- if an element isn't found in this mode, -->
4214 <!-- try the generic titlepage.mode -->
4215 <xsl:apply-templates select="." mode="titlepage.mode"/>
4218 <xsl:template match="subtitle" mode="indexdiv.titlepage.recto.auto.mode">
4219 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="indexdiv.titlepage.recto.style" font-family="{$title.fontset}">
4220 <xsl:apply-templates select="." mode="indexdiv.titlepage.recto.mode"/>
4224 <xsl:template name="setindex.titlepage.recto">
4225 <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">
4226 <xsl:call-template name="component.title">
4227 <xsl:with-param name="node" select="ancestor-or-self::setindex[1]"/>
4228 <xsl:with-param name="pagewide" select="1"/>
4229 </xsl:call-template></fo:block>
4231 <xsl:when test="setindexinfo/subtitle">
4232 <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="setindexinfo/subtitle"/>
4234 <xsl:when test="docinfo/subtitle">
4235 <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
4237 <xsl:when test="info/subtitle">
4238 <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="info/subtitle"/>
4240 <xsl:when test="subtitle">
4241 <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="subtitle"/>
4247 <xsl:template name="setindex.titlepage.verso">
4250 <xsl:template name="setindex.titlepage.separator">
4253 <xsl:template name="setindex.titlepage.before.recto">
4256 <xsl:template name="setindex.titlepage.before.verso">
4259 <xsl:template name="setindex.titlepage">
4260 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
4261 <xsl:variable name="recto.content">
4262 <xsl:call-template name="setindex.titlepage.before.recto"/>
4263 <xsl:call-template name="setindex.titlepage.recto"/>
4265 <xsl:variable name="recto.elements.count">
4267 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4268 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4269 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4270 <xsl:otherwise>1</xsl:otherwise>
4273 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4274 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4276 <xsl:variable name="verso.content">
4277 <xsl:call-template name="setindex.titlepage.before.verso"/>
4278 <xsl:call-template name="setindex.titlepage.verso"/>
4280 <xsl:variable name="verso.elements.count">
4282 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4283 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4284 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4285 <xsl:otherwise>1</xsl:otherwise>
4288 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4289 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4291 <xsl:call-template name="setindex.titlepage.separator"/>
4295 <xsl:template match="*" mode="setindex.titlepage.recto.mode">
4296 <!-- if an element isn't found in this mode, -->
4297 <!-- try the generic titlepage.mode -->
4298 <xsl:apply-templates select="." mode="titlepage.mode"/>
4301 <xsl:template match="*" mode="setindex.titlepage.verso.mode">
4302 <!-- if an element isn't found in this mode, -->
4303 <!-- try the generic titlepage.mode -->
4304 <xsl:apply-templates select="." mode="titlepage.mode"/>
4307 <xsl:template match="subtitle" mode="setindex.titlepage.recto.auto.mode">
4308 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="setindex.titlepage.recto.style" font-family="{$title.fontset}">
4309 <xsl:apply-templates select="." mode="setindex.titlepage.recto.mode"/>
4313 <xsl:template name="colophon.titlepage.recto">
4314 <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">
4315 <xsl:call-template name="component.title">
4316 <xsl:with-param name="node" select="ancestor-or-self::colophon[1]"/>
4317 </xsl:call-template></fo:block>
4319 <xsl:when test="colophoninfo/subtitle">
4320 <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="colophoninfo/subtitle"/>
4322 <xsl:when test="docinfo/subtitle">
4323 <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
4325 <xsl:when test="info/subtitle">
4326 <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="info/subtitle"/>
4328 <xsl:when test="subtitle">
4329 <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="subtitle"/>
4335 <xsl:template name="colophon.titlepage.verso">
4338 <xsl:template name="colophon.titlepage.separator">
4341 <xsl:template name="colophon.titlepage.before.recto">
4344 <xsl:template name="colophon.titlepage.before.verso">
4347 <xsl:template name="colophon.titlepage">
4348 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
4349 <xsl:variable name="recto.content">
4350 <xsl:call-template name="colophon.titlepage.before.recto"/>
4351 <xsl:call-template name="colophon.titlepage.recto"/>
4353 <xsl:variable name="recto.elements.count">
4355 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4356 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4357 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4358 <xsl:otherwise>1</xsl:otherwise>
4361 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4362 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4364 <xsl:variable name="verso.content">
4365 <xsl:call-template name="colophon.titlepage.before.verso"/>
4366 <xsl:call-template name="colophon.titlepage.verso"/>
4368 <xsl:variable name="verso.elements.count">
4370 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4371 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4372 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4373 <xsl:otherwise>1</xsl:otherwise>
4376 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4377 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4379 <xsl:call-template name="colophon.titlepage.separator"/>
4383 <xsl:template match="*" mode="colophon.titlepage.recto.mode">
4384 <!-- if an element isn't found in this mode, -->
4385 <!-- try the generic titlepage.mode -->
4386 <xsl:apply-templates select="." mode="titlepage.mode"/>
4389 <xsl:template match="*" mode="colophon.titlepage.verso.mode">
4390 <!-- if an element isn't found in this mode, -->
4391 <!-- try the generic titlepage.mode -->
4392 <xsl:apply-templates select="." mode="titlepage.mode"/>
4395 <xsl:template match="subtitle" mode="colophon.titlepage.recto.auto.mode">
4396 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="colophon.titlepage.recto.style" font-family="{$title.fontset}">
4397 <xsl:apply-templates select="." mode="colophon.titlepage.recto.mode"/>
4401 <xsl:template name="sidebar.titlepage.recto">
4403 <xsl:when test="sidebarinfo/title">
4404 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/title"/>
4406 <xsl:when test="docinfo/title">
4407 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/title"/>
4409 <xsl:when test="info/title">
4410 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/title"/>
4412 <xsl:when test="title">
4413 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="title"/>
4418 <xsl:when test="sidebarinfo/subtitle">
4419 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/subtitle"/>
4421 <xsl:when test="docinfo/subtitle">
4422 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
4424 <xsl:when test="info/subtitle">
4425 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/subtitle"/>
4427 <xsl:when test="subtitle">
4428 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="subtitle"/>
4434 <xsl:template name="sidebar.titlepage.verso">
4437 <xsl:template name="sidebar.titlepage.separator">
4440 <xsl:template name="sidebar.titlepage.before.recto">
4443 <xsl:template name="sidebar.titlepage.before.verso">
4446 <xsl:template name="sidebar.titlepage">
4447 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
4448 <xsl:variable name="recto.content">
4449 <xsl:call-template name="sidebar.titlepage.before.recto"/>
4450 <xsl:call-template name="sidebar.titlepage.recto"/>
4452 <xsl:variable name="recto.elements.count">
4454 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4455 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4456 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4457 <xsl:otherwise>1</xsl:otherwise>
4460 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4461 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4463 <xsl:variable name="verso.content">
4464 <xsl:call-template name="sidebar.titlepage.before.verso"/>
4465 <xsl:call-template name="sidebar.titlepage.verso"/>
4467 <xsl:variable name="verso.elements.count">
4469 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4470 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4471 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4472 <xsl:otherwise>1</xsl:otherwise>
4475 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4476 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4478 <xsl:call-template name="sidebar.titlepage.separator"/>
4482 <xsl:template match="*" mode="sidebar.titlepage.recto.mode">
4483 <!-- if an element isn't found in this mode, -->
4484 <!-- try the generic titlepage.mode -->
4485 <xsl:apply-templates select="." mode="titlepage.mode"/>
4488 <xsl:template match="*" mode="sidebar.titlepage.verso.mode">
4489 <!-- if an element isn't found in this mode, -->
4490 <!-- try the generic titlepage.mode -->
4491 <xsl:apply-templates select="." mode="titlepage.mode"/>
4494 <xsl:template match="title" mode="sidebar.titlepage.recto.auto.mode">
4495 <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">
4496 <xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/>
4500 <xsl:template match="subtitle" mode="sidebar.titlepage.recto.auto.mode">
4501 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sidebar.titlepage.recto.style" font-family="{$title.fontset}">
4502 <xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/>
4506 <xsl:template name="qandaset.titlepage.recto">
4508 <xsl:when test="qandasetinfo/title">
4509 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/title"/>
4511 <xsl:when test="blockinfo/title">
4512 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/title"/>
4514 <xsl:when test="info/title">
4515 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/title"/>
4517 <xsl:when test="title">
4518 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="title"/>
4523 <xsl:when test="qandasetinfo/subtitle">
4524 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/subtitle"/>
4526 <xsl:when test="blockinfo/subtitle">
4527 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/subtitle"/>
4529 <xsl:when test="info/subtitle">
4530 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/subtitle"/>
4532 <xsl:when test="subtitle">
4533 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="subtitle"/>
4537 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/corpauthor"/>
4538 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/corpauthor"/>
4539 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/corpauthor"/>
4540 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/authorgroup"/>
4541 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/authorgroup"/>
4542 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/authorgroup"/>
4543 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/author"/>
4544 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/author"/>
4545 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/author"/>
4546 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/othercredit"/>
4547 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/othercredit"/>
4548 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/othercredit"/>
4549 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/releaseinfo"/>
4550 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/releaseinfo"/>
4551 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/releaseinfo"/>
4552 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/copyright"/>
4553 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/copyright"/>
4554 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/copyright"/>
4555 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/legalnotice"/>
4556 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/legalnotice"/>
4557 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/legalnotice"/>
4558 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/pubdate"/>
4559 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/pubdate"/>
4560 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/pubdate"/>
4561 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/revision"/>
4562 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/revision"/>
4563 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/revision"/>
4564 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/revhistory"/>
4565 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/revhistory"/>
4566 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/revhistory"/>
4567 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/abstract"/>
4568 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/abstract"/>
4569 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/abstract"/>
4572 <xsl:template name="qandaset.titlepage.verso">
4575 <xsl:template name="qandaset.titlepage.separator">
4578 <xsl:template name="qandaset.titlepage.before.recto">
4581 <xsl:template name="qandaset.titlepage.before.verso">
4584 <xsl:template name="qandaset.titlepage">
4585 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="{$title.fontset}">
4586 <xsl:variable name="recto.content">
4587 <xsl:call-template name="qandaset.titlepage.before.recto"/>
4588 <xsl:call-template name="qandaset.titlepage.recto"/>
4590 <xsl:variable name="recto.elements.count">
4592 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4593 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4594 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4595 <xsl:otherwise>1</xsl:otherwise>
4598 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4599 <fo:block start-indent="0pt" text-align="center"><xsl:copy-of select="$recto.content"/></fo:block>
4601 <xsl:variable name="verso.content">
4602 <xsl:call-template name="qandaset.titlepage.before.verso"/>
4603 <xsl:call-template name="qandaset.titlepage.verso"/>
4605 <xsl:variable name="verso.elements.count">
4607 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4608 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4609 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4610 <xsl:otherwise>1</xsl:otherwise>
4613 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4614 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4616 <xsl:call-template name="qandaset.titlepage.separator"/>
4620 <xsl:template match="*" mode="qandaset.titlepage.recto.mode">
4621 <!-- if an element isn't found in this mode, -->
4622 <!-- try the generic titlepage.mode -->
4623 <xsl:apply-templates select="." mode="titlepage.mode"/>
4626 <xsl:template match="*" mode="qandaset.titlepage.verso.mode">
4627 <!-- if an element isn't found in this mode, -->
4628 <!-- try the generic titlepage.mode -->
4629 <xsl:apply-templates select="." mode="titlepage.mode"/>
4632 <xsl:template match="title" mode="qandaset.titlepage.recto.auto.mode">
4633 <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">
4634 <xsl:call-template name="component.title">
4635 <xsl:with-param name="node" select="ancestor-or-self::qandaset[1]"/>
4636 </xsl:call-template>
4640 <xsl:template match="subtitle" 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">
4642 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4646 <xsl:template match="corpauthor" mode="qandaset.titlepage.recto.auto.mode">
4647 <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">
4648 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4652 <xsl:template match="authorgroup" mode="qandaset.titlepage.recto.auto.mode">
4653 <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">
4654 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4658 <xsl:template match="author" mode="qandaset.titlepage.recto.auto.mode">
4659 <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">
4660 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4664 <xsl:template match="othercredit" mode="qandaset.titlepage.recto.auto.mode">
4665 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
4666 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4670 <xsl:template match="releaseinfo" mode="qandaset.titlepage.recto.auto.mode">
4671 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
4672 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4676 <xsl:template match="copyright" mode="qandaset.titlepage.recto.auto.mode">
4677 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
4678 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4682 <xsl:template match="legalnotice" mode="qandaset.titlepage.recto.auto.mode">
4683 <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}">
4684 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4688 <xsl:template match="pubdate" mode="qandaset.titlepage.recto.auto.mode">
4689 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
4690 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4694 <xsl:template match="revision" mode="qandaset.titlepage.recto.auto.mode">
4695 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
4696 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4700 <xsl:template match="revhistory" mode="qandaset.titlepage.recto.auto.mode">
4701 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
4702 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4706 <xsl:template match="abstract" mode="qandaset.titlepage.recto.auto.mode">
4707 <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}">
4708 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
4712 <xsl:template name="table.of.contents.titlepage.recto">
4713 <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}">
4714 <xsl:call-template name="gentext">
4715 <xsl:with-param name="key" select="'TableofContents'"/>
4716 </xsl:call-template></fo:block>
4719 <xsl:template name="table.of.contents.titlepage.verso">
4722 <xsl:template name="table.of.contents.titlepage.separator">
4725 <xsl:template name="table.of.contents.titlepage.before.recto">
4728 <xsl:template name="table.of.contents.titlepage.before.verso">
4731 <xsl:template name="table.of.contents.titlepage">
4732 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
4733 <xsl:variable name="recto.content">
4734 <xsl:call-template name="table.of.contents.titlepage.before.recto"/>
4735 <xsl:call-template name="table.of.contents.titlepage.recto"/>
4737 <xsl:variable name="recto.elements.count">
4739 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4740 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4741 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4742 <xsl:otherwise>1</xsl:otherwise>
4745 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4746 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4748 <xsl:variable name="verso.content">
4749 <xsl:call-template name="table.of.contents.titlepage.before.verso"/>
4750 <xsl:call-template name="table.of.contents.titlepage.verso"/>
4752 <xsl:variable name="verso.elements.count">
4754 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4755 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4756 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4757 <xsl:otherwise>1</xsl:otherwise>
4760 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4761 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4763 <xsl:call-template name="table.of.contents.titlepage.separator"/>
4767 <xsl:template match="*" mode="table.of.contents.titlepage.recto.mode">
4768 <!-- if an element isn't found in this mode, -->
4769 <!-- try the generic titlepage.mode -->
4770 <xsl:apply-templates select="." mode="titlepage.mode"/>
4773 <xsl:template match="*" mode="table.of.contents.titlepage.verso.mode">
4774 <!-- if an element isn't found in this mode, -->
4775 <!-- try the generic titlepage.mode -->
4776 <xsl:apply-templates select="." mode="titlepage.mode"/>
4779 <xsl:template name="list.of.tables.titlepage.recto">
4780 <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}">
4781 <xsl:call-template name="gentext">
4782 <xsl:with-param name="key" select="'ListofTables'"/>
4783 </xsl:call-template></fo:block>
4786 <xsl:template name="list.of.tables.titlepage.verso">
4789 <xsl:template name="list.of.tables.titlepage.separator">
4792 <xsl:template name="list.of.tables.titlepage.before.recto">
4795 <xsl:template name="list.of.tables.titlepage.before.verso">
4798 <xsl:template name="list.of.tables.titlepage">
4799 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
4800 <xsl:variable name="recto.content">
4801 <xsl:call-template name="list.of.tables.titlepage.before.recto"/>
4802 <xsl:call-template name="list.of.tables.titlepage.recto"/>
4804 <xsl:variable name="recto.elements.count">
4806 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4807 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4808 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4809 <xsl:otherwise>1</xsl:otherwise>
4812 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4813 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4815 <xsl:variable name="verso.content">
4816 <xsl:call-template name="list.of.tables.titlepage.before.verso"/>
4817 <xsl:call-template name="list.of.tables.titlepage.verso"/>
4819 <xsl:variable name="verso.elements.count">
4821 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4822 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4823 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4824 <xsl:otherwise>1</xsl:otherwise>
4827 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4828 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4830 <xsl:call-template name="list.of.tables.titlepage.separator"/>
4834 <xsl:template match="*" mode="list.of.tables.titlepage.recto.mode">
4835 <!-- if an element isn't found in this mode, -->
4836 <!-- try the generic titlepage.mode -->
4837 <xsl:apply-templates select="." mode="titlepage.mode"/>
4840 <xsl:template match="*" mode="list.of.tables.titlepage.verso.mode">
4841 <!-- if an element isn't found in this mode, -->
4842 <!-- try the generic titlepage.mode -->
4843 <xsl:apply-templates select="." mode="titlepage.mode"/>
4846 <xsl:template name="list.of.figures.titlepage.recto">
4847 <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}">
4848 <xsl:call-template name="gentext">
4849 <xsl:with-param name="key" select="'ListofFigures'"/>
4850 </xsl:call-template></fo:block>
4853 <xsl:template name="list.of.figures.titlepage.verso">
4856 <xsl:template name="list.of.figures.titlepage.separator">
4859 <xsl:template name="list.of.figures.titlepage.before.recto">
4862 <xsl:template name="list.of.figures.titlepage.before.verso">
4865 <xsl:template name="list.of.figures.titlepage">
4866 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
4867 <xsl:variable name="recto.content">
4868 <xsl:call-template name="list.of.figures.titlepage.before.recto"/>
4869 <xsl:call-template name="list.of.figures.titlepage.recto"/>
4871 <xsl:variable name="recto.elements.count">
4873 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4874 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4875 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4876 <xsl:otherwise>1</xsl:otherwise>
4879 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4880 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4882 <xsl:variable name="verso.content">
4883 <xsl:call-template name="list.of.figures.titlepage.before.verso"/>
4884 <xsl:call-template name="list.of.figures.titlepage.verso"/>
4886 <xsl:variable name="verso.elements.count">
4888 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4889 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4890 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4891 <xsl:otherwise>1</xsl:otherwise>
4894 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4895 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4897 <xsl:call-template name="list.of.figures.titlepage.separator"/>
4901 <xsl:template match="*" mode="list.of.figures.titlepage.recto.mode">
4902 <!-- if an element isn't found in this mode, -->
4903 <!-- try the generic titlepage.mode -->
4904 <xsl:apply-templates select="." mode="titlepage.mode"/>
4907 <xsl:template match="*" mode="list.of.figures.titlepage.verso.mode">
4908 <!-- if an element isn't found in this mode, -->
4909 <!-- try the generic titlepage.mode -->
4910 <xsl:apply-templates select="." mode="titlepage.mode"/>
4913 <xsl:template name="list.of.examples.titlepage.recto">
4914 <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}">
4915 <xsl:call-template name="gentext">
4916 <xsl:with-param name="key" select="'ListofExamples'"/>
4917 </xsl:call-template></fo:block>
4920 <xsl:template name="list.of.examples.titlepage.verso">
4923 <xsl:template name="list.of.examples.titlepage.separator">
4926 <xsl:template name="list.of.examples.titlepage.before.recto">
4929 <xsl:template name="list.of.examples.titlepage.before.verso">
4932 <xsl:template name="list.of.examples.titlepage">
4933 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
4934 <xsl:variable name="recto.content">
4935 <xsl:call-template name="list.of.examples.titlepage.before.recto"/>
4936 <xsl:call-template name="list.of.examples.titlepage.recto"/>
4938 <xsl:variable name="recto.elements.count">
4940 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4941 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4942 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4943 <xsl:otherwise>1</xsl:otherwise>
4946 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4947 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4949 <xsl:variable name="verso.content">
4950 <xsl:call-template name="list.of.examples.titlepage.before.verso"/>
4951 <xsl:call-template name="list.of.examples.titlepage.verso"/>
4953 <xsl:variable name="verso.elements.count">
4955 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4956 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4957 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4958 <xsl:otherwise>1</xsl:otherwise>
4961 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4962 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4964 <xsl:call-template name="list.of.examples.titlepage.separator"/>
4968 <xsl:template match="*" mode="list.of.examples.titlepage.recto.mode">
4969 <!-- if an element isn't found in this mode, -->
4970 <!-- try the generic titlepage.mode -->
4971 <xsl:apply-templates select="." mode="titlepage.mode"/>
4974 <xsl:template match="*" mode="list.of.examples.titlepage.verso.mode">
4975 <!-- if an element isn't found in this mode, -->
4976 <!-- try the generic titlepage.mode -->
4977 <xsl:apply-templates select="." mode="titlepage.mode"/>
4980 <xsl:template name="list.of.equations.titlepage.recto">
4981 <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}">
4982 <xsl:call-template name="gentext">
4983 <xsl:with-param name="key" select="'ListofEquations'"/>
4984 </xsl:call-template></fo:block>
4987 <xsl:template name="list.of.equations.titlepage.verso">
4990 <xsl:template name="list.of.equations.titlepage.separator">
4993 <xsl:template name="list.of.equations.titlepage.before.recto">
4996 <xsl:template name="list.of.equations.titlepage.before.verso">
4999 <xsl:template name="list.of.equations.titlepage">
5000 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
5001 <xsl:variable name="recto.content">
5002 <xsl:call-template name="list.of.equations.titlepage.before.recto"/>
5003 <xsl:call-template name="list.of.equations.titlepage.recto"/>
5005 <xsl:variable name="recto.elements.count">
5007 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5008 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5009 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5010 <xsl:otherwise>1</xsl:otherwise>
5013 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
5014 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
5016 <xsl:variable name="verso.content">
5017 <xsl:call-template name="list.of.equations.titlepage.before.verso"/>
5018 <xsl:call-template name="list.of.equations.titlepage.verso"/>
5020 <xsl:variable name="verso.elements.count">
5022 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5023 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5024 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5025 <xsl:otherwise>1</xsl:otherwise>
5028 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
5029 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
5031 <xsl:call-template name="list.of.equations.titlepage.separator"/>
5035 <xsl:template match="*" mode="list.of.equations.titlepage.recto.mode">
5036 <!-- if an element isn't found in this mode, -->
5037 <!-- try the generic titlepage.mode -->
5038 <xsl:apply-templates select="." mode="titlepage.mode"/>
5041 <xsl:template match="*" mode="list.of.equations.titlepage.verso.mode">
5042 <!-- if an element isn't found in this mode, -->
5043 <!-- try the generic titlepage.mode -->
5044 <xsl:apply-templates select="." mode="titlepage.mode"/>
5047 <xsl:template name="list.of.procedures.titlepage.recto">
5048 <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}">
5049 <xsl:call-template name="gentext">
5050 <xsl:with-param name="key" select="'ListofProcedures'"/>
5051 </xsl:call-template></fo:block>
5054 <xsl:template name="list.of.procedures.titlepage.verso">
5057 <xsl:template name="list.of.procedures.titlepage.separator">
5060 <xsl:template name="list.of.procedures.titlepage.before.recto">
5063 <xsl:template name="list.of.procedures.titlepage.before.verso">
5066 <xsl:template name="list.of.procedures.titlepage">
5067 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
5068 <xsl:variable name="recto.content">
5069 <xsl:call-template name="list.of.procedures.titlepage.before.recto"/>
5070 <xsl:call-template name="list.of.procedures.titlepage.recto"/>
5072 <xsl:variable name="recto.elements.count">
5074 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5075 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5076 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5077 <xsl:otherwise>1</xsl:otherwise>
5080 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
5081 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
5083 <xsl:variable name="verso.content">
5084 <xsl:call-template name="list.of.procedures.titlepage.before.verso"/>
5085 <xsl:call-template name="list.of.procedures.titlepage.verso"/>
5087 <xsl:variable name="verso.elements.count">
5089 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5090 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5091 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5092 <xsl:otherwise>1</xsl:otherwise>
5095 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
5096 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
5098 <xsl:call-template name="list.of.procedures.titlepage.separator"/>
5102 <xsl:template match="*" mode="list.of.procedures.titlepage.recto.mode">
5103 <!-- if an element isn't found in this mode, -->
5104 <!-- try the generic titlepage.mode -->
5105 <xsl:apply-templates select="." mode="titlepage.mode"/>
5108 <xsl:template match="*" mode="list.of.procedures.titlepage.verso.mode">
5109 <!-- if an element isn't found in this mode, -->
5110 <!-- try the generic titlepage.mode -->
5111 <xsl:apply-templates select="." mode="titlepage.mode"/>
5114 <xsl:template name="list.of.unknowns.titlepage.recto">
5115 <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}">
5116 <xsl:call-template name="gentext">
5117 <xsl:with-param name="key" select="'ListofUnknown'"/>
5118 </xsl:call-template></fo:block>
5121 <xsl:template name="list.of.unknowns.titlepage.verso">
5124 <xsl:template name="list.of.unknowns.titlepage.separator">
5127 <xsl:template name="list.of.unknowns.titlepage.before.recto">
5130 <xsl:template name="list.of.unknowns.titlepage.before.verso">
5133 <xsl:template name="list.of.unknowns.titlepage">
5134 <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
5135 <xsl:variable name="recto.content">
5136 <xsl:call-template name="list.of.unknowns.titlepage.before.recto"/>
5137 <xsl:call-template name="list.of.unknowns.titlepage.recto"/>
5139 <xsl:variable name="recto.elements.count">
5141 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5142 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5143 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5144 <xsl:otherwise>1</xsl:otherwise>
5147 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
5148 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
5150 <xsl:variable name="verso.content">
5151 <xsl:call-template name="list.of.unknowns.titlepage.before.verso"/>
5152 <xsl:call-template name="list.of.unknowns.titlepage.verso"/>
5154 <xsl:variable name="verso.elements.count">
5156 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5157 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5158 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5159 <xsl:otherwise>1</xsl:otherwise>
5162 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
5163 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
5165 <xsl:call-template name="list.of.unknowns.titlepage.separator"/>
5169 <xsl:template match="*" mode="list.of.unknowns.titlepage.recto.mode">
5170 <!-- if an element isn't found in this mode, -->
5171 <!-- try the generic titlepage.mode -->
5172 <xsl:apply-templates select="." mode="titlepage.mode"/>
5175 <xsl:template match="*" mode="list.of.unknowns.titlepage.verso.mode">
5176 <!-- if an element isn't found in this mode, -->
5177 <!-- try the generic titlepage.mode -->
5178 <xsl:apply-templates select="." mode="titlepage.mode"/>