1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:d="http://docbook.org/ns/docbook" xmlns:exsl="http://exslt.org/common" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0" exclude-result-prefixes="exsl d">
4 <!-- This stylesheet was created by template/titlepage.xsl-->
6 <xsl:template name="article.titlepage.recto">
8 <xsl:when test="d:articleinfo/d:title">
9 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:title"/>
11 <xsl:when test="d:artheader/d:title">
12 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:artheader/d:title"/>
14 <xsl:when test="d:info/d:title">
15 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:title"/>
17 <xsl:when test="d:title">
18 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:title"/>
23 <xsl:when test="d:articleinfo/d:subtitle">
24 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:subtitle"/>
26 <xsl:when test="d:artheader/d:subtitle">
27 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:artheader/d:subtitle"/>
29 <xsl:when test="d:info/d:subtitle">
30 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
32 <xsl:when test="d:subtitle">
33 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:subtitle"/>
37 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:corpauthor"/>
38 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:artheader/d:corpauthor"/>
39 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:corpauthor"/>
40 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:authorgroup"/>
41 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:artheader/d:authorgroup"/>
42 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/>
43 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:author"/>
44 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:artheader/d:author"/>
45 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:author"/>
46 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:othercredit"/>
47 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:artheader/d:othercredit"/>
48 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:othercredit"/>
49 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:releaseinfo"/>
50 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:artheader/d:releaseinfo"/>
51 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:releaseinfo"/>
52 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:copyright"/>
53 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:artheader/d:copyright"/>
54 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:copyright"/>
55 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:legalnotice"/>
56 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:artheader/d:legalnotice"/>
57 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:legalnotice"/>
58 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:pubdate"/>
59 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:artheader/d:pubdate"/>
60 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:pubdate"/>
61 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:revision"/>
62 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:artheader/d:revision"/>
63 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:revision"/>
64 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:revhistory"/>
65 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:artheader/d:revhistory"/>
66 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:revhistory"/>
67 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:abstract"/>
68 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:artheader/d:abstract"/>
69 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:abstract"/>
70 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:articleinfo/d:itermset"/>
71 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:artheader/d:itermset"/>
72 <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
75 <xsl:template name="article.titlepage.verso">
78 <xsl:template name="article.titlepage.separator">
81 <xsl:template name="article.titlepage.before.recto">
84 <xsl:template name="article.titlepage.before.verso">
87 <xsl:template name="article.titlepage">
88 <fo:block font-family="{$title.fontset}">
89 <xsl:variable name="recto.content">
90 <xsl:call-template name="article.titlepage.before.recto"/>
91 <xsl:call-template name="article.titlepage.recto"/>
93 <xsl:variable name="recto.elements.count">
95 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
96 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
97 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
98 <xsl:otherwise>1</xsl:otherwise>
101 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
102 <fo:block start-indent="0pt" text-align="center"><xsl:copy-of select="$recto.content"/></fo:block>
104 <xsl:variable name="verso.content">
105 <xsl:call-template name="article.titlepage.before.verso"/>
106 <xsl:call-template name="article.titlepage.verso"/>
108 <xsl:variable name="verso.elements.count">
110 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
111 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
112 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
113 <xsl:otherwise>1</xsl:otherwise>
116 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
117 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
119 <xsl:call-template name="article.titlepage.separator"/>
123 <xsl:template match="*" mode="article.titlepage.recto.mode">
124 <!-- if an element isn't found in this mode, -->
125 <!-- try the generic titlepage.mode -->
126 <xsl:apply-templates select="." mode="titlepage.mode"/>
129 <xsl:template match="*" mode="article.titlepage.verso.mode">
130 <!-- if an element isn't found in this mode, -->
131 <!-- try the generic titlepage.mode -->
132 <xsl:apply-templates select="." mode="titlepage.mode"/>
135 <xsl:template match="d:title" mode="article.titlepage.recto.auto.mode">
136 <fo:block xsl:use-attribute-sets="article.titlepage.recto.style" keep-with-next.within-column="always" font-size="24.8832pt" font-weight="bold">
137 <xsl:call-template name="component.title">
138 <xsl:with-param name="node" select="ancestor-or-self::d:article[1]"/>
143 <xsl:template match="d:subtitle" mode="article.titlepage.recto.auto.mode">
144 <fo:block xsl:use-attribute-sets="article.titlepage.recto.style">
145 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
149 <xsl:template match="d:corpauthor" mode="article.titlepage.recto.auto.mode">
150 <fo:block xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" font-size="14.4pt">
151 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
155 <xsl:template match="d:authorgroup" mode="article.titlepage.recto.auto.mode">
156 <fo:block xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" font-size="14.4pt">
157 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
161 <xsl:template match="d:author" mode="article.titlepage.recto.auto.mode">
162 <fo:block xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" font-size="14.4pt">
163 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
167 <xsl:template match="d:othercredit" mode="article.titlepage.recto.auto.mode">
168 <fo:block xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
169 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
173 <xsl:template match="d:releaseinfo" mode="article.titlepage.recto.auto.mode">
174 <fo:block xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
175 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
179 <xsl:template match="d:copyright" mode="article.titlepage.recto.auto.mode">
180 <fo:block xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
181 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
185 <xsl:template match="d:legalnotice" mode="article.titlepage.recto.auto.mode">
186 <fo:block xsl:use-attribute-sets="article.titlepage.recto.style" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}">
187 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
191 <xsl:template match="d:pubdate" mode="article.titlepage.recto.auto.mode">
192 <fo:block xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
193 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
197 <xsl:template match="d:revision" mode="article.titlepage.recto.auto.mode">
198 <fo:block xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
199 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
203 <xsl:template match="d:revhistory" mode="article.titlepage.recto.auto.mode">
204 <fo:block xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
205 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
209 <xsl:template match="d:abstract" mode="article.titlepage.recto.auto.mode">
210 <fo:block 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}">
211 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
215 <xsl:template match="d:itermset" mode="article.titlepage.recto.auto.mode">
216 <fo:block xsl:use-attribute-sets="article.titlepage.recto.style">
217 <xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
221 <xsl:template name="set.titlepage.recto">
223 <xsl:when test="d:setinfo/d:title">
224 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:setinfo/d:title"/>
226 <xsl:when test="d:info/d:title">
227 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:info/d:title"/>
229 <xsl:when test="d:title">
230 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:title"/>
235 <xsl:when test="d:setinfo/d:subtitle">
236 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:setinfo/d:subtitle"/>
238 <xsl:when test="d:info/d:subtitle">
239 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
241 <xsl:when test="d:subtitle">
242 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:subtitle"/>
246 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:setinfo/d:corpauthor"/>
247 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:info/d:corpauthor"/>
248 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:setinfo/d:authorgroup"/>
249 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/>
250 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:setinfo/d:author"/>
251 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:info/d:author"/>
252 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:setinfo/d:othercredit"/>
253 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:info/d:othercredit"/>
254 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:setinfo/d:releaseinfo"/>
255 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:info/d:releaseinfo"/>
256 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:setinfo/d:copyright"/>
257 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:info/d:copyright"/>
258 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:setinfo/d:legalnotice"/>
259 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:info/d:legalnotice"/>
260 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:setinfo/d:pubdate"/>
261 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:info/d:pubdate"/>
262 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:setinfo/d:revision"/>
263 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:info/d:revision"/>
264 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:setinfo/d:revhistory"/>
265 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:info/d:revhistory"/>
266 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:setinfo/d:abstract"/>
267 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:info/d:abstract"/>
268 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:setinfo/d:itermset"/>
269 <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
272 <xsl:template name="set.titlepage.verso">
275 <xsl:template name="set.titlepage.separator">
278 <xsl:template name="set.titlepage.before.recto">
281 <xsl:template name="set.titlepage.before.verso">
284 <xsl:template name="set.titlepage">
286 <xsl:variable name="recto.content">
287 <xsl:call-template name="set.titlepage.before.recto"/>
288 <xsl:call-template name="set.titlepage.recto"/>
290 <xsl:variable name="recto.elements.count">
292 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
293 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
294 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
295 <xsl:otherwise>1</xsl:otherwise>
298 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
299 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
301 <xsl:variable name="verso.content">
302 <xsl:call-template name="set.titlepage.before.verso"/>
303 <xsl:call-template name="set.titlepage.verso"/>
305 <xsl:variable name="verso.elements.count">
307 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
308 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
309 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
310 <xsl:otherwise>1</xsl:otherwise>
313 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
314 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
316 <xsl:call-template name="set.titlepage.separator"/>
320 <xsl:template match="*" mode="set.titlepage.recto.mode">
321 <!-- if an element isn't found in this mode, -->
322 <!-- try the generic titlepage.mode -->
323 <xsl:apply-templates select="." mode="titlepage.mode"/>
326 <xsl:template match="*" mode="set.titlepage.verso.mode">
327 <!-- if an element isn't found in this mode, -->
328 <!-- try the generic titlepage.mode -->
329 <xsl:apply-templates select="." mode="titlepage.mode"/>
332 <xsl:template match="d:title" mode="set.titlepage.recto.auto.mode">
333 <fo:block 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}">
334 <xsl:call-template name="division.title">
335 <xsl:with-param name="node" select="ancestor-or-self::d:set[1]"/>
340 <xsl:template match="d:subtitle" mode="set.titlepage.recto.auto.mode">
341 <fo:block xsl:use-attribute-sets="set.titlepage.recto.style" font-family="{$title.fontset}" text-align="center">
342 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
346 <xsl:template match="d:corpauthor" mode="set.titlepage.recto.auto.mode">
347 <fo:block xsl:use-attribute-sets="set.titlepage.recto.style">
348 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
352 <xsl:template match="d:authorgroup" mode="set.titlepage.recto.auto.mode">
353 <fo:block xsl:use-attribute-sets="set.titlepage.recto.style">
354 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
358 <xsl:template match="d:author" mode="set.titlepage.recto.auto.mode">
359 <fo:block xsl:use-attribute-sets="set.titlepage.recto.style">
360 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
364 <xsl:template match="d:othercredit" mode="set.titlepage.recto.auto.mode">
365 <fo:block xsl:use-attribute-sets="set.titlepage.recto.style">
366 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
370 <xsl:template match="d:releaseinfo" mode="set.titlepage.recto.auto.mode">
371 <fo:block xsl:use-attribute-sets="set.titlepage.recto.style">
372 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
376 <xsl:template match="d:copyright" mode="set.titlepage.recto.auto.mode">
377 <fo:block xsl:use-attribute-sets="set.titlepage.recto.style">
378 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
382 <xsl:template match="d:legalnotice" mode="set.titlepage.recto.auto.mode">
383 <fo:block xsl:use-attribute-sets="set.titlepage.recto.style">
384 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
388 <xsl:template match="d:pubdate" mode="set.titlepage.recto.auto.mode">
389 <fo:block xsl:use-attribute-sets="set.titlepage.recto.style">
390 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
394 <xsl:template match="d:revision" mode="set.titlepage.recto.auto.mode">
395 <fo:block xsl:use-attribute-sets="set.titlepage.recto.style">
396 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
400 <xsl:template match="d:revhistory" mode="set.titlepage.recto.auto.mode">
401 <fo:block xsl:use-attribute-sets="set.titlepage.recto.style">
402 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
406 <xsl:template match="d:abstract" mode="set.titlepage.recto.auto.mode">
407 <fo:block xsl:use-attribute-sets="set.titlepage.recto.style">
408 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
412 <xsl:template match="d:itermset" mode="set.titlepage.recto.auto.mode">
413 <fo:block xsl:use-attribute-sets="set.titlepage.recto.style">
414 <xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
418 <xsl:template name="book.titlepage.recto">
420 <xsl:when test="d:bookinfo/d:title">
421 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="d:bookinfo/d:title"/>
423 <xsl:when test="d:info/d:title">
424 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="d:info/d:title"/>
426 <xsl:when test="d:title">
427 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="d:title"/>
432 <xsl:when test="d:bookinfo/d:subtitle">
433 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="d:bookinfo/d:subtitle"/>
435 <xsl:when test="d:info/d:subtitle">
436 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
438 <xsl:when test="d:subtitle">
439 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="d:subtitle"/>
443 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="d:bookinfo/d:corpauthor"/>
444 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="d:info/d:corpauthor"/>
445 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="d:bookinfo/d:authorgroup"/>
446 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/>
447 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="d:bookinfo/d:author"/>
448 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="d:info/d:author"/>
449 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="d:bookinfo/d:itermset"/>
450 <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
453 <xsl:template name="book.titlepage.verso">
455 <xsl:when test="d:bookinfo/d:title">
456 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:bookinfo/d:title"/>
458 <xsl:when test="d:info/d:title">
459 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:info/d:title"/>
461 <xsl:when test="d:title">
462 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:title"/>
466 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:bookinfo/d:corpauthor"/>
467 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:info/d:corpauthor"/>
468 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:bookinfo/d:authorgroup"/>
469 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:info/d:authorgroup"/>
470 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:bookinfo/d:author"/>
471 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:info/d:author"/>
472 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:bookinfo/d:othercredit"/>
473 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:info/d:othercredit"/>
474 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:bookinfo/d:releaseinfo"/>
475 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:info/d:releaseinfo"/>
476 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:bookinfo/d:pubdate"/>
477 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:info/d:pubdate"/>
478 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:bookinfo/d:copyright"/>
479 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:info/d:copyright"/>
480 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:bookinfo/d:abstract"/>
481 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:info/d:abstract"/>
482 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:bookinfo/d:legalnotice"/>
483 <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="d:info/d:legalnotice"/>
486 <xsl:template name="book.titlepage.separator"><fo:block break-after="page"/>
489 <xsl:template name="book.titlepage.before.recto">
492 <xsl:template name="book.titlepage.before.verso"><fo:block break-after="page"/>
495 <xsl:template name="book.titlepage">
497 <xsl:variable name="recto.content">
498 <xsl:call-template name="book.titlepage.before.recto"/>
499 <xsl:call-template name="book.titlepage.recto"/>
501 <xsl:variable name="recto.elements.count">
503 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
504 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
505 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
506 <xsl:otherwise>1</xsl:otherwise>
509 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
510 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
512 <xsl:variable name="verso.content">
513 <xsl:call-template name="book.titlepage.before.verso"/>
514 <xsl:call-template name="book.titlepage.verso"/>
516 <xsl:variable name="verso.elements.count">
518 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
519 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
520 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
521 <xsl:otherwise>1</xsl:otherwise>
524 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
525 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
527 <xsl:call-template name="book.titlepage.separator"/>
531 <xsl:template match="*" mode="book.titlepage.recto.mode">
532 <!-- if an element isn't found in this mode, -->
533 <!-- try the generic titlepage.mode -->
534 <xsl:apply-templates select="." mode="titlepage.mode"/>
537 <xsl:template match="*" mode="book.titlepage.verso.mode">
538 <!-- if an element isn't found in this mode, -->
539 <!-- try the generic titlepage.mode -->
540 <xsl:apply-templates select="." mode="titlepage.mode"/>
543 <xsl:template match="d:title" mode="book.titlepage.recto.auto.mode">
544 <fo:block 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}">
545 <xsl:call-template name="division.title">
546 <xsl:with-param name="node" select="ancestor-or-self::d:book[1]"/>
551 <xsl:template match="d:subtitle" mode="book.titlepage.recto.auto.mode">
552 <fo:block xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="20.736pt" space-before="15.552pt" font-family="{$title.fontset}">
553 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
557 <xsl:template match="d:corpauthor" mode="book.titlepage.recto.auto.mode">
558 <fo:block xsl:use-attribute-sets="book.titlepage.recto.style" font-size="17.28pt" keep-with-next.within-column="always" space-before="2in">
559 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
563 <xsl:template match="d:authorgroup" mode="book.titlepage.recto.auto.mode">
564 <fo:block xsl:use-attribute-sets="book.titlepage.recto.style" space-before="2in">
565 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
569 <xsl:template match="d:author" mode="book.titlepage.recto.auto.mode">
570 <fo:block xsl:use-attribute-sets="book.titlepage.recto.style" font-size="17.28pt" space-before="10.8pt" keep-with-next.within-column="always">
571 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
575 <xsl:template match="d:itermset" mode="book.titlepage.recto.auto.mode">
576 <fo:block xsl:use-attribute-sets="book.titlepage.recto.style">
577 <xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
581 <xsl:template match="d:title" mode="book.titlepage.verso.auto.mode">
582 <fo:block xsl:use-attribute-sets="book.titlepage.verso.style" font-size="14.4pt" font-weight="bold" font-family="{$title.fontset}">
583 <xsl:call-template name="book.verso.title">
588 <xsl:template match="d:corpauthor" mode="book.titlepage.verso.auto.mode">
589 <fo:block xsl:use-attribute-sets="book.titlepage.verso.style">
590 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
594 <xsl:template match="d:authorgroup" mode="book.titlepage.verso.auto.mode">
595 <fo:block xsl:use-attribute-sets="book.titlepage.verso.style">
596 <xsl:call-template name="verso.authorgroup">
601 <xsl:template match="d:author" mode="book.titlepage.verso.auto.mode">
602 <fo:block xsl:use-attribute-sets="book.titlepage.verso.style">
603 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
607 <xsl:template match="d:othercredit" mode="book.titlepage.verso.auto.mode">
608 <fo:block xsl:use-attribute-sets="book.titlepage.verso.style">
609 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
613 <xsl:template match="d:releaseinfo" mode="book.titlepage.verso.auto.mode">
614 <fo:block xsl:use-attribute-sets="book.titlepage.verso.style" space-before="0.5em">
615 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
619 <xsl:template match="d:pubdate" mode="book.titlepage.verso.auto.mode">
620 <fo:block xsl:use-attribute-sets="book.titlepage.verso.style" space-before="1em">
621 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
625 <xsl:template match="d:copyright" mode="book.titlepage.verso.auto.mode">
626 <fo:block xsl:use-attribute-sets="book.titlepage.verso.style">
627 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
631 <xsl:template match="d:abstract" mode="book.titlepage.verso.auto.mode">
632 <fo:block xsl:use-attribute-sets="book.titlepage.verso.style">
633 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
637 <xsl:template match="d:legalnotice" mode="book.titlepage.verso.auto.mode">
638 <fo:block xsl:use-attribute-sets="book.titlepage.verso.style" font-size="8pt">
639 <xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
643 <xsl:template name="part.titlepage.recto">
645 <xsl:when test="d:partinfo/d:title">
646 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="d:partinfo/d:title"/>
648 <xsl:when test="d:docinfo/d:title">
649 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="d:docinfo/d:title"/>
651 <xsl:when test="d:info/d:title">
652 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="d:info/d:title"/>
654 <xsl:when test="d:title">
655 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="d:title"/>
660 <xsl:when test="d:partinfo/d:subtitle">
661 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="d:partinfo/d:subtitle"/>
663 <xsl:when test="d:docinfo/d:subtitle">
664 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
666 <xsl:when test="d:info/d:subtitle">
667 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
669 <xsl:when test="d:subtitle">
670 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="d:subtitle"/>
674 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="d:partinfo/d:itermset"/>
675 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
676 <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
679 <xsl:template name="part.titlepage.verso">
682 <xsl:template name="part.titlepage.separator">
685 <xsl:template name="part.titlepage.before.recto">
688 <xsl:template name="part.titlepage.before.verso">
691 <xsl:template name="part.titlepage">
693 <xsl:variable name="recto.content">
694 <xsl:call-template name="part.titlepage.before.recto"/>
695 <xsl:call-template name="part.titlepage.recto"/>
697 <xsl:variable name="recto.elements.count">
699 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
700 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
701 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
702 <xsl:otherwise>1</xsl:otherwise>
705 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
706 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
708 <xsl:variable name="verso.content">
709 <xsl:call-template name="part.titlepage.before.verso"/>
710 <xsl:call-template name="part.titlepage.verso"/>
712 <xsl:variable name="verso.elements.count">
714 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
715 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
716 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
717 <xsl:otherwise>1</xsl:otherwise>
720 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
721 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
723 <xsl:call-template name="part.titlepage.separator"/>
727 <xsl:template match="*" mode="part.titlepage.recto.mode">
728 <!-- if an element isn't found in this mode, -->
729 <!-- try the generic titlepage.mode -->
730 <xsl:apply-templates select="." mode="titlepage.mode"/>
733 <xsl:template match="*" mode="part.titlepage.verso.mode">
734 <!-- if an element isn't found in this mode, -->
735 <!-- try the generic titlepage.mode -->
736 <xsl:apply-templates select="." mode="titlepage.mode"/>
739 <xsl:template match="d:title" mode="part.titlepage.recto.auto.mode">
740 <fo:block 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}">
741 <xsl:call-template name="division.title">
742 <xsl:with-param name="node" select="ancestor-or-self::d:part[1]"/>
747 <xsl:template match="d:subtitle" mode="part.titlepage.recto.auto.mode">
748 <fo:block 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}">
749 <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
753 <xsl:template match="d:itermset" mode="part.titlepage.recto.auto.mode">
754 <fo:block xsl:use-attribute-sets="part.titlepage.recto.style">
755 <xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
759 <xsl:template name="partintro.titlepage.recto">
761 <xsl:when test="d:partintroinfo/d:title">
762 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:title"/>
764 <xsl:when test="d:docinfo/d:title">
765 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:docinfo/d:title"/>
767 <xsl:when test="d:info/d:title">
768 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:info/d:title"/>
770 <xsl:when test="d:title">
771 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:title"/>
776 <xsl:when test="d:partintroinfo/d:subtitle">
777 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:subtitle"/>
779 <xsl:when test="d:docinfo/d:subtitle">
780 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
782 <xsl:when test="d:info/d:subtitle">
783 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
785 <xsl:when test="d:subtitle">
786 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:subtitle"/>
790 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:corpauthor"/>
791 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:docinfo/d:corpauthor"/>
792 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:info/d:corpauthor"/>
793 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:authorgroup"/>
794 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:docinfo/d:authorgroup"/>
795 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/>
796 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:author"/>
797 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:docinfo/d:author"/>
798 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:info/d:author"/>
799 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:othercredit"/>
800 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:docinfo/d:othercredit"/>
801 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:info/d:othercredit"/>
802 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:releaseinfo"/>
803 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:docinfo/d:releaseinfo"/>
804 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:info/d:releaseinfo"/>
805 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:copyright"/>
806 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:docinfo/d:copyright"/>
807 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:info/d:copyright"/>
808 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:legalnotice"/>
809 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:docinfo/d:legalnotice"/>
810 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:info/d:legalnotice"/>
811 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:pubdate"/>
812 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:docinfo/d:pubdate"/>
813 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:info/d:pubdate"/>
814 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:revision"/>
815 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:docinfo/d:revision"/>
816 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:info/d:revision"/>
817 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:revhistory"/>
818 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:docinfo/d:revhistory"/>
819 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:info/d:revhistory"/>
820 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:abstract"/>
821 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:docinfo/d:abstract"/>
822 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:info/d:abstract"/>
823 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:partintroinfo/d:itermset"/>
824 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
825 <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
828 <xsl:template name="partintro.titlepage.verso">
831 <xsl:template name="partintro.titlepage.separator">
834 <xsl:template name="partintro.titlepage.before.recto">
837 <xsl:template name="partintro.titlepage.before.verso">
840 <xsl:template name="partintro.titlepage">
842 <xsl:variable name="recto.content">
843 <xsl:call-template name="partintro.titlepage.before.recto"/>
844 <xsl:call-template name="partintro.titlepage.recto"/>
846 <xsl:variable name="recto.elements.count">
848 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
849 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
850 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
851 <xsl:otherwise>1</xsl:otherwise>
854 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
855 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
857 <xsl:variable name="verso.content">
858 <xsl:call-template name="partintro.titlepage.before.verso"/>
859 <xsl:call-template name="partintro.titlepage.verso"/>
861 <xsl:variable name="verso.elements.count">
863 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
864 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
865 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
866 <xsl:otherwise>1</xsl:otherwise>
869 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
870 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
872 <xsl:call-template name="partintro.titlepage.separator"/>
876 <xsl:template match="*" mode="partintro.titlepage.recto.mode">
877 <!-- if an element isn't found in this mode, -->
878 <!-- try the generic titlepage.mode -->
879 <xsl:apply-templates select="." mode="titlepage.mode"/>
882 <xsl:template match="*" mode="partintro.titlepage.verso.mode">
883 <!-- if an element isn't found in this mode, -->
884 <!-- try the generic titlepage.mode -->
885 <xsl:apply-templates select="." mode="titlepage.mode"/>
888 <xsl:template match="d:title" mode="partintro.titlepage.recto.auto.mode">
889 <fo:block 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}">
890 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
894 <xsl:template match="d:subtitle" mode="partintro.titlepage.recto.auto.mode">
895 <fo:block 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}">
896 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
900 <xsl:template match="d:corpauthor" mode="partintro.titlepage.recto.auto.mode">
901 <fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style">
902 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
906 <xsl:template match="d:authorgroup" mode="partintro.titlepage.recto.auto.mode">
907 <fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style">
908 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
912 <xsl:template match="d:author" mode="partintro.titlepage.recto.auto.mode">
913 <fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style">
914 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
918 <xsl:template match="d:othercredit" mode="partintro.titlepage.recto.auto.mode">
919 <fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style">
920 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
924 <xsl:template match="d:releaseinfo" mode="partintro.titlepage.recto.auto.mode">
925 <fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style">
926 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
930 <xsl:template match="d:copyright" mode="partintro.titlepage.recto.auto.mode">
931 <fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style">
932 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
936 <xsl:template match="d:legalnotice" mode="partintro.titlepage.recto.auto.mode">
937 <fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style">
938 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
942 <xsl:template match="d:pubdate" mode="partintro.titlepage.recto.auto.mode">
943 <fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style">
944 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
948 <xsl:template match="d:revision" mode="partintro.titlepage.recto.auto.mode">
949 <fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style">
950 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
954 <xsl:template match="d:revhistory" mode="partintro.titlepage.recto.auto.mode">
955 <fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style">
956 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
960 <xsl:template match="d:abstract" mode="partintro.titlepage.recto.auto.mode">
961 <fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style">
962 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
966 <xsl:template match="d:itermset" mode="partintro.titlepage.recto.auto.mode">
967 <fo:block xsl:use-attribute-sets="partintro.titlepage.recto.style">
968 <xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
972 <xsl:template name="reference.titlepage.recto">
974 <xsl:when test="d:referenceinfo/d:title">
975 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:title"/>
977 <xsl:when test="d:docinfo/d:title">
978 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:docinfo/d:title"/>
980 <xsl:when test="d:info/d:title">
981 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:info/d:title"/>
983 <xsl:when test="d:title">
984 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:title"/>
989 <xsl:when test="d:referenceinfo/d:subtitle">
990 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:subtitle"/>
992 <xsl:when test="d:docinfo/d:subtitle">
993 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
995 <xsl:when test="d:info/d:subtitle">
996 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
998 <xsl:when test="d:subtitle">
999 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:subtitle"/>
1003 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:corpauthor"/>
1004 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:docinfo/d:corpauthor"/>
1005 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:info/d:corpauthor"/>
1006 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:authorgroup"/>
1007 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:docinfo/d:authorgroup"/>
1008 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/>
1009 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:author"/>
1010 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:docinfo/d:author"/>
1011 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:info/d:author"/>
1012 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:othercredit"/>
1013 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:docinfo/d:othercredit"/>
1014 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:info/d:othercredit"/>
1015 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:releaseinfo"/>
1016 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:docinfo/d:releaseinfo"/>
1017 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:info/d:releaseinfo"/>
1018 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:copyright"/>
1019 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:docinfo/d:copyright"/>
1020 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:info/d:copyright"/>
1021 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:legalnotice"/>
1022 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:docinfo/d:legalnotice"/>
1023 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:info/d:legalnotice"/>
1024 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:pubdate"/>
1025 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:docinfo/d:pubdate"/>
1026 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:info/d:pubdate"/>
1027 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:revision"/>
1028 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:docinfo/d:revision"/>
1029 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:info/d:revision"/>
1030 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:revhistory"/>
1031 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:docinfo/d:revhistory"/>
1032 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:info/d:revhistory"/>
1033 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:abstract"/>
1034 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:docinfo/d:abstract"/>
1035 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:info/d:abstract"/>
1036 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:referenceinfo/d:itermset"/>
1037 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
1038 <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
1041 <xsl:template name="reference.titlepage.verso">
1044 <xsl:template name="reference.titlepage.separator">
1047 <xsl:template name="reference.titlepage.before.recto">
1050 <xsl:template name="reference.titlepage.before.verso">
1053 <xsl:template name="reference.titlepage">
1055 <xsl:variable name="recto.content">
1056 <xsl:call-template name="reference.titlepage.before.recto"/>
1057 <xsl:call-template name="reference.titlepage.recto"/>
1059 <xsl:variable name="recto.elements.count">
1061 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1062 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1063 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1064 <xsl:otherwise>1</xsl:otherwise>
1067 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1068 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1070 <xsl:variable name="verso.content">
1071 <xsl:call-template name="reference.titlepage.before.verso"/>
1072 <xsl:call-template name="reference.titlepage.verso"/>
1074 <xsl:variable name="verso.elements.count">
1076 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1077 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1078 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1079 <xsl:otherwise>1</xsl:otherwise>
1082 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1083 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1085 <xsl:call-template name="reference.titlepage.separator"/>
1089 <xsl:template match="*" mode="reference.titlepage.recto.mode">
1090 <!-- if an element isn't found in this mode, -->
1091 <!-- try the generic titlepage.mode -->
1092 <xsl:apply-templates select="." mode="titlepage.mode"/>
1095 <xsl:template match="*" mode="reference.titlepage.verso.mode">
1096 <!-- if an element isn't found in this mode, -->
1097 <!-- try the generic titlepage.mode -->
1098 <xsl:apply-templates select="." mode="titlepage.mode"/>
1101 <xsl:template match="d:title" mode="reference.titlepage.recto.auto.mode">
1102 <fo:block 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}">
1103 <xsl:call-template name="division.title">
1104 <xsl:with-param name="node" select="ancestor-or-self::d:reference[1]"/>
1105 </xsl:call-template>
1109 <xsl:template match="d:subtitle" mode="reference.titlepage.recto.auto.mode">
1110 <fo:block xsl:use-attribute-sets="reference.titlepage.recto.style" font-family="{$title.fontset}" text-align="center">
1111 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1115 <xsl:template match="d:corpauthor" mode="reference.titlepage.recto.auto.mode">
1116 <fo:block xsl:use-attribute-sets="reference.titlepage.recto.style">
1117 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1121 <xsl:template match="d:authorgroup" mode="reference.titlepage.recto.auto.mode">
1122 <fo:block xsl:use-attribute-sets="reference.titlepage.recto.style">
1123 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1127 <xsl:template match="d:author" mode="reference.titlepage.recto.auto.mode">
1128 <fo:block xsl:use-attribute-sets="reference.titlepage.recto.style">
1129 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1133 <xsl:template match="d:othercredit" mode="reference.titlepage.recto.auto.mode">
1134 <fo:block xsl:use-attribute-sets="reference.titlepage.recto.style">
1135 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1139 <xsl:template match="d:releaseinfo" mode="reference.titlepage.recto.auto.mode">
1140 <fo:block xsl:use-attribute-sets="reference.titlepage.recto.style">
1141 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1145 <xsl:template match="d:copyright" mode="reference.titlepage.recto.auto.mode">
1146 <fo:block xsl:use-attribute-sets="reference.titlepage.recto.style">
1147 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1151 <xsl:template match="d:legalnotice" mode="reference.titlepage.recto.auto.mode">
1152 <fo:block xsl:use-attribute-sets="reference.titlepage.recto.style">
1153 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1157 <xsl:template match="d:pubdate" mode="reference.titlepage.recto.auto.mode">
1158 <fo:block xsl:use-attribute-sets="reference.titlepage.recto.style">
1159 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1163 <xsl:template match="d:revision" mode="reference.titlepage.recto.auto.mode">
1164 <fo:block xsl:use-attribute-sets="reference.titlepage.recto.style">
1165 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1169 <xsl:template match="d:revhistory" mode="reference.titlepage.recto.auto.mode">
1170 <fo:block xsl:use-attribute-sets="reference.titlepage.recto.style">
1171 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1175 <xsl:template match="d:abstract" mode="reference.titlepage.recto.auto.mode">
1176 <fo:block xsl:use-attribute-sets="reference.titlepage.recto.style">
1177 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1181 <xsl:template match="d:itermset" mode="reference.titlepage.recto.auto.mode">
1182 <fo:block xsl:use-attribute-sets="reference.titlepage.recto.style">
1183 <xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
1187 <xsl:template name="refsynopsisdiv.titlepage.recto">
1189 <xsl:when test="d:refsynopsisdivinfo/d:title">
1190 <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="d:refsynopsisdivinfo/d:title"/>
1192 <xsl:when test="d:docinfo/d:title">
1193 <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="d:docinfo/d:title"/>
1195 <xsl:when test="d:info/d:title">
1196 <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="d:info/d:title"/>
1198 <xsl:when test="d:title">
1199 <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="d:title"/>
1203 <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="d:refsynopsisdivinfo/d:itermset"/>
1204 <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
1205 <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
1208 <xsl:template name="refsynopsisdiv.titlepage.verso">
1211 <xsl:template name="refsynopsisdiv.titlepage.separator">
1214 <xsl:template name="refsynopsisdiv.titlepage.before.recto">
1217 <xsl:template name="refsynopsisdiv.titlepage.before.verso">
1220 <xsl:template name="refsynopsisdiv.titlepage">
1222 <xsl:variable name="recto.content">
1223 <xsl:call-template name="refsynopsisdiv.titlepage.before.recto"/>
1224 <xsl:call-template name="refsynopsisdiv.titlepage.recto"/>
1226 <xsl:variable name="recto.elements.count">
1228 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1229 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1230 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1231 <xsl:otherwise>1</xsl:otherwise>
1234 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1235 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1237 <xsl:variable name="verso.content">
1238 <xsl:call-template name="refsynopsisdiv.titlepage.before.verso"/>
1239 <xsl:call-template name="refsynopsisdiv.titlepage.verso"/>
1241 <xsl:variable name="verso.elements.count">
1243 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1244 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1245 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1246 <xsl:otherwise>1</xsl:otherwise>
1249 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1250 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1252 <xsl:call-template name="refsynopsisdiv.titlepage.separator"/>
1256 <xsl:template match="*" mode="refsynopsisdiv.titlepage.recto.mode">
1257 <!-- if an element isn't found in this mode, -->
1258 <!-- try the generic titlepage.mode -->
1259 <xsl:apply-templates select="." mode="titlepage.mode"/>
1262 <xsl:template match="*" mode="refsynopsisdiv.titlepage.verso.mode">
1263 <!-- if an element isn't found in this mode, -->
1264 <!-- try the generic titlepage.mode -->
1265 <xsl:apply-templates select="." mode="titlepage.mode"/>
1268 <xsl:template match="d:title" mode="refsynopsisdiv.titlepage.recto.auto.mode">
1269 <fo:block xsl:use-attribute-sets="refsynopsisdiv.titlepage.recto.style" font-family="{$title.fontset}">
1270 <xsl:apply-templates select="." mode="refsynopsisdiv.titlepage.recto.mode"/>
1274 <xsl:template match="d:itermset" mode="refsynopsisdiv.titlepage.recto.auto.mode">
1275 <fo:block xsl:use-attribute-sets="refsynopsisdiv.titlepage.recto.style">
1276 <xsl:apply-templates select="." mode="refsynopsisdiv.titlepage.recto.mode"/>
1280 <xsl:template name="refsection.titlepage.recto">
1282 <xsl:when test="d:refsectioninfo/d:title">
1283 <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="d:refsectioninfo/d:title"/>
1285 <xsl:when test="d:docinfo/d:title">
1286 <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="d:docinfo/d:title"/>
1288 <xsl:when test="d:info/d:title">
1289 <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="d:info/d:title"/>
1291 <xsl:when test="d:title">
1292 <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="d:title"/>
1296 <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="d:refsectioninfo/d:itermset"/>
1297 <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
1298 <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
1301 <xsl:template name="refsection.titlepage.verso">
1304 <xsl:template name="refsection.titlepage.separator">
1307 <xsl:template name="refsection.titlepage.before.recto">
1310 <xsl:template name="refsection.titlepage.before.verso">
1313 <xsl:template name="refsection.titlepage">
1315 <xsl:variable name="recto.content">
1316 <xsl:call-template name="refsection.titlepage.before.recto"/>
1317 <xsl:call-template name="refsection.titlepage.recto"/>
1319 <xsl:variable name="recto.elements.count">
1321 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1322 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1323 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1324 <xsl:otherwise>1</xsl:otherwise>
1327 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1328 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1330 <xsl:variable name="verso.content">
1331 <xsl:call-template name="refsection.titlepage.before.verso"/>
1332 <xsl:call-template name="refsection.titlepage.verso"/>
1334 <xsl:variable name="verso.elements.count">
1336 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1337 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1338 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1339 <xsl:otherwise>1</xsl:otherwise>
1342 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1343 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1345 <xsl:call-template name="refsection.titlepage.separator"/>
1349 <xsl:template match="*" mode="refsection.titlepage.recto.mode">
1350 <!-- if an element isn't found in this mode, -->
1351 <!-- try the generic titlepage.mode -->
1352 <xsl:apply-templates select="." mode="titlepage.mode"/>
1355 <xsl:template match="*" mode="refsection.titlepage.verso.mode">
1356 <!-- if an element isn't found in this mode, -->
1357 <!-- try the generic titlepage.mode -->
1358 <xsl:apply-templates select="." mode="titlepage.mode"/>
1361 <xsl:template match="d:title" mode="refsection.titlepage.recto.auto.mode">
1362 <fo:block xsl:use-attribute-sets="refsection.titlepage.recto.style" font-family="{$title.fontset}">
1363 <xsl:apply-templates select="." mode="refsection.titlepage.recto.mode"/>
1367 <xsl:template match="d:itermset" mode="refsection.titlepage.recto.auto.mode">
1368 <fo:block xsl:use-attribute-sets="refsection.titlepage.recto.style">
1369 <xsl:apply-templates select="." mode="refsection.titlepage.recto.mode"/>
1373 <xsl:template name="refsect1.titlepage.recto">
1375 <xsl:when test="d:refsect1info/d:title">
1376 <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="d:refsect1info/d:title"/>
1378 <xsl:when test="d:docinfo/d:title">
1379 <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="d:docinfo/d:title"/>
1381 <xsl:when test="d:info/d:title">
1382 <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="d:info/d:title"/>
1384 <xsl:when test="d:title">
1385 <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="d:title"/>
1389 <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="d:refsect1info/d:itermset"/>
1390 <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
1391 <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
1394 <xsl:template name="refsect1.titlepage.verso">
1397 <xsl:template name="refsect1.titlepage.separator">
1400 <xsl:template name="refsect1.titlepage.before.recto">
1403 <xsl:template name="refsect1.titlepage.before.verso">
1406 <xsl:template name="refsect1.titlepage">
1408 <xsl:variable name="recto.content">
1409 <xsl:call-template name="refsect1.titlepage.before.recto"/>
1410 <xsl:call-template name="refsect1.titlepage.recto"/>
1412 <xsl:variable name="recto.elements.count">
1414 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1415 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1416 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1417 <xsl:otherwise>1</xsl:otherwise>
1420 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1421 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1423 <xsl:variable name="verso.content">
1424 <xsl:call-template name="refsect1.titlepage.before.verso"/>
1425 <xsl:call-template name="refsect1.titlepage.verso"/>
1427 <xsl:variable name="verso.elements.count">
1429 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1430 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1431 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1432 <xsl:otherwise>1</xsl:otherwise>
1435 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1436 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1438 <xsl:call-template name="refsect1.titlepage.separator"/>
1442 <xsl:template match="*" mode="refsect1.titlepage.recto.mode">
1443 <!-- if an element isn't found in this mode, -->
1444 <!-- try the generic titlepage.mode -->
1445 <xsl:apply-templates select="." mode="titlepage.mode"/>
1448 <xsl:template match="*" mode="refsect1.titlepage.verso.mode">
1449 <!-- if an element isn't found in this mode, -->
1450 <!-- try the generic titlepage.mode -->
1451 <xsl:apply-templates select="." mode="titlepage.mode"/>
1454 <xsl:template match="d:title" mode="refsect1.titlepage.recto.auto.mode">
1455 <fo:block xsl:use-attribute-sets="refsect1.titlepage.recto.style" font-family="{$title.fontset}">
1456 <xsl:apply-templates select="." mode="refsect1.titlepage.recto.mode"/>
1460 <xsl:template match="d:itermset" mode="refsect1.titlepage.recto.auto.mode">
1461 <fo:block xsl:use-attribute-sets="refsect1.titlepage.recto.style">
1462 <xsl:apply-templates select="." mode="refsect1.titlepage.recto.mode"/>
1466 <xsl:template name="refsect2.titlepage.recto">
1468 <xsl:when test="d:refsect2info/d:title">
1469 <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="d:refsect2info/d:title"/>
1471 <xsl:when test="d:docinfo/d:title">
1472 <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="d:docinfo/d:title"/>
1474 <xsl:when test="d:info/d:title">
1475 <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="d:info/d:title"/>
1477 <xsl:when test="d:title">
1478 <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="d:title"/>
1482 <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="d:refsect2info/d:itermset"/>
1483 <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
1484 <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
1487 <xsl:template name="refsect2.titlepage.verso">
1490 <xsl:template name="refsect2.titlepage.separator">
1493 <xsl:template name="refsect2.titlepage.before.recto">
1496 <xsl:template name="refsect2.titlepage.before.verso">
1499 <xsl:template name="refsect2.titlepage">
1501 <xsl:variable name="recto.content">
1502 <xsl:call-template name="refsect2.titlepage.before.recto"/>
1503 <xsl:call-template name="refsect2.titlepage.recto"/>
1505 <xsl:variable name="recto.elements.count">
1507 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1508 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1509 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1510 <xsl:otherwise>1</xsl:otherwise>
1513 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1514 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1516 <xsl:variable name="verso.content">
1517 <xsl:call-template name="refsect2.titlepage.before.verso"/>
1518 <xsl:call-template name="refsect2.titlepage.verso"/>
1520 <xsl:variable name="verso.elements.count">
1522 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1523 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1524 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1525 <xsl:otherwise>1</xsl:otherwise>
1528 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1529 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1531 <xsl:call-template name="refsect2.titlepage.separator"/>
1535 <xsl:template match="*" mode="refsect2.titlepage.recto.mode">
1536 <!-- if an element isn't found in this mode, -->
1537 <!-- try the generic titlepage.mode -->
1538 <xsl:apply-templates select="." mode="titlepage.mode"/>
1541 <xsl:template match="*" mode="refsect2.titlepage.verso.mode">
1542 <!-- if an element isn't found in this mode, -->
1543 <!-- try the generic titlepage.mode -->
1544 <xsl:apply-templates select="." mode="titlepage.mode"/>
1547 <xsl:template match="d:title" mode="refsect2.titlepage.recto.auto.mode">
1548 <fo:block xsl:use-attribute-sets="refsect2.titlepage.recto.style" font-family="{$title.fontset}">
1549 <xsl:apply-templates select="." mode="refsect2.titlepage.recto.mode"/>
1553 <xsl:template match="d:itermset" mode="refsect2.titlepage.recto.auto.mode">
1554 <fo:block xsl:use-attribute-sets="refsect2.titlepage.recto.style">
1555 <xsl:apply-templates select="." mode="refsect2.titlepage.recto.mode"/>
1559 <xsl:template name="refsect3.titlepage.recto">
1561 <xsl:when test="d:refsect3info/d:title">
1562 <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="d:refsect3info/d:title"/>
1564 <xsl:when test="d:docinfo/d:title">
1565 <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="d:docinfo/d:title"/>
1567 <xsl:when test="d:info/d:title">
1568 <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="d:info/d:title"/>
1570 <xsl:when test="d:title">
1571 <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="d:title"/>
1575 <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="d:refsect3info/d:itermset"/>
1576 <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
1577 <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
1580 <xsl:template name="refsect3.titlepage.verso">
1583 <xsl:template name="refsect3.titlepage.separator">
1586 <xsl:template name="refsect3.titlepage.before.recto">
1589 <xsl:template name="refsect3.titlepage.before.verso">
1592 <xsl:template name="refsect3.titlepage">
1594 <xsl:variable name="recto.content">
1595 <xsl:call-template name="refsect3.titlepage.before.recto"/>
1596 <xsl:call-template name="refsect3.titlepage.recto"/>
1598 <xsl:variable name="recto.elements.count">
1600 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1601 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1602 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1603 <xsl:otherwise>1</xsl:otherwise>
1606 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1607 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1609 <xsl:variable name="verso.content">
1610 <xsl:call-template name="refsect3.titlepage.before.verso"/>
1611 <xsl:call-template name="refsect3.titlepage.verso"/>
1613 <xsl:variable name="verso.elements.count">
1615 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1616 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1617 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1618 <xsl:otherwise>1</xsl:otherwise>
1621 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1622 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1624 <xsl:call-template name="refsect3.titlepage.separator"/>
1628 <xsl:template match="*" mode="refsect3.titlepage.recto.mode">
1629 <!-- if an element isn't found in this mode, -->
1630 <!-- try the generic titlepage.mode -->
1631 <xsl:apply-templates select="." mode="titlepage.mode"/>
1634 <xsl:template match="*" mode="refsect3.titlepage.verso.mode">
1635 <!-- if an element isn't found in this mode, -->
1636 <!-- try the generic titlepage.mode -->
1637 <xsl:apply-templates select="." mode="titlepage.mode"/>
1640 <xsl:template match="d:title" mode="refsect3.titlepage.recto.auto.mode">
1641 <fo:block xsl:use-attribute-sets="refsect3.titlepage.recto.style" font-family="{$title.fontset}">
1642 <xsl:apply-templates select="." mode="refsect3.titlepage.recto.mode"/>
1646 <xsl:template match="d:itermset" mode="refsect3.titlepage.recto.auto.mode">
1647 <fo:block xsl:use-attribute-sets="refsect3.titlepage.recto.style">
1648 <xsl:apply-templates select="." mode="refsect3.titlepage.recto.mode"/>
1652 <xsl:template name="dedication.titlepage.recto">
1653 <fo:block xsl:use-attribute-sets="dedication.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
1654 <xsl:call-template name="component.title">
1655 <xsl:with-param name="node" select="ancestor-or-self::d:dedication[1]"/>
1656 </xsl:call-template></fo:block>
1658 <xsl:when test="d:dedicationinfo/d:subtitle">
1659 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="d:dedicationinfo/d:subtitle"/>
1661 <xsl:when test="d:docinfo/d:subtitle">
1662 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
1664 <xsl:when test="d:info/d:subtitle">
1665 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
1667 <xsl:when test="d:subtitle">
1668 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="d:subtitle"/>
1672 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="d:dedicationinfo/d:itermset"/>
1673 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
1674 <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
1677 <xsl:template name="dedication.titlepage.verso">
1680 <xsl:template name="dedication.titlepage.separator">
1683 <xsl:template name="dedication.titlepage.before.recto">
1686 <xsl:template name="dedication.titlepage.before.verso">
1689 <xsl:template name="dedication.titlepage">
1691 <xsl:variable name="recto.content">
1692 <xsl:call-template name="dedication.titlepage.before.recto"/>
1693 <xsl:call-template name="dedication.titlepage.recto"/>
1695 <xsl:variable name="recto.elements.count">
1697 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1698 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1699 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1700 <xsl:otherwise>1</xsl:otherwise>
1703 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1704 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1706 <xsl:variable name="verso.content">
1707 <xsl:call-template name="dedication.titlepage.before.verso"/>
1708 <xsl:call-template name="dedication.titlepage.verso"/>
1710 <xsl:variable name="verso.elements.count">
1712 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1713 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1714 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1715 <xsl:otherwise>1</xsl:otherwise>
1718 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1719 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1721 <xsl:call-template name="dedication.titlepage.separator"/>
1725 <xsl:template match="*" mode="dedication.titlepage.recto.mode">
1726 <!-- if an element isn't found in this mode, -->
1727 <!-- try the generic titlepage.mode -->
1728 <xsl:apply-templates select="." mode="titlepage.mode"/>
1731 <xsl:template match="*" mode="dedication.titlepage.verso.mode">
1732 <!-- if an element isn't found in this mode, -->
1733 <!-- try the generic titlepage.mode -->
1734 <xsl:apply-templates select="." mode="titlepage.mode"/>
1737 <xsl:template match="d:subtitle" mode="dedication.titlepage.recto.auto.mode">
1738 <fo:block xsl:use-attribute-sets="dedication.titlepage.recto.style" font-family="{$title.fontset}">
1739 <xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/>
1743 <xsl:template match="d:itermset" mode="dedication.titlepage.recto.auto.mode">
1744 <fo:block xsl:use-attribute-sets="dedication.titlepage.recto.style">
1745 <xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/>
1749 <xsl:template name="acknowledgements.titlepage.recto">
1750 <fo:block xsl:use-attribute-sets="acknowledgements.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
1751 <xsl:call-template name="component.title">
1752 <xsl:with-param name="node" select="ancestor-or-self::d:acknowledgements[1]"/>
1753 </xsl:call-template></fo:block>
1755 <xsl:when test="d:acknowledgementsinfo/d:subtitle">
1756 <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="d:acknowledgementsinfo/d:subtitle"/>
1758 <xsl:when test="d:docinfo/d:subtitle">
1759 <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
1761 <xsl:when test="d:info/d:subtitle">
1762 <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
1764 <xsl:when test="d:subtitle">
1765 <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="d:subtitle"/>
1769 <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="d:acknowledgementsinfo/d:itermset"/>
1770 <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
1771 <xsl:apply-templates mode="acknowledgements.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
1774 <xsl:template name="acknowledgements.titlepage.verso">
1777 <xsl:template name="acknowledgements.titlepage.separator">
1780 <xsl:template name="acknowledgements.titlepage.before.recto">
1783 <xsl:template name="acknowledgements.titlepage.before.verso">
1786 <xsl:template name="acknowledgements.titlepage">
1788 <xsl:variable name="recto.content">
1789 <xsl:call-template name="acknowledgements.titlepage.before.recto"/>
1790 <xsl:call-template name="acknowledgements.titlepage.recto"/>
1792 <xsl:variable name="recto.elements.count">
1794 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1795 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1796 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1797 <xsl:otherwise>1</xsl:otherwise>
1800 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1801 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1803 <xsl:variable name="verso.content">
1804 <xsl:call-template name="acknowledgements.titlepage.before.verso"/>
1805 <xsl:call-template name="acknowledgements.titlepage.verso"/>
1807 <xsl:variable name="verso.elements.count">
1809 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1810 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1811 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1812 <xsl:otherwise>1</xsl:otherwise>
1815 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1816 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1818 <xsl:call-template name="acknowledgements.titlepage.separator"/>
1822 <xsl:template match="*" mode="acknowledgements.titlepage.recto.mode">
1823 <!-- if an element isn't found in this mode, -->
1824 <!-- try the generic titlepage.mode -->
1825 <xsl:apply-templates select="." mode="titlepage.mode"/>
1828 <xsl:template match="*" mode="acknowledgements.titlepage.verso.mode">
1829 <!-- if an element isn't found in this mode, -->
1830 <!-- try the generic titlepage.mode -->
1831 <xsl:apply-templates select="." mode="titlepage.mode"/>
1834 <xsl:template match="d:subtitle" mode="acknowledgements.titlepage.recto.auto.mode">
1835 <fo:block xsl:use-attribute-sets="acknowledgements.titlepage.recto.style" font-family="{$title.fontset}">
1836 <xsl:apply-templates select="." mode="acknowledgements.titlepage.recto.mode"/>
1840 <xsl:template match="d:itermset" mode="acknowledgements.titlepage.recto.auto.mode">
1841 <fo:block xsl:use-attribute-sets="acknowledgements.titlepage.recto.style">
1842 <xsl:apply-templates select="." mode="acknowledgements.titlepage.recto.mode"/>
1846 <xsl:template name="preface.titlepage.recto">
1847 <fo:block xsl:use-attribute-sets="preface.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
1848 <xsl:call-template name="component.title">
1849 <xsl:with-param name="node" select="ancestor-or-self::d:preface[1]"/>
1850 </xsl:call-template></fo:block>
1852 <xsl:when test="d:prefaceinfo/d:subtitle">
1853 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:prefaceinfo/d:subtitle"/>
1855 <xsl:when test="d:docinfo/d:subtitle">
1856 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
1858 <xsl:when test="d:info/d:subtitle">
1859 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
1861 <xsl:when test="d:subtitle">
1862 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:subtitle"/>
1866 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:prefaceinfo/d:corpauthor"/>
1867 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:docinfo/d:corpauthor"/>
1868 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:info/d:corpauthor"/>
1869 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:prefaceinfo/d:authorgroup"/>
1870 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:docinfo/d:authorgroup"/>
1871 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/>
1872 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:prefaceinfo/d:author"/>
1873 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:docinfo/d:author"/>
1874 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:info/d:author"/>
1875 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:prefaceinfo/d:othercredit"/>
1876 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:docinfo/d:othercredit"/>
1877 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:info/d:othercredit"/>
1878 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:prefaceinfo/d:releaseinfo"/>
1879 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:docinfo/d:releaseinfo"/>
1880 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:info/d:releaseinfo"/>
1881 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:prefaceinfo/d:copyright"/>
1882 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:docinfo/d:copyright"/>
1883 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:info/d:copyright"/>
1884 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:prefaceinfo/d:legalnotice"/>
1885 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:docinfo/d:legalnotice"/>
1886 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:info/d:legalnotice"/>
1887 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:prefaceinfo/d:pubdate"/>
1888 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:docinfo/d:pubdate"/>
1889 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:info/d:pubdate"/>
1890 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:prefaceinfo/d:revision"/>
1891 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:docinfo/d:revision"/>
1892 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:info/d:revision"/>
1893 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:prefaceinfo/d:revhistory"/>
1894 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:docinfo/d:revhistory"/>
1895 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:info/d:revhistory"/>
1896 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:prefaceinfo/d:abstract"/>
1897 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:docinfo/d:abstract"/>
1898 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:info/d:abstract"/>
1899 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:prefaceinfo/d:itermset"/>
1900 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
1901 <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
1904 <xsl:template name="preface.titlepage.verso">
1907 <xsl:template name="preface.titlepage.separator">
1910 <xsl:template name="preface.titlepage.before.recto">
1913 <xsl:template name="preface.titlepage.before.verso">
1916 <xsl:template name="preface.titlepage">
1918 <xsl:variable name="recto.content">
1919 <xsl:call-template name="preface.titlepage.before.recto"/>
1920 <xsl:call-template name="preface.titlepage.recto"/>
1922 <xsl:variable name="recto.elements.count">
1924 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1925 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1926 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
1927 <xsl:otherwise>1</xsl:otherwise>
1930 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
1931 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
1933 <xsl:variable name="verso.content">
1934 <xsl:call-template name="preface.titlepage.before.verso"/>
1935 <xsl:call-template name="preface.titlepage.verso"/>
1937 <xsl:variable name="verso.elements.count">
1939 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1940 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
1941 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
1942 <xsl:otherwise>1</xsl:otherwise>
1945 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
1946 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
1948 <xsl:call-template name="preface.titlepage.separator"/>
1952 <xsl:template match="*" mode="preface.titlepage.recto.mode">
1953 <!-- if an element isn't found in this mode, -->
1954 <!-- try the generic titlepage.mode -->
1955 <xsl:apply-templates select="." mode="titlepage.mode"/>
1958 <xsl:template match="*" mode="preface.titlepage.verso.mode">
1959 <!-- if an element isn't found in this mode, -->
1960 <!-- try the generic titlepage.mode -->
1961 <xsl:apply-templates select="." mode="titlepage.mode"/>
1964 <xsl:template match="d:subtitle" mode="preface.titlepage.recto.auto.mode">
1965 <fo:block xsl:use-attribute-sets="preface.titlepage.recto.style" font-family="{$title.fontset}">
1966 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1970 <xsl:template match="d:corpauthor" mode="preface.titlepage.recto.auto.mode">
1971 <fo:block xsl:use-attribute-sets="preface.titlepage.recto.style">
1972 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1976 <xsl:template match="d:authorgroup" mode="preface.titlepage.recto.auto.mode">
1977 <fo:block xsl:use-attribute-sets="preface.titlepage.recto.style">
1978 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1982 <xsl:template match="d:author" mode="preface.titlepage.recto.auto.mode">
1983 <fo:block xsl:use-attribute-sets="preface.titlepage.recto.style">
1984 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1988 <xsl:template match="d:othercredit" mode="preface.titlepage.recto.auto.mode">
1989 <fo:block xsl:use-attribute-sets="preface.titlepage.recto.style">
1990 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
1994 <xsl:template match="d:releaseinfo" mode="preface.titlepage.recto.auto.mode">
1995 <fo:block xsl:use-attribute-sets="preface.titlepage.recto.style">
1996 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
2000 <xsl:template match="d:copyright" mode="preface.titlepage.recto.auto.mode">
2001 <fo:block xsl:use-attribute-sets="preface.titlepage.recto.style">
2002 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
2006 <xsl:template match="d:legalnotice" mode="preface.titlepage.recto.auto.mode">
2007 <fo:block xsl:use-attribute-sets="preface.titlepage.recto.style">
2008 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
2012 <xsl:template match="d:pubdate" mode="preface.titlepage.recto.auto.mode">
2013 <fo:block xsl:use-attribute-sets="preface.titlepage.recto.style">
2014 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
2018 <xsl:template match="d:revision" mode="preface.titlepage.recto.auto.mode">
2019 <fo:block xsl:use-attribute-sets="preface.titlepage.recto.style">
2020 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
2024 <xsl:template match="d:revhistory" mode="preface.titlepage.recto.auto.mode">
2025 <fo:block xsl:use-attribute-sets="preface.titlepage.recto.style">
2026 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
2030 <xsl:template match="d:abstract" mode="preface.titlepage.recto.auto.mode">
2031 <fo:block xsl:use-attribute-sets="preface.titlepage.recto.style">
2032 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
2036 <xsl:template match="d:itermset" mode="preface.titlepage.recto.auto.mode">
2037 <fo:block xsl:use-attribute-sets="preface.titlepage.recto.style">
2038 <xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
2042 <xsl:template name="chapter.titlepage.recto">
2044 <xsl:when test="d:chapterinfo/d:title">
2045 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:chapterinfo/d:title"/>
2047 <xsl:when test="d:docinfo/d:title">
2048 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:docinfo/d:title"/>
2050 <xsl:when test="d:info/d:title">
2051 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:info/d:title"/>
2053 <xsl:when test="d:title">
2054 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:title"/>
2059 <xsl:when test="d:chapterinfo/d:subtitle">
2060 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:chapterinfo/d:subtitle"/>
2062 <xsl:when test="d:docinfo/d:subtitle">
2063 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
2065 <xsl:when test="d:info/d:subtitle">
2066 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
2068 <xsl:when test="d:subtitle">
2069 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:subtitle"/>
2073 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:chapterinfo/d:corpauthor"/>
2074 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:docinfo/d:corpauthor"/>
2075 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:info/d:corpauthor"/>
2076 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:chapterinfo/d:authorgroup"/>
2077 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:docinfo/d:authorgroup"/>
2078 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/>
2079 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:chapterinfo/d:author"/>
2080 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:docinfo/d:author"/>
2081 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:info/d:author"/>
2082 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:chapterinfo/d:othercredit"/>
2083 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:docinfo/d:othercredit"/>
2084 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:info/d:othercredit"/>
2085 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:chapterinfo/d:releaseinfo"/>
2086 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:docinfo/d:releaseinfo"/>
2087 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:info/d:releaseinfo"/>
2088 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:chapterinfo/d:copyright"/>
2089 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:docinfo/d:copyright"/>
2090 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:info/d:copyright"/>
2091 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:chapterinfo/d:legalnotice"/>
2092 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:docinfo/d:legalnotice"/>
2093 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:info/d:legalnotice"/>
2094 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:chapterinfo/d:pubdate"/>
2095 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:docinfo/d:pubdate"/>
2096 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:info/d:pubdate"/>
2097 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:chapterinfo/d:revision"/>
2098 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:docinfo/d:revision"/>
2099 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:info/d:revision"/>
2100 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:chapterinfo/d:revhistory"/>
2101 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:docinfo/d:revhistory"/>
2102 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:info/d:revhistory"/>
2103 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:chapterinfo/d:abstract"/>
2104 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:docinfo/d:abstract"/>
2105 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:info/d:abstract"/>
2106 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:chapterinfo/d:itermset"/>
2107 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
2108 <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
2111 <xsl:template name="chapter.titlepage.verso">
2114 <xsl:template name="chapter.titlepage.separator">
2117 <xsl:template name="chapter.titlepage.before.recto">
2120 <xsl:template name="chapter.titlepage.before.verso">
2123 <xsl:template name="chapter.titlepage">
2124 <fo:block font-family="{$title.fontset}">
2125 <xsl:variable name="recto.content">
2126 <xsl:call-template name="chapter.titlepage.before.recto"/>
2127 <xsl:call-template name="chapter.titlepage.recto"/>
2129 <xsl:variable name="recto.elements.count">
2131 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2132 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2133 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2134 <xsl:otherwise>1</xsl:otherwise>
2137 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2138 <fo:block margin-left="{$title.margin.left}"><xsl:copy-of select="$recto.content"/></fo:block>
2140 <xsl:variable name="verso.content">
2141 <xsl:call-template name="chapter.titlepage.before.verso"/>
2142 <xsl:call-template name="chapter.titlepage.verso"/>
2144 <xsl:variable name="verso.elements.count">
2146 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2147 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2148 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2149 <xsl:otherwise>1</xsl:otherwise>
2152 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2153 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
2155 <xsl:call-template name="chapter.titlepage.separator"/>
2159 <xsl:template match="*" mode="chapter.titlepage.recto.mode">
2160 <!-- if an element isn't found in this mode, -->
2161 <!-- try the generic titlepage.mode -->
2162 <xsl:apply-templates select="." mode="titlepage.mode"/>
2165 <xsl:template match="*" mode="chapter.titlepage.verso.mode">
2166 <!-- if an element isn't found in this mode, -->
2167 <!-- try the generic titlepage.mode -->
2168 <xsl:apply-templates select="." mode="titlepage.mode"/>
2171 <xsl:template match="d:title" mode="chapter.titlepage.recto.auto.mode">
2172 <fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style" font-size="24.8832pt" font-weight="bold">
2173 <xsl:call-template name="component.title">
2174 <xsl:with-param name="node" select="ancestor-or-self::d:chapter[1]"/>
2175 </xsl:call-template>
2179 <xsl:template match="d:subtitle" mode="chapter.titlepage.recto.auto.mode">
2180 <fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" font-style="italic" font-size="14.4pt" font-weight="bold">
2181 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2185 <xsl:template match="d:corpauthor" mode="chapter.titlepage.recto.auto.mode">
2186 <fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" space-after="0.5em" font-size="14.4pt">
2187 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2191 <xsl:template match="d:authorgroup" mode="chapter.titlepage.recto.auto.mode">
2192 <fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" space-after="0.5em" font-size="14.4pt">
2193 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2197 <xsl:template match="d:author" mode="chapter.titlepage.recto.auto.mode">
2198 <fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" space-after="0.5em" font-size="14.4pt">
2199 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2203 <xsl:template match="d:othercredit" mode="chapter.titlepage.recto.auto.mode">
2204 <fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style">
2205 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2209 <xsl:template match="d:releaseinfo" mode="chapter.titlepage.recto.auto.mode">
2210 <fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style">
2211 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2215 <xsl:template match="d:copyright" mode="chapter.titlepage.recto.auto.mode">
2216 <fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style">
2217 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2221 <xsl:template match="d:legalnotice" mode="chapter.titlepage.recto.auto.mode">
2222 <fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style">
2223 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2227 <xsl:template match="d:pubdate" mode="chapter.titlepage.recto.auto.mode">
2228 <fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style">
2229 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2233 <xsl:template match="d:revision" mode="chapter.titlepage.recto.auto.mode">
2234 <fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style">
2235 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2239 <xsl:template match="d:revhistory" mode="chapter.titlepage.recto.auto.mode">
2240 <fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style">
2241 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2245 <xsl:template match="d:abstract" mode="chapter.titlepage.recto.auto.mode">
2246 <fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style">
2247 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2251 <xsl:template match="d:itermset" mode="chapter.titlepage.recto.auto.mode">
2252 <fo:block xsl:use-attribute-sets="chapter.titlepage.recto.style">
2253 <xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
2257 <xsl:template name="appendix.titlepage.recto">
2259 <xsl:when test="d:appendixinfo/d:title">
2260 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:title"/>
2262 <xsl:when test="d:docinfo/d:title">
2263 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:docinfo/d:title"/>
2265 <xsl:when test="d:info/d:title">
2266 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:info/d:title"/>
2268 <xsl:when test="d:title">
2269 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:title"/>
2274 <xsl:when test="d:appendixinfo/d:subtitle">
2275 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:subtitle"/>
2277 <xsl:when test="d:docinfo/d:subtitle">
2278 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
2280 <xsl:when test="d:info/d:subtitle">
2281 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
2283 <xsl:when test="d:subtitle">
2284 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:subtitle"/>
2288 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:corpauthor"/>
2289 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:docinfo/d:corpauthor"/>
2290 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:info/d:corpauthor"/>
2291 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:authorgroup"/>
2292 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:docinfo/d:authorgroup"/>
2293 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/>
2294 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:author"/>
2295 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:docinfo/d:author"/>
2296 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:info/d:author"/>
2297 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:othercredit"/>
2298 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:docinfo/d:othercredit"/>
2299 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:info/d:othercredit"/>
2300 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:releaseinfo"/>
2301 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:docinfo/d:releaseinfo"/>
2302 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:info/d:releaseinfo"/>
2303 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:copyright"/>
2304 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:docinfo/d:copyright"/>
2305 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:info/d:copyright"/>
2306 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:legalnotice"/>
2307 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:docinfo/d:legalnotice"/>
2308 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:info/d:legalnotice"/>
2309 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:pubdate"/>
2310 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:docinfo/d:pubdate"/>
2311 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:info/d:pubdate"/>
2312 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:revision"/>
2313 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:docinfo/d:revision"/>
2314 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:info/d:revision"/>
2315 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:revhistory"/>
2316 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:docinfo/d:revhistory"/>
2317 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:info/d:revhistory"/>
2318 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:abstract"/>
2319 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:docinfo/d:abstract"/>
2320 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:info/d:abstract"/>
2321 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:appendixinfo/d:itermset"/>
2322 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
2323 <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
2326 <xsl:template name="appendix.titlepage.verso">
2329 <xsl:template name="appendix.titlepage.separator">
2332 <xsl:template name="appendix.titlepage.before.recto">
2335 <xsl:template name="appendix.titlepage.before.verso">
2338 <xsl:template name="appendix.titlepage">
2340 <xsl:variable name="recto.content">
2341 <xsl:call-template name="appendix.titlepage.before.recto"/>
2342 <xsl:call-template name="appendix.titlepage.recto"/>
2344 <xsl:variable name="recto.elements.count">
2346 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2347 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2348 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2349 <xsl:otherwise>1</xsl:otherwise>
2352 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2353 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
2355 <xsl:variable name="verso.content">
2356 <xsl:call-template name="appendix.titlepage.before.verso"/>
2357 <xsl:call-template name="appendix.titlepage.verso"/>
2359 <xsl:variable name="verso.elements.count">
2361 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2362 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2363 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2364 <xsl:otherwise>1</xsl:otherwise>
2367 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2368 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
2370 <xsl:call-template name="appendix.titlepage.separator"/>
2374 <xsl:template match="*" mode="appendix.titlepage.recto.mode">
2375 <!-- if an element isn't found in this mode, -->
2376 <!-- try the generic titlepage.mode -->
2377 <xsl:apply-templates select="." mode="titlepage.mode"/>
2380 <xsl:template match="*" mode="appendix.titlepage.verso.mode">
2381 <!-- if an element isn't found in this mode, -->
2382 <!-- try the generic titlepage.mode -->
2383 <xsl:apply-templates select="." mode="titlepage.mode"/>
2386 <xsl:template match="d:title" mode="appendix.titlepage.recto.auto.mode">
2387 <fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-weight="bold" font-family="{$title.fontset}">
2388 <xsl:call-template name="component.title">
2389 <xsl:with-param name="node" select="ancestor-or-self::d:appendix[1]"/>
2390 </xsl:call-template>
2394 <xsl:template match="d:subtitle" mode="appendix.titlepage.recto.auto.mode">
2395 <fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style" font-family="{$title.fontset}">
2396 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2400 <xsl:template match="d:corpauthor" mode="appendix.titlepage.recto.auto.mode">
2401 <fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style">
2402 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2406 <xsl:template match="d:authorgroup" mode="appendix.titlepage.recto.auto.mode">
2407 <fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style">
2408 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2412 <xsl:template match="d:author" mode="appendix.titlepage.recto.auto.mode">
2413 <fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style">
2414 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2418 <xsl:template match="d:othercredit" mode="appendix.titlepage.recto.auto.mode">
2419 <fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style">
2420 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2424 <xsl:template match="d:releaseinfo" mode="appendix.titlepage.recto.auto.mode">
2425 <fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style">
2426 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2430 <xsl:template match="d:copyright" mode="appendix.titlepage.recto.auto.mode">
2431 <fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style">
2432 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2436 <xsl:template match="d:legalnotice" mode="appendix.titlepage.recto.auto.mode">
2437 <fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style">
2438 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2442 <xsl:template match="d:pubdate" mode="appendix.titlepage.recto.auto.mode">
2443 <fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style">
2444 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2448 <xsl:template match="d:revision" mode="appendix.titlepage.recto.auto.mode">
2449 <fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style">
2450 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2454 <xsl:template match="d:revhistory" mode="appendix.titlepage.recto.auto.mode">
2455 <fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style">
2456 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2460 <xsl:template match="d:abstract" mode="appendix.titlepage.recto.auto.mode">
2461 <fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style">
2462 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2466 <xsl:template match="d:itermset" mode="appendix.titlepage.recto.auto.mode">
2467 <fo:block xsl:use-attribute-sets="appendix.titlepage.recto.style">
2468 <xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
2472 <xsl:template name="section.titlepage.recto">
2474 <xsl:when test="d:sectioninfo/d:title">
2475 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:sectioninfo/d:title"/>
2477 <xsl:when test="d:info/d:title">
2478 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:info/d:title"/>
2480 <xsl:when test="d:title">
2481 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:title"/>
2486 <xsl:when test="d:sectioninfo/d:subtitle">
2487 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:sectioninfo/d:subtitle"/>
2489 <xsl:when test="d:info/d:subtitle">
2490 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
2492 <xsl:when test="d:subtitle">
2493 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:subtitle"/>
2497 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:sectioninfo/d:corpauthor"/>
2498 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:info/d:corpauthor"/>
2499 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:sectioninfo/d:authorgroup"/>
2500 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/>
2501 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:sectioninfo/d:author"/>
2502 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:info/d:author"/>
2503 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:sectioninfo/d:othercredit"/>
2504 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:info/d:othercredit"/>
2505 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:sectioninfo/d:releaseinfo"/>
2506 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:info/d:releaseinfo"/>
2507 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:sectioninfo/d:copyright"/>
2508 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:info/d:copyright"/>
2509 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:sectioninfo/d:legalnotice"/>
2510 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:info/d:legalnotice"/>
2511 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:sectioninfo/d:pubdate"/>
2512 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:info/d:pubdate"/>
2513 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:sectioninfo/d:revision"/>
2514 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:info/d:revision"/>
2515 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:sectioninfo/d:revhistory"/>
2516 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:info/d:revhistory"/>
2517 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:sectioninfo/d:abstract"/>
2518 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:info/d:abstract"/>
2519 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:sectioninfo/d:itermset"/>
2520 <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
2523 <xsl:template name="section.titlepage.verso">
2526 <xsl:template name="section.titlepage.separator">
2529 <xsl:template name="section.titlepage.before.recto">
2532 <xsl:template name="section.titlepage.before.verso">
2535 <xsl:template name="section.titlepage">
2537 <xsl:variable name="recto.content">
2538 <xsl:call-template name="section.titlepage.before.recto"/>
2539 <xsl:call-template name="section.titlepage.recto"/>
2541 <xsl:variable name="recto.elements.count">
2543 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2544 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2545 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2546 <xsl:otherwise>1</xsl:otherwise>
2549 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2550 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
2552 <xsl:variable name="verso.content">
2553 <xsl:call-template name="section.titlepage.before.verso"/>
2554 <xsl:call-template name="section.titlepage.verso"/>
2556 <xsl:variable name="verso.elements.count">
2558 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2559 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2560 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2561 <xsl:otherwise>1</xsl:otherwise>
2564 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2565 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
2567 <xsl:call-template name="section.titlepage.separator"/>
2571 <xsl:template match="*" mode="section.titlepage.recto.mode">
2572 <!-- if an element isn't found in this mode, -->
2573 <!-- try the generic titlepage.mode -->
2574 <xsl:apply-templates select="." mode="titlepage.mode"/>
2577 <xsl:template match="*" mode="section.titlepage.verso.mode">
2578 <!-- if an element isn't found in this mode, -->
2579 <!-- try the generic titlepage.mode -->
2580 <xsl:apply-templates select="." mode="titlepage.mode"/>
2583 <xsl:template match="d:title" mode="section.titlepage.recto.auto.mode">
2584 <fo:block xsl:use-attribute-sets="section.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
2585 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2589 <xsl:template match="d:subtitle" mode="section.titlepage.recto.auto.mode">
2590 <fo:block xsl:use-attribute-sets="section.titlepage.recto.style" font-family="{$title.fontset}">
2591 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2595 <xsl:template match="d:corpauthor" mode="section.titlepage.recto.auto.mode">
2596 <fo:block xsl:use-attribute-sets="section.titlepage.recto.style">
2597 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2601 <xsl:template match="d:authorgroup" mode="section.titlepage.recto.auto.mode">
2602 <fo:block xsl:use-attribute-sets="section.titlepage.recto.style">
2603 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2607 <xsl:template match="d:author" mode="section.titlepage.recto.auto.mode">
2608 <fo:block xsl:use-attribute-sets="section.titlepage.recto.style">
2609 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2613 <xsl:template match="d:othercredit" mode="section.titlepage.recto.auto.mode">
2614 <fo:block xsl:use-attribute-sets="section.titlepage.recto.style">
2615 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2619 <xsl:template match="d:releaseinfo" mode="section.titlepage.recto.auto.mode">
2620 <fo:block xsl:use-attribute-sets="section.titlepage.recto.style">
2621 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2625 <xsl:template match="d:copyright" mode="section.titlepage.recto.auto.mode">
2626 <fo:block xsl:use-attribute-sets="section.titlepage.recto.style">
2627 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2631 <xsl:template match="d:legalnotice" mode="section.titlepage.recto.auto.mode">
2632 <fo:block xsl:use-attribute-sets="section.titlepage.recto.style">
2633 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2637 <xsl:template match="d:pubdate" mode="section.titlepage.recto.auto.mode">
2638 <fo:block xsl:use-attribute-sets="section.titlepage.recto.style">
2639 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2643 <xsl:template match="d:revision" mode="section.titlepage.recto.auto.mode">
2644 <fo:block xsl:use-attribute-sets="section.titlepage.recto.style">
2645 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2649 <xsl:template match="d:revhistory" mode="section.titlepage.recto.auto.mode">
2650 <fo:block xsl:use-attribute-sets="section.titlepage.recto.style">
2651 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2655 <xsl:template match="d:abstract" mode="section.titlepage.recto.auto.mode">
2656 <fo:block xsl:use-attribute-sets="section.titlepage.recto.style">
2657 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2661 <xsl:template match="d:itermset" mode="section.titlepage.recto.auto.mode">
2662 <fo:block xsl:use-attribute-sets="section.titlepage.recto.style">
2663 <xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
2667 <xsl:template name="sect1.titlepage.recto">
2669 <xsl:when test="d:sect1info/d:title">
2670 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:sect1info/d:title"/>
2672 <xsl:when test="d:info/d:title">
2673 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:info/d:title"/>
2675 <xsl:when test="d:title">
2676 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:title"/>
2681 <xsl:when test="d:sect1info/d:subtitle">
2682 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:sect1info/d:subtitle"/>
2684 <xsl:when test="d:info/d:subtitle">
2685 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
2687 <xsl:when test="d:subtitle">
2688 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:subtitle"/>
2692 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:sect1info/d:corpauthor"/>
2693 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:info/d:corpauthor"/>
2694 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:sect1info/d:authorgroup"/>
2695 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/>
2696 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:sect1info/d:author"/>
2697 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:info/d:author"/>
2698 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:sect1info/d:othercredit"/>
2699 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:info/d:othercredit"/>
2700 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:sect1info/d:releaseinfo"/>
2701 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:info/d:releaseinfo"/>
2702 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:sect1info/d:copyright"/>
2703 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:info/d:copyright"/>
2704 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:sect1info/d:legalnotice"/>
2705 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:info/d:legalnotice"/>
2706 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:sect1info/d:pubdate"/>
2707 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:info/d:pubdate"/>
2708 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:sect1info/d:revision"/>
2709 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:info/d:revision"/>
2710 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:sect1info/d:revhistory"/>
2711 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:info/d:revhistory"/>
2712 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:sect1info/d:abstract"/>
2713 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:info/d:abstract"/>
2714 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:sect1info/d:itermset"/>
2715 <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
2718 <xsl:template name="sect1.titlepage.verso">
2721 <xsl:template name="sect1.titlepage.separator">
2724 <xsl:template name="sect1.titlepage.before.recto">
2727 <xsl:template name="sect1.titlepage.before.verso">
2730 <xsl:template name="sect1.titlepage">
2732 <xsl:variable name="recto.content">
2733 <xsl:call-template name="sect1.titlepage.before.recto"/>
2734 <xsl:call-template name="sect1.titlepage.recto"/>
2736 <xsl:variable name="recto.elements.count">
2738 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2739 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2740 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2741 <xsl:otherwise>1</xsl:otherwise>
2744 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2745 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
2747 <xsl:variable name="verso.content">
2748 <xsl:call-template name="sect1.titlepage.before.verso"/>
2749 <xsl:call-template name="sect1.titlepage.verso"/>
2751 <xsl:variable name="verso.elements.count">
2753 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2754 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2755 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2756 <xsl:otherwise>1</xsl:otherwise>
2759 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2760 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
2762 <xsl:call-template name="sect1.titlepage.separator"/>
2766 <xsl:template match="*" mode="sect1.titlepage.recto.mode">
2767 <!-- if an element isn't found in this mode, -->
2768 <!-- try the generic titlepage.mode -->
2769 <xsl:apply-templates select="." mode="titlepage.mode"/>
2772 <xsl:template match="*" mode="sect1.titlepage.verso.mode">
2773 <!-- if an element isn't found in this mode, -->
2774 <!-- try the generic titlepage.mode -->
2775 <xsl:apply-templates select="." mode="titlepage.mode"/>
2778 <xsl:template match="d:title" mode="sect1.titlepage.recto.auto.mode">
2779 <fo:block xsl:use-attribute-sets="sect1.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
2780 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2784 <xsl:template match="d:subtitle" mode="sect1.titlepage.recto.auto.mode">
2785 <fo:block xsl:use-attribute-sets="sect1.titlepage.recto.style" font-family="{$title.fontset}">
2786 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2790 <xsl:template match="d:corpauthor" mode="sect1.titlepage.recto.auto.mode">
2791 <fo:block xsl:use-attribute-sets="sect1.titlepage.recto.style">
2792 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2796 <xsl:template match="d:authorgroup" mode="sect1.titlepage.recto.auto.mode">
2797 <fo:block xsl:use-attribute-sets="sect1.titlepage.recto.style">
2798 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2802 <xsl:template match="d:author" mode="sect1.titlepage.recto.auto.mode">
2803 <fo:block xsl:use-attribute-sets="sect1.titlepage.recto.style">
2804 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2808 <xsl:template match="d:othercredit" mode="sect1.titlepage.recto.auto.mode">
2809 <fo:block xsl:use-attribute-sets="sect1.titlepage.recto.style">
2810 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2814 <xsl:template match="d:releaseinfo" mode="sect1.titlepage.recto.auto.mode">
2815 <fo:block xsl:use-attribute-sets="sect1.titlepage.recto.style">
2816 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2820 <xsl:template match="d:copyright" mode="sect1.titlepage.recto.auto.mode">
2821 <fo:block xsl:use-attribute-sets="sect1.titlepage.recto.style">
2822 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2826 <xsl:template match="d:legalnotice" mode="sect1.titlepage.recto.auto.mode">
2827 <fo:block xsl:use-attribute-sets="sect1.titlepage.recto.style">
2828 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2832 <xsl:template match="d:pubdate" mode="sect1.titlepage.recto.auto.mode">
2833 <fo:block xsl:use-attribute-sets="sect1.titlepage.recto.style">
2834 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2838 <xsl:template match="d:revision" mode="sect1.titlepage.recto.auto.mode">
2839 <fo:block xsl:use-attribute-sets="sect1.titlepage.recto.style">
2840 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2844 <xsl:template match="d:revhistory" mode="sect1.titlepage.recto.auto.mode">
2845 <fo:block xsl:use-attribute-sets="sect1.titlepage.recto.style">
2846 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2850 <xsl:template match="d:abstract" mode="sect1.titlepage.recto.auto.mode">
2851 <fo:block xsl:use-attribute-sets="sect1.titlepage.recto.style">
2852 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2856 <xsl:template match="d:itermset" mode="sect1.titlepage.recto.auto.mode">
2857 <fo:block xsl:use-attribute-sets="sect1.titlepage.recto.style">
2858 <xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
2862 <xsl:template name="sect2.titlepage.recto">
2864 <xsl:when test="d:sect2info/d:title">
2865 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:sect2info/d:title"/>
2867 <xsl:when test="d:info/d:title">
2868 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:info/d:title"/>
2870 <xsl:when test="d:title">
2871 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:title"/>
2876 <xsl:when test="d:sect2info/d:subtitle">
2877 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:sect2info/d:subtitle"/>
2879 <xsl:when test="d:info/d:subtitle">
2880 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
2882 <xsl:when test="d:subtitle">
2883 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:subtitle"/>
2887 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:sect2info/d:corpauthor"/>
2888 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:info/d:corpauthor"/>
2889 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:sect2info/d:authorgroup"/>
2890 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/>
2891 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:sect2info/d:author"/>
2892 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:info/d:author"/>
2893 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:sect2info/d:othercredit"/>
2894 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:info/d:othercredit"/>
2895 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:sect2info/d:releaseinfo"/>
2896 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:info/d:releaseinfo"/>
2897 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:sect2info/d:copyright"/>
2898 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:info/d:copyright"/>
2899 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:sect2info/d:legalnotice"/>
2900 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:info/d:legalnotice"/>
2901 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:sect2info/d:pubdate"/>
2902 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:info/d:pubdate"/>
2903 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:sect2info/d:revision"/>
2904 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:info/d:revision"/>
2905 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:sect2info/d:revhistory"/>
2906 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:info/d:revhistory"/>
2907 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:sect2info/d:abstract"/>
2908 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:info/d:abstract"/>
2909 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:sect2info/d:itermset"/>
2910 <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
2913 <xsl:template name="sect2.titlepage.verso">
2916 <xsl:template name="sect2.titlepage.separator">
2919 <xsl:template name="sect2.titlepage.before.recto">
2922 <xsl:template name="sect2.titlepage.before.verso">
2925 <xsl:template name="sect2.titlepage">
2927 <xsl:variable name="recto.content">
2928 <xsl:call-template name="sect2.titlepage.before.recto"/>
2929 <xsl:call-template name="sect2.titlepage.recto"/>
2931 <xsl:variable name="recto.elements.count">
2933 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2934 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2935 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
2936 <xsl:otherwise>1</xsl:otherwise>
2939 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
2940 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
2942 <xsl:variable name="verso.content">
2943 <xsl:call-template name="sect2.titlepage.before.verso"/>
2944 <xsl:call-template name="sect2.titlepage.verso"/>
2946 <xsl:variable name="verso.elements.count">
2948 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2949 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
2950 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
2951 <xsl:otherwise>1</xsl:otherwise>
2954 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
2955 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
2957 <xsl:call-template name="sect2.titlepage.separator"/>
2961 <xsl:template match="*" mode="sect2.titlepage.recto.mode">
2962 <!-- if an element isn't found in this mode, -->
2963 <!-- try the generic titlepage.mode -->
2964 <xsl:apply-templates select="." mode="titlepage.mode"/>
2967 <xsl:template match="*" mode="sect2.titlepage.verso.mode">
2968 <!-- if an element isn't found in this mode, -->
2969 <!-- try the generic titlepage.mode -->
2970 <xsl:apply-templates select="." mode="titlepage.mode"/>
2973 <xsl:template match="d:title" mode="sect2.titlepage.recto.auto.mode">
2974 <fo:block xsl:use-attribute-sets="sect2.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
2975 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2979 <xsl:template match="d:subtitle" mode="sect2.titlepage.recto.auto.mode">
2980 <fo:block xsl:use-attribute-sets="sect2.titlepage.recto.style" font-family="{$title.fontset}">
2981 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2985 <xsl:template match="d:corpauthor" mode="sect2.titlepage.recto.auto.mode">
2986 <fo:block xsl:use-attribute-sets="sect2.titlepage.recto.style">
2987 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2991 <xsl:template match="d:authorgroup" mode="sect2.titlepage.recto.auto.mode">
2992 <fo:block xsl:use-attribute-sets="sect2.titlepage.recto.style">
2993 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
2997 <xsl:template match="d:author" mode="sect2.titlepage.recto.auto.mode">
2998 <fo:block xsl:use-attribute-sets="sect2.titlepage.recto.style">
2999 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
3003 <xsl:template match="d:othercredit" mode="sect2.titlepage.recto.auto.mode">
3004 <fo:block xsl:use-attribute-sets="sect2.titlepage.recto.style">
3005 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
3009 <xsl:template match="d:releaseinfo" mode="sect2.titlepage.recto.auto.mode">
3010 <fo:block xsl:use-attribute-sets="sect2.titlepage.recto.style">
3011 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
3015 <xsl:template match="d:copyright" mode="sect2.titlepage.recto.auto.mode">
3016 <fo:block xsl:use-attribute-sets="sect2.titlepage.recto.style">
3017 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
3021 <xsl:template match="d:legalnotice" mode="sect2.titlepage.recto.auto.mode">
3022 <fo:block xsl:use-attribute-sets="sect2.titlepage.recto.style">
3023 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
3027 <xsl:template match="d:pubdate" mode="sect2.titlepage.recto.auto.mode">
3028 <fo:block xsl:use-attribute-sets="sect2.titlepage.recto.style">
3029 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
3033 <xsl:template match="d:revision" mode="sect2.titlepage.recto.auto.mode">
3034 <fo:block xsl:use-attribute-sets="sect2.titlepage.recto.style">
3035 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
3039 <xsl:template match="d:revhistory" mode="sect2.titlepage.recto.auto.mode">
3040 <fo:block xsl:use-attribute-sets="sect2.titlepage.recto.style">
3041 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
3045 <xsl:template match="d:abstract" mode="sect2.titlepage.recto.auto.mode">
3046 <fo:block xsl:use-attribute-sets="sect2.titlepage.recto.style">
3047 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
3051 <xsl:template match="d:itermset" mode="sect2.titlepage.recto.auto.mode">
3052 <fo:block xsl:use-attribute-sets="sect2.titlepage.recto.style">
3053 <xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
3057 <xsl:template name="sect3.titlepage.recto">
3059 <xsl:when test="d:sect3info/d:title">
3060 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:sect3info/d:title"/>
3062 <xsl:when test="d:info/d:title">
3063 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:info/d:title"/>
3065 <xsl:when test="d:title">
3066 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:title"/>
3071 <xsl:when test="d:sect3info/d:subtitle">
3072 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:sect3info/d:subtitle"/>
3074 <xsl:when test="d:info/d:subtitle">
3075 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
3077 <xsl:when test="d:subtitle">
3078 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:subtitle"/>
3082 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:sect3info/d:corpauthor"/>
3083 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:info/d:corpauthor"/>
3084 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:sect3info/d:authorgroup"/>
3085 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/>
3086 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:sect3info/d:author"/>
3087 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:info/d:author"/>
3088 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:sect3info/d:othercredit"/>
3089 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:info/d:othercredit"/>
3090 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:sect3info/d:releaseinfo"/>
3091 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:info/d:releaseinfo"/>
3092 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:sect3info/d:copyright"/>
3093 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:info/d:copyright"/>
3094 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:sect3info/d:legalnotice"/>
3095 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:info/d:legalnotice"/>
3096 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:sect3info/d:pubdate"/>
3097 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:info/d:pubdate"/>
3098 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:sect3info/d:revision"/>
3099 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:info/d:revision"/>
3100 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:sect3info/d:revhistory"/>
3101 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:info/d:revhistory"/>
3102 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:sect3info/d:abstract"/>
3103 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:info/d:abstract"/>
3104 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:sect3info/d:itermset"/>
3105 <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
3108 <xsl:template name="sect3.titlepage.verso">
3111 <xsl:template name="sect3.titlepage.separator">
3114 <xsl:template name="sect3.titlepage.before.recto">
3117 <xsl:template name="sect3.titlepage.before.verso">
3120 <xsl:template name="sect3.titlepage">
3122 <xsl:variable name="recto.content">
3123 <xsl:call-template name="sect3.titlepage.before.recto"/>
3124 <xsl:call-template name="sect3.titlepage.recto"/>
3126 <xsl:variable name="recto.elements.count">
3128 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3129 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3130 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3131 <xsl:otherwise>1</xsl:otherwise>
3134 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3135 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
3137 <xsl:variable name="verso.content">
3138 <xsl:call-template name="sect3.titlepage.before.verso"/>
3139 <xsl:call-template name="sect3.titlepage.verso"/>
3141 <xsl:variable name="verso.elements.count">
3143 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3144 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3145 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3146 <xsl:otherwise>1</xsl:otherwise>
3149 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3150 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
3152 <xsl:call-template name="sect3.titlepage.separator"/>
3156 <xsl:template match="*" mode="sect3.titlepage.recto.mode">
3157 <!-- if an element isn't found in this mode, -->
3158 <!-- try the generic titlepage.mode -->
3159 <xsl:apply-templates select="." mode="titlepage.mode"/>
3162 <xsl:template match="*" mode="sect3.titlepage.verso.mode">
3163 <!-- if an element isn't found in this mode, -->
3164 <!-- try the generic titlepage.mode -->
3165 <xsl:apply-templates select="." mode="titlepage.mode"/>
3168 <xsl:template match="d:title" mode="sect3.titlepage.recto.auto.mode">
3169 <fo:block xsl:use-attribute-sets="sect3.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
3170 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3174 <xsl:template match="d:subtitle" mode="sect3.titlepage.recto.auto.mode">
3175 <fo:block xsl:use-attribute-sets="sect3.titlepage.recto.style" font-family="{$title.fontset}">
3176 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3180 <xsl:template match="d:corpauthor" mode="sect3.titlepage.recto.auto.mode">
3181 <fo:block xsl:use-attribute-sets="sect3.titlepage.recto.style">
3182 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3186 <xsl:template match="d:authorgroup" mode="sect3.titlepage.recto.auto.mode">
3187 <fo:block xsl:use-attribute-sets="sect3.titlepage.recto.style">
3188 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3192 <xsl:template match="d:author" mode="sect3.titlepage.recto.auto.mode">
3193 <fo:block xsl:use-attribute-sets="sect3.titlepage.recto.style">
3194 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3198 <xsl:template match="d:othercredit" mode="sect3.titlepage.recto.auto.mode">
3199 <fo:block xsl:use-attribute-sets="sect3.titlepage.recto.style">
3200 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3204 <xsl:template match="d:releaseinfo" mode="sect3.titlepage.recto.auto.mode">
3205 <fo:block xsl:use-attribute-sets="sect3.titlepage.recto.style">
3206 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3210 <xsl:template match="d:copyright" mode="sect3.titlepage.recto.auto.mode">
3211 <fo:block xsl:use-attribute-sets="sect3.titlepage.recto.style">
3212 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3216 <xsl:template match="d:legalnotice" mode="sect3.titlepage.recto.auto.mode">
3217 <fo:block xsl:use-attribute-sets="sect3.titlepage.recto.style">
3218 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3222 <xsl:template match="d:pubdate" mode="sect3.titlepage.recto.auto.mode">
3223 <fo:block xsl:use-attribute-sets="sect3.titlepage.recto.style">
3224 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3228 <xsl:template match="d:revision" mode="sect3.titlepage.recto.auto.mode">
3229 <fo:block xsl:use-attribute-sets="sect3.titlepage.recto.style">
3230 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3234 <xsl:template match="d:revhistory" mode="sect3.titlepage.recto.auto.mode">
3235 <fo:block xsl:use-attribute-sets="sect3.titlepage.recto.style">
3236 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3240 <xsl:template match="d:abstract" mode="sect3.titlepage.recto.auto.mode">
3241 <fo:block xsl:use-attribute-sets="sect3.titlepage.recto.style">
3242 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3246 <xsl:template match="d:itermset" mode="sect3.titlepage.recto.auto.mode">
3247 <fo:block xsl:use-attribute-sets="sect3.titlepage.recto.style">
3248 <xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
3252 <xsl:template name="sect4.titlepage.recto">
3254 <xsl:when test="d:sect4info/d:title">
3255 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:sect4info/d:title"/>
3257 <xsl:when test="d:info/d:title">
3258 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:info/d:title"/>
3260 <xsl:when test="d:title">
3261 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:title"/>
3266 <xsl:when test="d:sect4info/d:subtitle">
3267 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:sect4info/d:subtitle"/>
3269 <xsl:when test="d:info/d:subtitle">
3270 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
3272 <xsl:when test="d:subtitle">
3273 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:subtitle"/>
3277 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:sect4info/d:corpauthor"/>
3278 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:info/d:corpauthor"/>
3279 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:sect4info/d:authorgroup"/>
3280 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/>
3281 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:sect4info/d:author"/>
3282 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:info/d:author"/>
3283 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:sect4info/d:othercredit"/>
3284 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:info/d:othercredit"/>
3285 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:sect4info/d:releaseinfo"/>
3286 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:info/d:releaseinfo"/>
3287 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:sect4info/d:copyright"/>
3288 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:info/d:copyright"/>
3289 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:sect4info/d:legalnotice"/>
3290 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:info/d:legalnotice"/>
3291 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:sect4info/d:pubdate"/>
3292 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:info/d:pubdate"/>
3293 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:sect4info/d:revision"/>
3294 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:info/d:revision"/>
3295 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:sect4info/d:revhistory"/>
3296 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:info/d:revhistory"/>
3297 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:sect4info/d:abstract"/>
3298 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:info/d:abstract"/>
3299 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:sect4info/d:itermset"/>
3300 <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
3303 <xsl:template name="sect4.titlepage.verso">
3306 <xsl:template name="sect4.titlepage.separator">
3309 <xsl:template name="sect4.titlepage.before.recto">
3312 <xsl:template name="sect4.titlepage.before.verso">
3315 <xsl:template name="sect4.titlepage">
3317 <xsl:variable name="recto.content">
3318 <xsl:call-template name="sect4.titlepage.before.recto"/>
3319 <xsl:call-template name="sect4.titlepage.recto"/>
3321 <xsl:variable name="recto.elements.count">
3323 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3324 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3325 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3326 <xsl:otherwise>1</xsl:otherwise>
3329 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3330 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
3332 <xsl:variable name="verso.content">
3333 <xsl:call-template name="sect4.titlepage.before.verso"/>
3334 <xsl:call-template name="sect4.titlepage.verso"/>
3336 <xsl:variable name="verso.elements.count">
3338 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3339 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3340 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3341 <xsl:otherwise>1</xsl:otherwise>
3344 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3345 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
3347 <xsl:call-template name="sect4.titlepage.separator"/>
3351 <xsl:template match="*" mode="sect4.titlepage.recto.mode">
3352 <!-- if an element isn't found in this mode, -->
3353 <!-- try the generic titlepage.mode -->
3354 <xsl:apply-templates select="." mode="titlepage.mode"/>
3357 <xsl:template match="*" mode="sect4.titlepage.verso.mode">
3358 <!-- if an element isn't found in this mode, -->
3359 <!-- try the generic titlepage.mode -->
3360 <xsl:apply-templates select="." mode="titlepage.mode"/>
3363 <xsl:template match="d:title" mode="sect4.titlepage.recto.auto.mode">
3364 <fo:block xsl:use-attribute-sets="sect4.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
3365 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3369 <xsl:template match="d:subtitle" mode="sect4.titlepage.recto.auto.mode">
3370 <fo:block xsl:use-attribute-sets="sect4.titlepage.recto.style" font-family="{$title.fontset}">
3371 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3375 <xsl:template match="d:corpauthor" mode="sect4.titlepage.recto.auto.mode">
3376 <fo:block xsl:use-attribute-sets="sect4.titlepage.recto.style">
3377 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3381 <xsl:template match="d:authorgroup" mode="sect4.titlepage.recto.auto.mode">
3382 <fo:block xsl:use-attribute-sets="sect4.titlepage.recto.style">
3383 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3387 <xsl:template match="d:author" mode="sect4.titlepage.recto.auto.mode">
3388 <fo:block xsl:use-attribute-sets="sect4.titlepage.recto.style">
3389 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3393 <xsl:template match="d:othercredit" mode="sect4.titlepage.recto.auto.mode">
3394 <fo:block xsl:use-attribute-sets="sect4.titlepage.recto.style">
3395 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3399 <xsl:template match="d:releaseinfo" mode="sect4.titlepage.recto.auto.mode">
3400 <fo:block xsl:use-attribute-sets="sect4.titlepage.recto.style">
3401 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3405 <xsl:template match="d:copyright" mode="sect4.titlepage.recto.auto.mode">
3406 <fo:block xsl:use-attribute-sets="sect4.titlepage.recto.style">
3407 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3411 <xsl:template match="d:legalnotice" mode="sect4.titlepage.recto.auto.mode">
3412 <fo:block xsl:use-attribute-sets="sect4.titlepage.recto.style">
3413 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3417 <xsl:template match="d:pubdate" mode="sect4.titlepage.recto.auto.mode">
3418 <fo:block xsl:use-attribute-sets="sect4.titlepage.recto.style">
3419 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3423 <xsl:template match="d:revision" mode="sect4.titlepage.recto.auto.mode">
3424 <fo:block xsl:use-attribute-sets="sect4.titlepage.recto.style">
3425 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3429 <xsl:template match="d:revhistory" mode="sect4.titlepage.recto.auto.mode">
3430 <fo:block xsl:use-attribute-sets="sect4.titlepage.recto.style">
3431 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3435 <xsl:template match="d:abstract" mode="sect4.titlepage.recto.auto.mode">
3436 <fo:block xsl:use-attribute-sets="sect4.titlepage.recto.style">
3437 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3441 <xsl:template match="d:itermset" mode="sect4.titlepage.recto.auto.mode">
3442 <fo:block xsl:use-attribute-sets="sect4.titlepage.recto.style">
3443 <xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
3447 <xsl:template name="sect5.titlepage.recto">
3449 <xsl:when test="d:sect5info/d:title">
3450 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:sect5info/d:title"/>
3452 <xsl:when test="d:info/d:title">
3453 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:info/d:title"/>
3455 <xsl:when test="d:title">
3456 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:title"/>
3461 <xsl:when test="d:sect5info/d:subtitle">
3462 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:sect5info/d:subtitle"/>
3464 <xsl:when test="d:info/d:subtitle">
3465 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
3467 <xsl:when test="d:subtitle">
3468 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:subtitle"/>
3472 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:sect5info/d:corpauthor"/>
3473 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:info/d:corpauthor"/>
3474 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:sect5info/d:authorgroup"/>
3475 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/>
3476 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:sect5info/d:author"/>
3477 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:info/d:author"/>
3478 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:sect5info/d:othercredit"/>
3479 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:info/d:othercredit"/>
3480 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:sect5info/d:releaseinfo"/>
3481 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:info/d:releaseinfo"/>
3482 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:sect5info/d:copyright"/>
3483 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:info/d:copyright"/>
3484 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:sect5info/d:legalnotice"/>
3485 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:info/d:legalnotice"/>
3486 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:sect5info/d:pubdate"/>
3487 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:info/d:pubdate"/>
3488 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:sect5info/d:revision"/>
3489 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:info/d:revision"/>
3490 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:sect5info/d:revhistory"/>
3491 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:info/d:revhistory"/>
3492 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:sect5info/d:abstract"/>
3493 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:info/d:abstract"/>
3494 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:sect5info/d:itermset"/>
3495 <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
3498 <xsl:template name="sect5.titlepage.verso">
3501 <xsl:template name="sect5.titlepage.separator">
3504 <xsl:template name="sect5.titlepage.before.recto">
3507 <xsl:template name="sect5.titlepage.before.verso">
3510 <xsl:template name="sect5.titlepage">
3512 <xsl:variable name="recto.content">
3513 <xsl:call-template name="sect5.titlepage.before.recto"/>
3514 <xsl:call-template name="sect5.titlepage.recto"/>
3516 <xsl:variable name="recto.elements.count">
3518 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3519 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3520 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3521 <xsl:otherwise>1</xsl:otherwise>
3524 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3525 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
3527 <xsl:variable name="verso.content">
3528 <xsl:call-template name="sect5.titlepage.before.verso"/>
3529 <xsl:call-template name="sect5.titlepage.verso"/>
3531 <xsl:variable name="verso.elements.count">
3533 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3534 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3535 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3536 <xsl:otherwise>1</xsl:otherwise>
3539 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3540 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
3542 <xsl:call-template name="sect5.titlepage.separator"/>
3546 <xsl:template match="*" mode="sect5.titlepage.recto.mode">
3547 <!-- if an element isn't found in this mode, -->
3548 <!-- try the generic titlepage.mode -->
3549 <xsl:apply-templates select="." mode="titlepage.mode"/>
3552 <xsl:template match="*" mode="sect5.titlepage.verso.mode">
3553 <!-- if an element isn't found in this mode, -->
3554 <!-- try the generic titlepage.mode -->
3555 <xsl:apply-templates select="." mode="titlepage.mode"/>
3558 <xsl:template match="d:title" mode="sect5.titlepage.recto.auto.mode">
3559 <fo:block xsl:use-attribute-sets="sect5.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
3560 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3564 <xsl:template match="d:subtitle" mode="sect5.titlepage.recto.auto.mode">
3565 <fo:block xsl:use-attribute-sets="sect5.titlepage.recto.style" font-family="{$title.fontset}">
3566 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3570 <xsl:template match="d:corpauthor" mode="sect5.titlepage.recto.auto.mode">
3571 <fo:block xsl:use-attribute-sets="sect5.titlepage.recto.style">
3572 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3576 <xsl:template match="d:authorgroup" mode="sect5.titlepage.recto.auto.mode">
3577 <fo:block xsl:use-attribute-sets="sect5.titlepage.recto.style">
3578 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3582 <xsl:template match="d:author" mode="sect5.titlepage.recto.auto.mode">
3583 <fo:block xsl:use-attribute-sets="sect5.titlepage.recto.style">
3584 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3588 <xsl:template match="d:othercredit" mode="sect5.titlepage.recto.auto.mode">
3589 <fo:block xsl:use-attribute-sets="sect5.titlepage.recto.style">
3590 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3594 <xsl:template match="d:releaseinfo" mode="sect5.titlepage.recto.auto.mode">
3595 <fo:block xsl:use-attribute-sets="sect5.titlepage.recto.style">
3596 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3600 <xsl:template match="d:copyright" mode="sect5.titlepage.recto.auto.mode">
3601 <fo:block xsl:use-attribute-sets="sect5.titlepage.recto.style">
3602 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3606 <xsl:template match="d:legalnotice" mode="sect5.titlepage.recto.auto.mode">
3607 <fo:block xsl:use-attribute-sets="sect5.titlepage.recto.style">
3608 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3612 <xsl:template match="d:pubdate" mode="sect5.titlepage.recto.auto.mode">
3613 <fo:block xsl:use-attribute-sets="sect5.titlepage.recto.style">
3614 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3618 <xsl:template match="d:revision" mode="sect5.titlepage.recto.auto.mode">
3619 <fo:block xsl:use-attribute-sets="sect5.titlepage.recto.style">
3620 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3624 <xsl:template match="d:revhistory" mode="sect5.titlepage.recto.auto.mode">
3625 <fo:block xsl:use-attribute-sets="sect5.titlepage.recto.style">
3626 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3630 <xsl:template match="d:abstract" mode="sect5.titlepage.recto.auto.mode">
3631 <fo:block xsl:use-attribute-sets="sect5.titlepage.recto.style">
3632 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3636 <xsl:template match="d:itermset" mode="sect5.titlepage.recto.auto.mode">
3637 <fo:block xsl:use-attribute-sets="sect5.titlepage.recto.style">
3638 <xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
3642 <xsl:template name="simplesect.titlepage.recto">
3644 <xsl:when test="d:simplesectinfo/d:title">
3645 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:title"/>
3647 <xsl:when test="d:docinfo/d:title">
3648 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:docinfo/d:title"/>
3650 <xsl:when test="d:info/d:title">
3651 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:info/d:title"/>
3653 <xsl:when test="d:title">
3654 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:title"/>
3659 <xsl:when test="d:simplesectinfo/d:subtitle">
3660 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:subtitle"/>
3662 <xsl:when test="d:docinfo/d:subtitle">
3663 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
3665 <xsl:when test="d:info/d:subtitle">
3666 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
3668 <xsl:when test="d:subtitle">
3669 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:subtitle"/>
3673 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:corpauthor"/>
3674 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:docinfo/d:corpauthor"/>
3675 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:info/d:corpauthor"/>
3676 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:authorgroup"/>
3677 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:docinfo/d:authorgroup"/>
3678 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/>
3679 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:author"/>
3680 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:docinfo/d:author"/>
3681 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:info/d:author"/>
3682 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:othercredit"/>
3683 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:docinfo/d:othercredit"/>
3684 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:info/d:othercredit"/>
3685 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:releaseinfo"/>
3686 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:docinfo/d:releaseinfo"/>
3687 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:info/d:releaseinfo"/>
3688 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:copyright"/>
3689 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:docinfo/d:copyright"/>
3690 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:info/d:copyright"/>
3691 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:legalnotice"/>
3692 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:docinfo/d:legalnotice"/>
3693 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:info/d:legalnotice"/>
3694 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:pubdate"/>
3695 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:docinfo/d:pubdate"/>
3696 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:info/d:pubdate"/>
3697 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:revision"/>
3698 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:docinfo/d:revision"/>
3699 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:info/d:revision"/>
3700 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:revhistory"/>
3701 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:docinfo/d:revhistory"/>
3702 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:info/d:revhistory"/>
3703 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:abstract"/>
3704 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:docinfo/d:abstract"/>
3705 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:info/d:abstract"/>
3706 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:simplesectinfo/d:itermset"/>
3707 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
3708 <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
3711 <xsl:template name="simplesect.titlepage.verso">
3714 <xsl:template name="simplesect.titlepage.separator">
3717 <xsl:template name="simplesect.titlepage.before.recto">
3720 <xsl:template name="simplesect.titlepage.before.verso">
3723 <xsl:template name="simplesect.titlepage">
3725 <xsl:variable name="recto.content">
3726 <xsl:call-template name="simplesect.titlepage.before.recto"/>
3727 <xsl:call-template name="simplesect.titlepage.recto"/>
3729 <xsl:variable name="recto.elements.count">
3731 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3732 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3733 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3734 <xsl:otherwise>1</xsl:otherwise>
3737 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3738 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
3740 <xsl:variable name="verso.content">
3741 <xsl:call-template name="simplesect.titlepage.before.verso"/>
3742 <xsl:call-template name="simplesect.titlepage.verso"/>
3744 <xsl:variable name="verso.elements.count">
3746 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3747 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3748 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3749 <xsl:otherwise>1</xsl:otherwise>
3752 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3753 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
3755 <xsl:call-template name="simplesect.titlepage.separator"/>
3759 <xsl:template match="*" mode="simplesect.titlepage.recto.mode">
3760 <!-- if an element isn't found in this mode, -->
3761 <!-- try the generic titlepage.mode -->
3762 <xsl:apply-templates select="." mode="titlepage.mode"/>
3765 <xsl:template match="*" mode="simplesect.titlepage.verso.mode">
3766 <!-- if an element isn't found in this mode, -->
3767 <!-- try the generic titlepage.mode -->
3768 <xsl:apply-templates select="." mode="titlepage.mode"/>
3771 <xsl:template match="d:title" mode="simplesect.titlepage.recto.auto.mode">
3772 <fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
3773 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3777 <xsl:template match="d:subtitle" mode="simplesect.titlepage.recto.auto.mode">
3778 <fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style" font-family="{$title.fontset}">
3779 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3783 <xsl:template match="d:corpauthor" mode="simplesect.titlepage.recto.auto.mode">
3784 <fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3785 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3789 <xsl:template match="d:authorgroup" mode="simplesect.titlepage.recto.auto.mode">
3790 <fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3791 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3795 <xsl:template match="d:author" mode="simplesect.titlepage.recto.auto.mode">
3796 <fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3797 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3801 <xsl:template match="d:othercredit" mode="simplesect.titlepage.recto.auto.mode">
3802 <fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3803 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3807 <xsl:template match="d:releaseinfo" mode="simplesect.titlepage.recto.auto.mode">
3808 <fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3809 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3813 <xsl:template match="d:copyright" mode="simplesect.titlepage.recto.auto.mode">
3814 <fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3815 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3819 <xsl:template match="d:legalnotice" mode="simplesect.titlepage.recto.auto.mode">
3820 <fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3821 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3825 <xsl:template match="d:pubdate" mode="simplesect.titlepage.recto.auto.mode">
3826 <fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3827 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3831 <xsl:template match="d:revision" mode="simplesect.titlepage.recto.auto.mode">
3832 <fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3833 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3837 <xsl:template match="d:revhistory" mode="simplesect.titlepage.recto.auto.mode">
3838 <fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3839 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3843 <xsl:template match="d:abstract" mode="simplesect.titlepage.recto.auto.mode">
3844 <fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3845 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3849 <xsl:template match="d:itermset" mode="simplesect.titlepage.recto.auto.mode">
3850 <fo:block xsl:use-attribute-sets="simplesect.titlepage.recto.style">
3851 <xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
3855 <xsl:template name="dialogue.titlepage.recto">
3857 <xsl:when test="d:dialogueinfo/d:title">
3858 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:dialogueinfo/d:title"/>
3860 <xsl:when test="d:docinfo/d:title">
3861 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:docinfo/d:title"/>
3863 <xsl:when test="d:info/d:title">
3864 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:info/d:title"/>
3866 <xsl:when test="d:title">
3867 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:title"/>
3872 <xsl:when test="d:dialogueinfo/d:subtitle">
3873 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:dialogueinfo/d:subtitle"/>
3875 <xsl:when test="d:docinfo/d:subtitle">
3876 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
3878 <xsl:when test="d:info/d:subtitle">
3879 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
3881 <xsl:when test="d:subtitle">
3882 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:subtitle"/>
3886 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:dialogueinfo/d:corpauthor"/>
3887 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:docinfo/d:corpauthor"/>
3888 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:info/d:corpauthor"/>
3889 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:dialogueinfo/d:authorgroup"/>
3890 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:docinfo/d:authorgroup"/>
3891 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/>
3892 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:dialogueinfo/d:author"/>
3893 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:docinfo/d:author"/>
3894 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:info/d:author"/>
3895 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:dialogueinfo/d:othercredit"/>
3896 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:docinfo/d:othercredit"/>
3897 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:info/d:othercredit"/>
3898 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:dialogueinfo/d:releaseinfo"/>
3899 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:docinfo/d:releaseinfo"/>
3900 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:info/d:releaseinfo"/>
3901 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:dialogueinfo/d:copyright"/>
3902 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:docinfo/d:copyright"/>
3903 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:info/d:copyright"/>
3904 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:dialogueinfo/d:legalnotice"/>
3905 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:docinfo/d:legalnotice"/>
3906 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:info/d:legalnotice"/>
3907 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:dialogueinfo/d:pubdate"/>
3908 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:docinfo/d:pubdate"/>
3909 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:info/d:pubdate"/>
3910 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:dialogueinfo/d:revision"/>
3911 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:docinfo/d:revision"/>
3912 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:info/d:revision"/>
3913 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:dialogueinfo/d:revhistory"/>
3914 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:docinfo/d:revhistory"/>
3915 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:info/d:revhistory"/>
3916 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:dialogueinfo/d:abstract"/>
3917 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:docinfo/d:abstract"/>
3918 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:info/d:abstract"/>
3919 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:dialogueinfo/d:itermset"/>
3920 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
3921 <xsl:apply-templates mode="dialogue.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
3924 <xsl:template name="dialogue.titlepage.verso">
3927 <xsl:template name="dialogue.titlepage.separator">
3930 <xsl:template name="dialogue.titlepage.before.recto">
3933 <xsl:template name="dialogue.titlepage.before.verso">
3936 <xsl:template name="dialogue.titlepage">
3938 <xsl:variable name="recto.content">
3939 <xsl:call-template name="dialogue.titlepage.before.recto"/>
3940 <xsl:call-template name="dialogue.titlepage.recto"/>
3942 <xsl:variable name="recto.elements.count">
3944 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3945 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3946 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
3947 <xsl:otherwise>1</xsl:otherwise>
3950 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
3951 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
3953 <xsl:variable name="verso.content">
3954 <xsl:call-template name="dialogue.titlepage.before.verso"/>
3955 <xsl:call-template name="dialogue.titlepage.verso"/>
3957 <xsl:variable name="verso.elements.count">
3959 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3960 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
3961 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
3962 <xsl:otherwise>1</xsl:otherwise>
3965 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
3966 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
3968 <xsl:call-template name="dialogue.titlepage.separator"/>
3972 <xsl:template match="*" mode="dialogue.titlepage.recto.mode">
3973 <!-- if an element isn't found in this mode, -->
3974 <!-- try the generic titlepage.mode -->
3975 <xsl:apply-templates select="." mode="titlepage.mode"/>
3978 <xsl:template match="*" mode="dialogue.titlepage.verso.mode">
3979 <!-- if an element isn't found in this mode, -->
3980 <!-- try the generic titlepage.mode -->
3981 <xsl:apply-templates select="." mode="titlepage.mode"/>
3984 <xsl:template match="d:title" mode="dialogue.titlepage.recto.auto.mode">
3985 <fo:block xsl:use-attribute-sets="dialogue.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
3986 <xsl:apply-templates select="." mode="dialogue.titlepage.recto.mode"/>
3990 <xsl:template match="d:subtitle" mode="dialogue.titlepage.recto.auto.mode">
3991 <fo:block xsl:use-attribute-sets="dialogue.titlepage.recto.style" font-family="{$title.fontset}">
3992 <xsl:apply-templates select="." mode="dialogue.titlepage.recto.mode"/>
3996 <xsl:template match="d:corpauthor" mode="dialogue.titlepage.recto.auto.mode">
3997 <fo:block xsl:use-attribute-sets="dialogue.titlepage.recto.style">
3998 <xsl:apply-templates select="." mode="dialogue.titlepage.recto.mode"/>
4002 <xsl:template match="d:authorgroup" mode="dialogue.titlepage.recto.auto.mode">
4003 <fo:block xsl:use-attribute-sets="dialogue.titlepage.recto.style">
4004 <xsl:apply-templates select="." mode="dialogue.titlepage.recto.mode"/>
4008 <xsl:template match="d:author" mode="dialogue.titlepage.recto.auto.mode">
4009 <fo:block xsl:use-attribute-sets="dialogue.titlepage.recto.style">
4010 <xsl:apply-templates select="." mode="dialogue.titlepage.recto.mode"/>
4014 <xsl:template match="d:othercredit" mode="dialogue.titlepage.recto.auto.mode">
4015 <fo:block xsl:use-attribute-sets="dialogue.titlepage.recto.style">
4016 <xsl:apply-templates select="." mode="dialogue.titlepage.recto.mode"/>
4020 <xsl:template match="d:releaseinfo" mode="dialogue.titlepage.recto.auto.mode">
4021 <fo:block xsl:use-attribute-sets="dialogue.titlepage.recto.style">
4022 <xsl:apply-templates select="." mode="dialogue.titlepage.recto.mode"/>
4026 <xsl:template match="d:copyright" mode="dialogue.titlepage.recto.auto.mode">
4027 <fo:block xsl:use-attribute-sets="dialogue.titlepage.recto.style">
4028 <xsl:apply-templates select="." mode="dialogue.titlepage.recto.mode"/>
4032 <xsl:template match="d:legalnotice" mode="dialogue.titlepage.recto.auto.mode">
4033 <fo:block xsl:use-attribute-sets="dialogue.titlepage.recto.style">
4034 <xsl:apply-templates select="." mode="dialogue.titlepage.recto.mode"/>
4038 <xsl:template match="d:pubdate" mode="dialogue.titlepage.recto.auto.mode">
4039 <fo:block xsl:use-attribute-sets="dialogue.titlepage.recto.style">
4040 <xsl:apply-templates select="." mode="dialogue.titlepage.recto.mode"/>
4044 <xsl:template match="d:revision" mode="dialogue.titlepage.recto.auto.mode">
4045 <fo:block xsl:use-attribute-sets="dialogue.titlepage.recto.style">
4046 <xsl:apply-templates select="." mode="dialogue.titlepage.recto.mode"/>
4050 <xsl:template match="d:revhistory" mode="dialogue.titlepage.recto.auto.mode">
4051 <fo:block xsl:use-attribute-sets="dialogue.titlepage.recto.style">
4052 <xsl:apply-templates select="." mode="dialogue.titlepage.recto.mode"/>
4056 <xsl:template match="d:abstract" mode="dialogue.titlepage.recto.auto.mode">
4057 <fo:block xsl:use-attribute-sets="dialogue.titlepage.recto.style">
4058 <xsl:apply-templates select="." mode="dialogue.titlepage.recto.mode"/>
4062 <xsl:template match="d:itermset" mode="dialogue.titlepage.recto.auto.mode">
4063 <fo:block xsl:use-attribute-sets="dialogue.titlepage.recto.style">
4064 <xsl:apply-templates select="." mode="dialogue.titlepage.recto.mode"/>
4068 <xsl:template name="drama.titlepage.recto">
4070 <xsl:when test="d:dramainfo/d:title">
4071 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:dramainfo/d:title"/>
4073 <xsl:when test="d:docinfo/d:title">
4074 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:docinfo/d:title"/>
4076 <xsl:when test="d:info/d:title">
4077 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:info/d:title"/>
4079 <xsl:when test="d:title">
4080 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:title"/>
4085 <xsl:when test="d:dramainfo/d:subtitle">
4086 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:dramainfo/d:subtitle"/>
4088 <xsl:when test="d:docinfo/d:subtitle">
4089 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
4091 <xsl:when test="d:info/d:subtitle">
4092 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
4094 <xsl:when test="d:subtitle">
4095 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:subtitle"/>
4099 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:dramainfo/d:corpauthor"/>
4100 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:docinfo/d:corpauthor"/>
4101 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:info/d:corpauthor"/>
4102 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:dramainfo/d:authorgroup"/>
4103 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:docinfo/d:authorgroup"/>
4104 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/>
4105 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:dramainfo/d:author"/>
4106 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:docinfo/d:author"/>
4107 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:info/d:author"/>
4108 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:dramainfo/d:othercredit"/>
4109 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:docinfo/d:othercredit"/>
4110 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:info/d:othercredit"/>
4111 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:dramainfo/d:releaseinfo"/>
4112 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:docinfo/d:releaseinfo"/>
4113 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:info/d:releaseinfo"/>
4114 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:dramainfo/d:copyright"/>
4115 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:docinfo/d:copyright"/>
4116 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:info/d:copyright"/>
4117 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:dramainfo/d:legalnotice"/>
4118 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:docinfo/d:legalnotice"/>
4119 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:info/d:legalnotice"/>
4120 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:dramainfo/d:pubdate"/>
4121 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:docinfo/d:pubdate"/>
4122 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:info/d:pubdate"/>
4123 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:dramainfo/d:revision"/>
4124 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:docinfo/d:revision"/>
4125 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:info/d:revision"/>
4126 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:dramainfo/d:revhistory"/>
4127 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:docinfo/d:revhistory"/>
4128 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:info/d:revhistory"/>
4129 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:dramainfo/d:abstract"/>
4130 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:docinfo/d:abstract"/>
4131 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:info/d:abstract"/>
4132 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:dramainfo/d:itermset"/>
4133 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
4134 <xsl:apply-templates mode="drama.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
4137 <xsl:template name="drama.titlepage.verso">
4140 <xsl:template name="drama.titlepage.separator">
4143 <xsl:template name="drama.titlepage.before.recto">
4146 <xsl:template name="drama.titlepage.before.verso">
4149 <xsl:template name="drama.titlepage">
4151 <xsl:variable name="recto.content">
4152 <xsl:call-template name="drama.titlepage.before.recto"/>
4153 <xsl:call-template name="drama.titlepage.recto"/>
4155 <xsl:variable name="recto.elements.count">
4157 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4158 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4159 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4160 <xsl:otherwise>1</xsl:otherwise>
4163 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4164 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4166 <xsl:variable name="verso.content">
4167 <xsl:call-template name="drama.titlepage.before.verso"/>
4168 <xsl:call-template name="drama.titlepage.verso"/>
4170 <xsl:variable name="verso.elements.count">
4172 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4173 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4174 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4175 <xsl:otherwise>1</xsl:otherwise>
4178 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4179 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4181 <xsl:call-template name="drama.titlepage.separator"/>
4185 <xsl:template match="*" mode="drama.titlepage.recto.mode">
4186 <!-- if an element isn't found in this mode, -->
4187 <!-- try the generic titlepage.mode -->
4188 <xsl:apply-templates select="." mode="titlepage.mode"/>
4191 <xsl:template match="*" mode="drama.titlepage.verso.mode">
4192 <!-- if an element isn't found in this mode, -->
4193 <!-- try the generic titlepage.mode -->
4194 <xsl:apply-templates select="." mode="titlepage.mode"/>
4197 <xsl:template match="d:title" mode="drama.titlepage.recto.auto.mode">
4198 <fo:block xsl:use-attribute-sets="drama.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
4199 <xsl:apply-templates select="." mode="drama.titlepage.recto.mode"/>
4203 <xsl:template match="d:subtitle" mode="drama.titlepage.recto.auto.mode">
4204 <fo:block xsl:use-attribute-sets="drama.titlepage.recto.style" font-family="{$title.fontset}">
4205 <xsl:apply-templates select="." mode="drama.titlepage.recto.mode"/>
4209 <xsl:template match="d:corpauthor" mode="drama.titlepage.recto.auto.mode">
4210 <fo:block xsl:use-attribute-sets="drama.titlepage.recto.style">
4211 <xsl:apply-templates select="." mode="drama.titlepage.recto.mode"/>
4215 <xsl:template match="d:authorgroup" mode="drama.titlepage.recto.auto.mode">
4216 <fo:block xsl:use-attribute-sets="drama.titlepage.recto.style">
4217 <xsl:apply-templates select="." mode="drama.titlepage.recto.mode"/>
4221 <xsl:template match="d:author" mode="drama.titlepage.recto.auto.mode">
4222 <fo:block xsl:use-attribute-sets="drama.titlepage.recto.style">
4223 <xsl:apply-templates select="." mode="drama.titlepage.recto.mode"/>
4227 <xsl:template match="d:othercredit" mode="drama.titlepage.recto.auto.mode">
4228 <fo:block xsl:use-attribute-sets="drama.titlepage.recto.style">
4229 <xsl:apply-templates select="." mode="drama.titlepage.recto.mode"/>
4233 <xsl:template match="d:releaseinfo" mode="drama.titlepage.recto.auto.mode">
4234 <fo:block xsl:use-attribute-sets="drama.titlepage.recto.style">
4235 <xsl:apply-templates select="." mode="drama.titlepage.recto.mode"/>
4239 <xsl:template match="d:copyright" mode="drama.titlepage.recto.auto.mode">
4240 <fo:block xsl:use-attribute-sets="drama.titlepage.recto.style">
4241 <xsl:apply-templates select="." mode="drama.titlepage.recto.mode"/>
4245 <xsl:template match="d:legalnotice" mode="drama.titlepage.recto.auto.mode">
4246 <fo:block xsl:use-attribute-sets="drama.titlepage.recto.style">
4247 <xsl:apply-templates select="." mode="drama.titlepage.recto.mode"/>
4251 <xsl:template match="d:pubdate" mode="drama.titlepage.recto.auto.mode">
4252 <fo:block xsl:use-attribute-sets="drama.titlepage.recto.style">
4253 <xsl:apply-templates select="." mode="drama.titlepage.recto.mode"/>
4257 <xsl:template match="d:revision" mode="drama.titlepage.recto.auto.mode">
4258 <fo:block xsl:use-attribute-sets="drama.titlepage.recto.style">
4259 <xsl:apply-templates select="." mode="drama.titlepage.recto.mode"/>
4263 <xsl:template match="d:revhistory" mode="drama.titlepage.recto.auto.mode">
4264 <fo:block xsl:use-attribute-sets="drama.titlepage.recto.style">
4265 <xsl:apply-templates select="." mode="drama.titlepage.recto.mode"/>
4269 <xsl:template match="d:abstract" mode="drama.titlepage.recto.auto.mode">
4270 <fo:block xsl:use-attribute-sets="drama.titlepage.recto.style">
4271 <xsl:apply-templates select="." mode="drama.titlepage.recto.mode"/>
4275 <xsl:template match="d:itermset" mode="drama.titlepage.recto.auto.mode">
4276 <fo:block xsl:use-attribute-sets="drama.titlepage.recto.style">
4277 <xsl:apply-templates select="." mode="drama.titlepage.recto.mode"/>
4281 <xsl:template name="poetry.titlepage.recto">
4283 <xsl:when test="d:poetryinfo/d:title">
4284 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:poetryinfo/d:title"/>
4286 <xsl:when test="d:docinfo/d:title">
4287 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:docinfo/d:title"/>
4289 <xsl:when test="d:info/d:title">
4290 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:info/d:title"/>
4292 <xsl:when test="d:title">
4293 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:title"/>
4298 <xsl:when test="d:poetryinfo/d:subtitle">
4299 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:poetryinfo/d:subtitle"/>
4301 <xsl:when test="d:docinfo/d:subtitle">
4302 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
4304 <xsl:when test="d:info/d:subtitle">
4305 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
4307 <xsl:when test="d:subtitle">
4308 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:subtitle"/>
4312 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:poetryinfo/d:corpauthor"/>
4313 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:docinfo/d:corpauthor"/>
4314 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:info/d:corpauthor"/>
4315 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:poetryinfo/d:authorgroup"/>
4316 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:docinfo/d:authorgroup"/>
4317 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/>
4318 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:poetryinfo/d:author"/>
4319 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:docinfo/d:author"/>
4320 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:info/d:author"/>
4321 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:poetryinfo/d:othercredit"/>
4322 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:docinfo/d:othercredit"/>
4323 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:info/d:othercredit"/>
4324 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:poetryinfo/d:releaseinfo"/>
4325 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:docinfo/d:releaseinfo"/>
4326 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:info/d:releaseinfo"/>
4327 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:poetryinfo/d:copyright"/>
4328 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:docinfo/d:copyright"/>
4329 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:info/d:copyright"/>
4330 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:poetryinfo/d:legalnotice"/>
4331 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:docinfo/d:legalnotice"/>
4332 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:info/d:legalnotice"/>
4333 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:poetryinfo/d:pubdate"/>
4334 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:docinfo/d:pubdate"/>
4335 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:info/d:pubdate"/>
4336 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:poetryinfo/d:revision"/>
4337 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:docinfo/d:revision"/>
4338 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:info/d:revision"/>
4339 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:poetryinfo/d:revhistory"/>
4340 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:docinfo/d:revhistory"/>
4341 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:info/d:revhistory"/>
4342 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:poetryinfo/d:abstract"/>
4343 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:docinfo/d:abstract"/>
4344 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:info/d:abstract"/>
4345 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:poetryinfo/d:itermset"/>
4346 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
4347 <xsl:apply-templates mode="poetry.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
4350 <xsl:template name="poetry.titlepage.verso">
4353 <xsl:template name="poetry.titlepage.separator">
4356 <xsl:template name="poetry.titlepage.before.recto">
4359 <xsl:template name="poetry.titlepage.before.verso">
4362 <xsl:template name="poetry.titlepage">
4364 <xsl:variable name="recto.content">
4365 <xsl:call-template name="poetry.titlepage.before.recto"/>
4366 <xsl:call-template name="poetry.titlepage.recto"/>
4368 <xsl:variable name="recto.elements.count">
4370 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.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($recto.content)/*)"/></xsl:when>
4373 <xsl:otherwise>1</xsl:otherwise>
4376 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4377 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4379 <xsl:variable name="verso.content">
4380 <xsl:call-template name="poetry.titlepage.before.verso"/>
4381 <xsl:call-template name="poetry.titlepage.verso"/>
4383 <xsl:variable name="verso.elements.count">
4385 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4386 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4387 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4388 <xsl:otherwise>1</xsl:otherwise>
4391 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4392 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4394 <xsl:call-template name="poetry.titlepage.separator"/>
4398 <xsl:template match="*" mode="poetry.titlepage.recto.mode">
4399 <!-- if an element isn't found in this mode, -->
4400 <!-- try the generic titlepage.mode -->
4401 <xsl:apply-templates select="." mode="titlepage.mode"/>
4404 <xsl:template match="*" mode="poetry.titlepage.verso.mode">
4405 <!-- if an element isn't found in this mode, -->
4406 <!-- try the generic titlepage.mode -->
4407 <xsl:apply-templates select="." mode="titlepage.mode"/>
4410 <xsl:template match="d:title" mode="poetry.titlepage.recto.auto.mode">
4411 <fo:block xsl:use-attribute-sets="poetry.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
4412 <xsl:apply-templates select="." mode="poetry.titlepage.recto.mode"/>
4416 <xsl:template match="d:subtitle" mode="poetry.titlepage.recto.auto.mode">
4417 <fo:block xsl:use-attribute-sets="poetry.titlepage.recto.style" font-family="{$title.fontset}">
4418 <xsl:apply-templates select="." mode="poetry.titlepage.recto.mode"/>
4422 <xsl:template match="d:corpauthor" mode="poetry.titlepage.recto.auto.mode">
4423 <fo:block xsl:use-attribute-sets="poetry.titlepage.recto.style">
4424 <xsl:apply-templates select="." mode="poetry.titlepage.recto.mode"/>
4428 <xsl:template match="d:authorgroup" mode="poetry.titlepage.recto.auto.mode">
4429 <fo:block xsl:use-attribute-sets="poetry.titlepage.recto.style">
4430 <xsl:apply-templates select="." mode="poetry.titlepage.recto.mode"/>
4434 <xsl:template match="d:author" mode="poetry.titlepage.recto.auto.mode">
4435 <fo:block xsl:use-attribute-sets="poetry.titlepage.recto.style">
4436 <xsl:apply-templates select="." mode="poetry.titlepage.recto.mode"/>
4440 <xsl:template match="d:othercredit" mode="poetry.titlepage.recto.auto.mode">
4441 <fo:block xsl:use-attribute-sets="poetry.titlepage.recto.style">
4442 <xsl:apply-templates select="." mode="poetry.titlepage.recto.mode"/>
4446 <xsl:template match="d:releaseinfo" mode="poetry.titlepage.recto.auto.mode">
4447 <fo:block xsl:use-attribute-sets="poetry.titlepage.recto.style">
4448 <xsl:apply-templates select="." mode="poetry.titlepage.recto.mode"/>
4452 <xsl:template match="d:copyright" mode="poetry.titlepage.recto.auto.mode">
4453 <fo:block xsl:use-attribute-sets="poetry.titlepage.recto.style">
4454 <xsl:apply-templates select="." mode="poetry.titlepage.recto.mode"/>
4458 <xsl:template match="d:legalnotice" mode="poetry.titlepage.recto.auto.mode">
4459 <fo:block xsl:use-attribute-sets="poetry.titlepage.recto.style">
4460 <xsl:apply-templates select="." mode="poetry.titlepage.recto.mode"/>
4464 <xsl:template match="d:pubdate" mode="poetry.titlepage.recto.auto.mode">
4465 <fo:block xsl:use-attribute-sets="poetry.titlepage.recto.style">
4466 <xsl:apply-templates select="." mode="poetry.titlepage.recto.mode"/>
4470 <xsl:template match="d:revision" mode="poetry.titlepage.recto.auto.mode">
4471 <fo:block xsl:use-attribute-sets="poetry.titlepage.recto.style">
4472 <xsl:apply-templates select="." mode="poetry.titlepage.recto.mode"/>
4476 <xsl:template match="d:revhistory" mode="poetry.titlepage.recto.auto.mode">
4477 <fo:block xsl:use-attribute-sets="poetry.titlepage.recto.style">
4478 <xsl:apply-templates select="." mode="poetry.titlepage.recto.mode"/>
4482 <xsl:template match="d:abstract" mode="poetry.titlepage.recto.auto.mode">
4483 <fo:block xsl:use-attribute-sets="poetry.titlepage.recto.style">
4484 <xsl:apply-templates select="." mode="poetry.titlepage.recto.mode"/>
4488 <xsl:template match="d:itermset" mode="poetry.titlepage.recto.auto.mode">
4489 <fo:block xsl:use-attribute-sets="poetry.titlepage.recto.style">
4490 <xsl:apply-templates select="." mode="poetry.titlepage.recto.mode"/>
4494 <xsl:template name="topic.titlepage.recto">
4496 <xsl:when test="d:topicinfo/d:title">
4497 <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="d:topicinfo/d:title"/>
4499 <xsl:when test="d:info/d:title">
4500 <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="d:info/d:title"/>
4502 <xsl:when test="d:title">
4503 <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="d:title"/>
4508 <xsl:when test="d:topicinfo/d:subtitle">
4509 <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="d:topicinfo/d:subtitle"/>
4511 <xsl:when test="d:info/d:subtitle">
4512 <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
4514 <xsl:when test="d:subtitle">
4515 <xsl:apply-templates mode="topic.titlepage.recto.auto.mode" select="d:subtitle"/>
4521 <xsl:template name="topic.titlepage.verso">
4524 <xsl:template name="topic.titlepage.separator">
4527 <xsl:template name="topic.titlepage.before.recto">
4530 <xsl:template name="topic.titlepage.before.verso">
4533 <xsl:template name="topic.titlepage">
4535 <xsl:variable name="recto.content">
4536 <xsl:call-template name="topic.titlepage.before.recto"/>
4537 <xsl:call-template name="topic.titlepage.recto"/>
4539 <xsl:variable name="recto.elements.count">
4541 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4542 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4543 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4544 <xsl:otherwise>1</xsl:otherwise>
4547 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4548 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4550 <xsl:variable name="verso.content">
4551 <xsl:call-template name="topic.titlepage.before.verso"/>
4552 <xsl:call-template name="topic.titlepage.verso"/>
4554 <xsl:variable name="verso.elements.count">
4556 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4557 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4558 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4559 <xsl:otherwise>1</xsl:otherwise>
4562 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4563 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4565 <xsl:call-template name="topic.titlepage.separator"/>
4569 <xsl:template match="*" mode="topic.titlepage.recto.mode">
4570 <!-- if an element isn't found in this mode, -->
4571 <!-- try the generic titlepage.mode -->
4572 <xsl:apply-templates select="." mode="titlepage.mode"/>
4575 <xsl:template match="*" mode="topic.titlepage.verso.mode">
4576 <!-- if an element isn't found in this mode, -->
4577 <!-- try the generic titlepage.mode -->
4578 <xsl:apply-templates select="." mode="titlepage.mode"/>
4581 <xsl:template match="d:title" mode="topic.titlepage.recto.auto.mode">
4582 <fo:block xsl:use-attribute-sets="topic.titlepage.recto.style" font-weight="bold" font-size="17.28pt" space-before="1em" space-after="1em" font-family="{$title.fontset}">
4583 <xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/>
4587 <xsl:template match="d:subtitle" mode="topic.titlepage.recto.auto.mode">
4588 <fo:block xsl:use-attribute-sets="topic.titlepage.recto.style" font-family="{$title.fontset}">
4589 <xsl:apply-templates select="." mode="topic.titlepage.recto.mode"/>
4593 <xsl:template name="bibliography.titlepage.recto">
4594 <fo:block xsl:use-attribute-sets="bibliography.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
4595 <xsl:call-template name="component.title">
4596 <xsl:with-param name="node" select="ancestor-or-self::d:bibliography[1]"/>
4597 </xsl:call-template></fo:block>
4599 <xsl:when test="d:bibliographyinfo/d:subtitle">
4600 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="d:bibliographyinfo/d:subtitle"/>
4602 <xsl:when test="d:docinfo/d:subtitle">
4603 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
4605 <xsl:when test="d:info/d:subtitle">
4606 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
4608 <xsl:when test="d:subtitle">
4609 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="d:subtitle"/>
4613 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="d:bibliographyinfo/d:itermset"/>
4614 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
4615 <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
4618 <xsl:template name="bibliography.titlepage.verso">
4621 <xsl:template name="bibliography.titlepage.separator">
4624 <xsl:template name="bibliography.titlepage.before.recto">
4627 <xsl:template name="bibliography.titlepage.before.verso">
4630 <xsl:template name="bibliography.titlepage">
4632 <xsl:variable name="recto.content">
4633 <xsl:call-template name="bibliography.titlepage.before.recto"/>
4634 <xsl:call-template name="bibliography.titlepage.recto"/>
4636 <xsl:variable name="recto.elements.count">
4638 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4639 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4640 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4641 <xsl:otherwise>1</xsl:otherwise>
4644 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4645 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4647 <xsl:variable name="verso.content">
4648 <xsl:call-template name="bibliography.titlepage.before.verso"/>
4649 <xsl:call-template name="bibliography.titlepage.verso"/>
4651 <xsl:variable name="verso.elements.count">
4653 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4654 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4655 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4656 <xsl:otherwise>1</xsl:otherwise>
4659 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4660 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4662 <xsl:call-template name="bibliography.titlepage.separator"/>
4666 <xsl:template match="*" mode="bibliography.titlepage.recto.mode">
4667 <!-- if an element isn't found in this mode, -->
4668 <!-- try the generic titlepage.mode -->
4669 <xsl:apply-templates select="." mode="titlepage.mode"/>
4672 <xsl:template match="*" mode="bibliography.titlepage.verso.mode">
4673 <!-- if an element isn't found in this mode, -->
4674 <!-- try the generic titlepage.mode -->
4675 <xsl:apply-templates select="." mode="titlepage.mode"/>
4678 <xsl:template match="d:subtitle" mode="bibliography.titlepage.recto.auto.mode">
4679 <fo:block xsl:use-attribute-sets="bibliography.titlepage.recto.style" font-family="{$title.fontset}">
4680 <xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/>
4684 <xsl:template match="d:itermset" mode="bibliography.titlepage.recto.auto.mode">
4685 <fo:block xsl:use-attribute-sets="bibliography.titlepage.recto.style">
4686 <xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/>
4690 <xsl:template name="bibliodiv.titlepage.recto">
4692 <xsl:when test="d:bibliodivinfo/d:title">
4693 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="d:bibliodivinfo/d:title"/>
4695 <xsl:when test="d:docinfo/d:title">
4696 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="d:docinfo/d:title"/>
4698 <xsl:when test="d:info/d:title">
4699 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="d:info/d:title"/>
4701 <xsl:when test="d:title">
4702 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="d:title"/>
4707 <xsl:when test="d:bibliodivinfo/d:subtitle">
4708 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="d:bibliodivinfo/d:subtitle"/>
4710 <xsl:when test="d:docinfo/d:subtitle">
4711 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
4713 <xsl:when test="d:info/d:subtitle">
4714 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
4716 <xsl:when test="d:subtitle">
4717 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="d:subtitle"/>
4721 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="d:bibliodivinfo/d:itermset"/>
4722 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
4723 <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
4726 <xsl:template name="bibliodiv.titlepage.verso">
4729 <xsl:template name="bibliodiv.titlepage.separator">
4732 <xsl:template name="bibliodiv.titlepage.before.recto">
4735 <xsl:template name="bibliodiv.titlepage.before.verso">
4738 <xsl:template name="bibliodiv.titlepage">
4740 <xsl:variable name="recto.content">
4741 <xsl:call-template name="bibliodiv.titlepage.before.recto"/>
4742 <xsl:call-template name="bibliodiv.titlepage.recto"/>
4744 <xsl:variable name="recto.elements.count">
4746 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4747 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4748 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4749 <xsl:otherwise>1</xsl:otherwise>
4752 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4753 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4755 <xsl:variable name="verso.content">
4756 <xsl:call-template name="bibliodiv.titlepage.before.verso"/>
4757 <xsl:call-template name="bibliodiv.titlepage.verso"/>
4759 <xsl:variable name="verso.elements.count">
4761 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4762 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4763 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4764 <xsl:otherwise>1</xsl:otherwise>
4767 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4768 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4770 <xsl:call-template name="bibliodiv.titlepage.separator"/>
4774 <xsl:template match="*" mode="bibliodiv.titlepage.recto.mode">
4775 <!-- if an element isn't found in this mode, -->
4776 <!-- try the generic titlepage.mode -->
4777 <xsl:apply-templates select="." mode="titlepage.mode"/>
4780 <xsl:template match="*" mode="bibliodiv.titlepage.verso.mode">
4781 <!-- if an element isn't found in this mode, -->
4782 <!-- try the generic titlepage.mode -->
4783 <xsl:apply-templates select="." mode="titlepage.mode"/>
4786 <xsl:template match="d:title" mode="bibliodiv.titlepage.recto.auto.mode">
4787 <fo:block xsl:use-attribute-sets="bibliodiv.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="20.736pt" font-family="{$title.fontset}" font-weight="bold">
4788 <xsl:call-template name="component.title">
4789 <xsl:with-param name="node" select="ancestor-or-self::d:bibliodiv[1]"/>
4790 </xsl:call-template>
4794 <xsl:template match="d:subtitle" mode="bibliodiv.titlepage.recto.auto.mode">
4795 <fo:block xsl:use-attribute-sets="bibliodiv.titlepage.recto.style" font-family="{$title.fontset}">
4796 <xsl:apply-templates select="." mode="bibliodiv.titlepage.recto.mode"/>
4800 <xsl:template match="d:itermset" mode="bibliodiv.titlepage.recto.auto.mode">
4801 <fo:block xsl:use-attribute-sets="bibliodiv.titlepage.recto.style">
4802 <xsl:apply-templates select="." mode="bibliodiv.titlepage.recto.mode"/>
4806 <xsl:template name="glossary.titlepage.recto">
4807 <fo:block xsl:use-attribute-sets="glossary.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
4808 <xsl:call-template name="component.title">
4809 <xsl:with-param name="node" select="ancestor-or-self::d:glossary[1]"/>
4810 </xsl:call-template></fo:block>
4812 <xsl:when test="d:glossaryinfo/d:subtitle">
4813 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="d:glossaryinfo/d:subtitle"/>
4815 <xsl:when test="d:docinfo/d:subtitle">
4816 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
4818 <xsl:when test="d:info/d:subtitle">
4819 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
4821 <xsl:when test="d:subtitle">
4822 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="d:subtitle"/>
4826 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="d:glossaryinfo/d:itermset"/>
4827 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
4828 <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
4831 <xsl:template name="glossary.titlepage.verso">
4834 <xsl:template name="glossary.titlepage.separator">
4837 <xsl:template name="glossary.titlepage.before.recto">
4840 <xsl:template name="glossary.titlepage.before.verso">
4843 <xsl:template name="glossary.titlepage">
4845 <xsl:variable name="recto.content">
4846 <xsl:call-template name="glossary.titlepage.before.recto"/>
4847 <xsl:call-template name="glossary.titlepage.recto"/>
4849 <xsl:variable name="recto.elements.count">
4851 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4852 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4853 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4854 <xsl:otherwise>1</xsl:otherwise>
4857 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4858 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4860 <xsl:variable name="verso.content">
4861 <xsl:call-template name="glossary.titlepage.before.verso"/>
4862 <xsl:call-template name="glossary.titlepage.verso"/>
4864 <xsl:variable name="verso.elements.count">
4866 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4867 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4868 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4869 <xsl:otherwise>1</xsl:otherwise>
4872 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4873 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4875 <xsl:call-template name="glossary.titlepage.separator"/>
4879 <xsl:template match="*" mode="glossary.titlepage.recto.mode">
4880 <!-- if an element isn't found in this mode, -->
4881 <!-- try the generic titlepage.mode -->
4882 <xsl:apply-templates select="." mode="titlepage.mode"/>
4885 <xsl:template match="*" mode="glossary.titlepage.verso.mode">
4886 <!-- if an element isn't found in this mode, -->
4887 <!-- try the generic titlepage.mode -->
4888 <xsl:apply-templates select="." mode="titlepage.mode"/>
4891 <xsl:template match="d:subtitle" mode="glossary.titlepage.recto.auto.mode">
4892 <fo:block xsl:use-attribute-sets="glossary.titlepage.recto.style" font-family="{$title.fontset}">
4893 <xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/>
4897 <xsl:template match="d:itermset" mode="glossary.titlepage.recto.auto.mode">
4898 <fo:block xsl:use-attribute-sets="glossary.titlepage.recto.style">
4899 <xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/>
4903 <xsl:template name="glossdiv.titlepage.recto">
4905 <xsl:when test="d:glossdivinfo/d:title">
4906 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="d:glossdivinfo/d:title"/>
4908 <xsl:when test="d:docinfo/d:title">
4909 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="d:docinfo/d:title"/>
4911 <xsl:when test="d:info/d:title">
4912 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="d:info/d:title"/>
4914 <xsl:when test="d:title">
4915 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="d:title"/>
4920 <xsl:when test="d:glossdivinfo/d:subtitle">
4921 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="d:glossdivinfo/d:subtitle"/>
4923 <xsl:when test="d:docinfo/d:subtitle">
4924 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
4926 <xsl:when test="d:info/d:subtitle">
4927 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
4929 <xsl:when test="d:subtitle">
4930 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="d:subtitle"/>
4934 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="d:glossdivinfo/d:itermset"/>
4935 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
4936 <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
4939 <xsl:template name="glossdiv.titlepage.verso">
4942 <xsl:template name="glossdiv.titlepage.separator">
4945 <xsl:template name="glossdiv.titlepage.before.recto">
4948 <xsl:template name="glossdiv.titlepage.before.verso">
4951 <xsl:template name="glossdiv.titlepage">
4953 <xsl:variable name="recto.content">
4954 <xsl:call-template name="glossdiv.titlepage.before.recto"/>
4955 <xsl:call-template name="glossdiv.titlepage.recto"/>
4957 <xsl:variable name="recto.elements.count">
4959 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4960 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4961 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
4962 <xsl:otherwise>1</xsl:otherwise>
4965 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
4966 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
4968 <xsl:variable name="verso.content">
4969 <xsl:call-template name="glossdiv.titlepage.before.verso"/>
4970 <xsl:call-template name="glossdiv.titlepage.verso"/>
4972 <xsl:variable name="verso.elements.count">
4974 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4975 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
4976 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
4977 <xsl:otherwise>1</xsl:otherwise>
4980 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
4981 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
4983 <xsl:call-template name="glossdiv.titlepage.separator"/>
4987 <xsl:template match="*" mode="glossdiv.titlepage.recto.mode">
4988 <!-- if an element isn't found in this mode, -->
4989 <!-- try the generic titlepage.mode -->
4990 <xsl:apply-templates select="." mode="titlepage.mode"/>
4993 <xsl:template match="*" mode="glossdiv.titlepage.verso.mode">
4994 <!-- if an element isn't found in this mode, -->
4995 <!-- try the generic titlepage.mode -->
4996 <xsl:apply-templates select="." mode="titlepage.mode"/>
4999 <xsl:template match="d:title" mode="glossdiv.titlepage.recto.auto.mode">
5000 <fo:block xsl:use-attribute-sets="glossdiv.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="20.736pt" font-family="{$title.fontset}" font-weight="bold">
5001 <xsl:call-template name="component.title">
5002 <xsl:with-param name="node" select="ancestor-or-self::d:glossdiv[1]"/>
5003 </xsl:call-template>
5007 <xsl:template match="d:subtitle" mode="glossdiv.titlepage.recto.auto.mode">
5008 <fo:block xsl:use-attribute-sets="glossdiv.titlepage.recto.style" font-family="{$title.fontset}">
5009 <xsl:apply-templates select="." mode="glossdiv.titlepage.recto.mode"/>
5013 <xsl:template match="d:itermset" mode="glossdiv.titlepage.recto.auto.mode">
5014 <fo:block xsl:use-attribute-sets="glossdiv.titlepage.recto.style">
5015 <xsl:apply-templates select="." mode="glossdiv.titlepage.recto.mode"/>
5019 <xsl:template name="index.titlepage.recto">
5020 <fo:block xsl:use-attribute-sets="index.titlepage.recto.style" margin-left="0pt" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
5021 <xsl:call-template name="component.title">
5022 <xsl:with-param name="node" select="ancestor-or-self::d:index[1]"/>
5023 <xsl:with-param name="pagewide" select="1"/>
5024 </xsl:call-template></fo:block>
5026 <xsl:when test="d:indexinfo/d:subtitle">
5027 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="d:indexinfo/d:subtitle"/>
5029 <xsl:when test="d:docinfo/d:subtitle">
5030 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
5032 <xsl:when test="d:info/d:subtitle">
5033 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
5035 <xsl:when test="d:subtitle">
5036 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="d:subtitle"/>
5040 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="d:indexinfo/d:itermset"/>
5041 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
5042 <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
5045 <xsl:template name="index.titlepage.verso">
5048 <xsl:template name="index.titlepage.separator">
5051 <xsl:template name="index.titlepage.before.recto">
5054 <xsl:template name="index.titlepage.before.verso">
5057 <xsl:template name="index.titlepage">
5059 <xsl:variable name="recto.content">
5060 <xsl:call-template name="index.titlepage.before.recto"/>
5061 <xsl:call-template name="index.titlepage.recto"/>
5063 <xsl:variable name="recto.elements.count">
5065 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5066 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5067 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5068 <xsl:otherwise>1</xsl:otherwise>
5071 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
5072 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
5074 <xsl:variable name="verso.content">
5075 <xsl:call-template name="index.titlepage.before.verso"/>
5076 <xsl:call-template name="index.titlepage.verso"/>
5078 <xsl:variable name="verso.elements.count">
5080 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5081 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5082 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5083 <xsl:otherwise>1</xsl:otherwise>
5086 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
5087 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
5089 <xsl:call-template name="index.titlepage.separator"/>
5093 <xsl:template match="*" mode="index.titlepage.recto.mode">
5094 <!-- if an element isn't found in this mode, -->
5095 <!-- try the generic titlepage.mode -->
5096 <xsl:apply-templates select="." mode="titlepage.mode"/>
5099 <xsl:template match="*" mode="index.titlepage.verso.mode">
5100 <!-- if an element isn't found in this mode, -->
5101 <!-- try the generic titlepage.mode -->
5102 <xsl:apply-templates select="." mode="titlepage.mode"/>
5105 <xsl:template match="d:subtitle" mode="index.titlepage.recto.auto.mode">
5106 <fo:block xsl:use-attribute-sets="index.titlepage.recto.style" font-family="{$title.fontset}">
5107 <xsl:apply-templates select="." mode="index.titlepage.recto.mode"/>
5111 <xsl:template match="d:itermset" mode="index.titlepage.recto.auto.mode">
5112 <fo:block xsl:use-attribute-sets="index.titlepage.recto.style">
5113 <xsl:apply-templates select="." mode="index.titlepage.recto.mode"/>
5117 <xsl:template name="indexdiv.titlepage.recto">
5118 <fo:block xsl:use-attribute-sets="indexdiv.titlepage.recto.style">
5119 <xsl:call-template name="indexdiv.title">
5120 <xsl:with-param name="title" select="title"/>
5121 </xsl:call-template></fo:block>
5123 <xsl:when test="d:indexdivinfo/d:subtitle">
5124 <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="d:indexdivinfo/d:subtitle"/>
5126 <xsl:when test="d:docinfo/d:subtitle">
5127 <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
5129 <xsl:when test="d:info/d:subtitle">
5130 <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
5132 <xsl:when test="d:subtitle">
5133 <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="d:subtitle"/>
5137 <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="d:indexdivinfo/d:itermset"/>
5138 <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
5139 <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
5142 <xsl:template name="indexdiv.titlepage.verso">
5145 <xsl:template name="indexdiv.titlepage.separator">
5148 <xsl:template name="indexdiv.titlepage.before.recto">
5151 <xsl:template name="indexdiv.titlepage.before.verso">
5154 <xsl:template name="indexdiv.titlepage">
5156 <xsl:variable name="recto.content">
5157 <xsl:call-template name="indexdiv.titlepage.before.recto"/>
5158 <xsl:call-template name="indexdiv.titlepage.recto"/>
5160 <xsl:variable name="recto.elements.count">
5162 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5163 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5164 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5165 <xsl:otherwise>1</xsl:otherwise>
5168 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
5169 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
5171 <xsl:variable name="verso.content">
5172 <xsl:call-template name="indexdiv.titlepage.before.verso"/>
5173 <xsl:call-template name="indexdiv.titlepage.verso"/>
5175 <xsl:variable name="verso.elements.count">
5177 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5178 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5179 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5180 <xsl:otherwise>1</xsl:otherwise>
5183 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
5184 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
5186 <xsl:call-template name="indexdiv.titlepage.separator"/>
5190 <xsl:template match="*" mode="indexdiv.titlepage.recto.mode">
5191 <!-- if an element isn't found in this mode, -->
5192 <!-- try the generic titlepage.mode -->
5193 <xsl:apply-templates select="." mode="titlepage.mode"/>
5196 <xsl:template match="*" mode="indexdiv.titlepage.verso.mode">
5197 <!-- if an element isn't found in this mode, -->
5198 <!-- try the generic titlepage.mode -->
5199 <xsl:apply-templates select="." mode="titlepage.mode"/>
5202 <xsl:template match="d:subtitle" mode="indexdiv.titlepage.recto.auto.mode">
5203 <fo:block xsl:use-attribute-sets="indexdiv.titlepage.recto.style" font-family="{$title.fontset}">
5204 <xsl:apply-templates select="." mode="indexdiv.titlepage.recto.mode"/>
5208 <xsl:template match="d:itermset" mode="indexdiv.titlepage.recto.auto.mode">
5209 <fo:block xsl:use-attribute-sets="indexdiv.titlepage.recto.style">
5210 <xsl:apply-templates select="." mode="indexdiv.titlepage.recto.mode"/>
5214 <xsl:template name="setindex.titlepage.recto">
5215 <fo:block xsl:use-attribute-sets="setindex.titlepage.recto.style" margin-left="0pt" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
5216 <xsl:call-template name="component.title">
5217 <xsl:with-param name="node" select="ancestor-or-self::d:setindex[1]"/>
5218 <xsl:with-param name="pagewide" select="1"/>
5219 </xsl:call-template></fo:block>
5221 <xsl:when test="d:setindexinfo/d:subtitle">
5222 <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="d:setindexinfo/d:subtitle"/>
5224 <xsl:when test="d:docinfo/d:subtitle">
5225 <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
5227 <xsl:when test="d:info/d:subtitle">
5228 <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
5230 <xsl:when test="d:subtitle">
5231 <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="d:subtitle"/>
5235 <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="d:setindexinfo/d:itermset"/>
5236 <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
5237 <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
5240 <xsl:template name="setindex.titlepage.verso">
5243 <xsl:template name="setindex.titlepage.separator">
5246 <xsl:template name="setindex.titlepage.before.recto">
5249 <xsl:template name="setindex.titlepage.before.verso">
5252 <xsl:template name="setindex.titlepage">
5254 <xsl:variable name="recto.content">
5255 <xsl:call-template name="setindex.titlepage.before.recto"/>
5256 <xsl:call-template name="setindex.titlepage.recto"/>
5258 <xsl:variable name="recto.elements.count">
5260 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5261 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5262 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5263 <xsl:otherwise>1</xsl:otherwise>
5266 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
5267 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
5269 <xsl:variable name="verso.content">
5270 <xsl:call-template name="setindex.titlepage.before.verso"/>
5271 <xsl:call-template name="setindex.titlepage.verso"/>
5273 <xsl:variable name="verso.elements.count">
5275 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5276 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5277 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5278 <xsl:otherwise>1</xsl:otherwise>
5281 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
5282 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
5284 <xsl:call-template name="setindex.titlepage.separator"/>
5288 <xsl:template match="*" mode="setindex.titlepage.recto.mode">
5289 <!-- if an element isn't found in this mode, -->
5290 <!-- try the generic titlepage.mode -->
5291 <xsl:apply-templates select="." mode="titlepage.mode"/>
5294 <xsl:template match="*" mode="setindex.titlepage.verso.mode">
5295 <!-- if an element isn't found in this mode, -->
5296 <!-- try the generic titlepage.mode -->
5297 <xsl:apply-templates select="." mode="titlepage.mode"/>
5300 <xsl:template match="d:subtitle" mode="setindex.titlepage.recto.auto.mode">
5301 <fo:block xsl:use-attribute-sets="setindex.titlepage.recto.style" font-family="{$title.fontset}">
5302 <xsl:apply-templates select="." mode="setindex.titlepage.recto.mode"/>
5306 <xsl:template match="d:itermset" mode="setindex.titlepage.recto.auto.mode">
5307 <fo:block xsl:use-attribute-sets="setindex.titlepage.recto.style">
5308 <xsl:apply-templates select="." mode="setindex.titlepage.recto.mode"/>
5312 <xsl:template name="colophon.titlepage.recto">
5313 <fo:block xsl:use-attribute-sets="colophon.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
5314 <xsl:call-template name="component.title">
5315 <xsl:with-param name="node" select="ancestor-or-self::d:colophon[1]"/>
5316 </xsl:call-template></fo:block>
5318 <xsl:when test="d:colophoninfo/d:subtitle">
5319 <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="d:colophoninfo/d:subtitle"/>
5321 <xsl:when test="d:docinfo/d:subtitle">
5322 <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
5324 <xsl:when test="d:info/d:subtitle">
5325 <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
5327 <xsl:when test="d:subtitle">
5328 <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="d:subtitle"/>
5332 <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="d:colophoninfo/d:itermset"/>
5333 <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
5334 <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
5337 <xsl:template name="colophon.titlepage.verso">
5340 <xsl:template name="colophon.titlepage.separator">
5343 <xsl:template name="colophon.titlepage.before.recto">
5346 <xsl:template name="colophon.titlepage.before.verso">
5349 <xsl:template name="colophon.titlepage">
5351 <xsl:variable name="recto.content">
5352 <xsl:call-template name="colophon.titlepage.before.recto"/>
5353 <xsl:call-template name="colophon.titlepage.recto"/>
5355 <xsl:variable name="recto.elements.count">
5357 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5358 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5359 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5360 <xsl:otherwise>1</xsl:otherwise>
5363 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
5364 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
5366 <xsl:variable name="verso.content">
5367 <xsl:call-template name="colophon.titlepage.before.verso"/>
5368 <xsl:call-template name="colophon.titlepage.verso"/>
5370 <xsl:variable name="verso.elements.count">
5372 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5373 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5374 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5375 <xsl:otherwise>1</xsl:otherwise>
5378 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
5379 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
5381 <xsl:call-template name="colophon.titlepage.separator"/>
5385 <xsl:template match="*" mode="colophon.titlepage.recto.mode">
5386 <!-- if an element isn't found in this mode, -->
5387 <!-- try the generic titlepage.mode -->
5388 <xsl:apply-templates select="." mode="titlepage.mode"/>
5391 <xsl:template match="*" mode="colophon.titlepage.verso.mode">
5392 <!-- if an element isn't found in this mode, -->
5393 <!-- try the generic titlepage.mode -->
5394 <xsl:apply-templates select="." mode="titlepage.mode"/>
5397 <xsl:template match="d:subtitle" mode="colophon.titlepage.recto.auto.mode">
5398 <fo:block xsl:use-attribute-sets="colophon.titlepage.recto.style" font-family="{$title.fontset}">
5399 <xsl:apply-templates select="." mode="colophon.titlepage.recto.mode"/>
5403 <xsl:template match="d:itermset" mode="colophon.titlepage.recto.auto.mode">
5404 <fo:block xsl:use-attribute-sets="colophon.titlepage.recto.style">
5405 <xsl:apply-templates select="." mode="colophon.titlepage.recto.mode"/>
5409 <xsl:template name="sidebar.titlepage.recto">
5411 <xsl:when test="d:sidebarinfo/d:title">
5412 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="d:sidebarinfo/d:title"/>
5414 <xsl:when test="d:docinfo/d:title">
5415 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="d:docinfo/d:title"/>
5417 <xsl:when test="d:info/d:title">
5418 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="d:info/d:title"/>
5420 <xsl:when test="d:title">
5421 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="d:title"/>
5426 <xsl:when test="d:sidebarinfo/d:subtitle">
5427 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="d:sidebarinfo/d:subtitle"/>
5429 <xsl:when test="d:docinfo/d:subtitle">
5430 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="d:docinfo/d:subtitle"/>
5432 <xsl:when test="d:info/d:subtitle">
5433 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
5435 <xsl:when test="d:subtitle">
5436 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="d:subtitle"/>
5440 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="d:sidebarinfo/d:itermset"/>
5441 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="d:docinfo/d:itermset"/>
5442 <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
5445 <xsl:template name="sidebar.titlepage.verso">
5448 <xsl:template name="sidebar.titlepage.separator">
5451 <xsl:template name="sidebar.titlepage.before.recto">
5454 <xsl:template name="sidebar.titlepage.before.verso">
5457 <xsl:template name="sidebar.titlepage">
5459 <xsl:variable name="recto.content">
5460 <xsl:call-template name="sidebar.titlepage.before.recto"/>
5461 <xsl:call-template name="sidebar.titlepage.recto"/>
5463 <xsl:variable name="recto.elements.count">
5465 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5466 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5467 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5468 <xsl:otherwise>1</xsl:otherwise>
5471 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
5472 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
5474 <xsl:variable name="verso.content">
5475 <xsl:call-template name="sidebar.titlepage.before.verso"/>
5476 <xsl:call-template name="sidebar.titlepage.verso"/>
5478 <xsl:variable name="verso.elements.count">
5480 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5481 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5482 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5483 <xsl:otherwise>1</xsl:otherwise>
5486 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
5487 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
5489 <xsl:call-template name="sidebar.titlepage.separator"/>
5493 <xsl:template match="*" mode="sidebar.titlepage.recto.mode">
5494 <!-- if an element isn't found in this mode, -->
5495 <!-- try the generic titlepage.mode -->
5496 <xsl:apply-templates select="." mode="titlepage.mode"/>
5499 <xsl:template match="*" mode="sidebar.titlepage.verso.mode">
5500 <!-- if an element isn't found in this mode, -->
5501 <!-- try the generic titlepage.mode -->
5502 <xsl:apply-templates select="." mode="titlepage.mode"/>
5505 <xsl:template match="d:title" mode="sidebar.titlepage.recto.auto.mode">
5506 <fo:block xsl:use-attribute-sets="sidebar.titlepage.recto.style" font-family="{$title.fontset}" font-weight="bold">
5507 <xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/>
5511 <xsl:template match="d:subtitle" mode="sidebar.titlepage.recto.auto.mode">
5512 <fo:block xsl:use-attribute-sets="sidebar.titlepage.recto.style" font-family="{$title.fontset}">
5513 <xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/>
5517 <xsl:template match="d:itermset" mode="sidebar.titlepage.recto.auto.mode">
5518 <fo:block xsl:use-attribute-sets="sidebar.titlepage.recto.style">
5519 <xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/>
5523 <xsl:template name="qandaset.titlepage.recto">
5525 <xsl:when test="d:qandasetinfo/d:title">
5526 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:title"/>
5528 <xsl:when test="d:blockinfo/d:title">
5529 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:blockinfo/d:title"/>
5531 <xsl:when test="d:info/d:title">
5532 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:info/d:title"/>
5534 <xsl:when test="d:title">
5535 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:title"/>
5540 <xsl:when test="d:qandasetinfo/d:subtitle">
5541 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:subtitle"/>
5543 <xsl:when test="d:blockinfo/d:subtitle">
5544 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:blockinfo/d:subtitle"/>
5546 <xsl:when test="d:info/d:subtitle">
5547 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:info/d:subtitle"/>
5549 <xsl:when test="d:subtitle">
5550 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:subtitle"/>
5554 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:corpauthor"/>
5555 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:blockinfo/d:corpauthor"/>
5556 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:info/d:corpauthor"/>
5557 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:authorgroup"/>
5558 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:blockinfo/d:authorgroup"/>
5559 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:info/d:authorgroup"/>
5560 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:author"/>
5561 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:blockinfo/d:author"/>
5562 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:info/d:author"/>
5563 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:othercredit"/>
5564 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:blockinfo/d:othercredit"/>
5565 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:info/d:othercredit"/>
5566 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:releaseinfo"/>
5567 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:blockinfo/d:releaseinfo"/>
5568 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:info/d:releaseinfo"/>
5569 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:copyright"/>
5570 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:blockinfo/d:copyright"/>
5571 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:info/d:copyright"/>
5572 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:legalnotice"/>
5573 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:blockinfo/d:legalnotice"/>
5574 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:info/d:legalnotice"/>
5575 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:pubdate"/>
5576 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:blockinfo/d:pubdate"/>
5577 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:info/d:pubdate"/>
5578 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:revision"/>
5579 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:blockinfo/d:revision"/>
5580 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:info/d:revision"/>
5581 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:revhistory"/>
5582 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:blockinfo/d:revhistory"/>
5583 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:info/d:revhistory"/>
5584 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:abstract"/>
5585 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:blockinfo/d:abstract"/>
5586 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:info/d:abstract"/>
5587 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:qandasetinfo/d:itermset"/>
5588 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:blockinfo/d:itermset"/>
5589 <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="d:info/d:itermset"/>
5592 <xsl:template name="qandaset.titlepage.verso">
5595 <xsl:template name="qandaset.titlepage.separator">
5598 <xsl:template name="qandaset.titlepage.before.recto">
5601 <xsl:template name="qandaset.titlepage.before.verso">
5604 <xsl:template name="qandaset.titlepage">
5605 <fo:block font-family="{$title.fontset}">
5606 <xsl:variable name="recto.content">
5607 <xsl:call-template name="qandaset.titlepage.before.recto"/>
5608 <xsl:call-template name="qandaset.titlepage.recto"/>
5610 <xsl:variable name="recto.elements.count">
5612 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5613 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5614 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5615 <xsl:otherwise>1</xsl:otherwise>
5618 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
5619 <fo:block start-indent="0pt" text-align="center"><xsl:copy-of select="$recto.content"/></fo:block>
5621 <xsl:variable name="verso.content">
5622 <xsl:call-template name="qandaset.titlepage.before.verso"/>
5623 <xsl:call-template name="qandaset.titlepage.verso"/>
5625 <xsl:variable name="verso.elements.count">
5627 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5628 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5629 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5630 <xsl:otherwise>1</xsl:otherwise>
5633 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
5634 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
5636 <xsl:call-template name="qandaset.titlepage.separator"/>
5640 <xsl:template match="*" mode="qandaset.titlepage.recto.mode">
5641 <!-- if an element isn't found in this mode, -->
5642 <!-- try the generic titlepage.mode -->
5643 <xsl:apply-templates select="." mode="titlepage.mode"/>
5646 <xsl:template match="*" mode="qandaset.titlepage.verso.mode">
5647 <!-- if an element isn't found in this mode, -->
5648 <!-- try the generic titlepage.mode -->
5649 <xsl:apply-templates select="." mode="titlepage.mode"/>
5652 <xsl:template match="d:title" mode="qandaset.titlepage.recto.auto.mode">
5653 <fo:block xsl:use-attribute-sets="qandaset.titlepage.recto.style" keep-with-next.within-column="always" font-size="24.8832pt" font-weight="bold">
5654 <xsl:call-template name="component.title">
5655 <xsl:with-param name="node" select="ancestor-or-self::d:qandaset[1]"/>
5656 </xsl:call-template>
5660 <xsl:template match="d:subtitle" mode="qandaset.titlepage.recto.auto.mode">
5661 <fo:block xsl:use-attribute-sets="qandaset.titlepage.recto.style">
5662 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
5666 <xsl:template match="d:corpauthor" mode="qandaset.titlepage.recto.auto.mode">
5667 <fo:block xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em" font-size="14.4pt">
5668 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
5672 <xsl:template match="d:authorgroup" mode="qandaset.titlepage.recto.auto.mode">
5673 <fo:block xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em" font-size="14.4pt">
5674 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
5678 <xsl:template match="d:author" mode="qandaset.titlepage.recto.auto.mode">
5679 <fo:block xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em" font-size="14.4pt">
5680 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
5684 <xsl:template match="d:othercredit" mode="qandaset.titlepage.recto.auto.mode">
5685 <fo:block xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
5686 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
5690 <xsl:template match="d:releaseinfo" mode="qandaset.titlepage.recto.auto.mode">
5691 <fo:block xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
5692 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
5696 <xsl:template match="d:copyright" mode="qandaset.titlepage.recto.auto.mode">
5697 <fo:block xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
5698 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
5702 <xsl:template match="d:legalnotice" mode="qandaset.titlepage.recto.auto.mode">
5703 <fo:block xsl:use-attribute-sets="qandaset.titlepage.recto.style" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}">
5704 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
5708 <xsl:template match="d:pubdate" mode="qandaset.titlepage.recto.auto.mode">
5709 <fo:block xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
5710 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
5714 <xsl:template match="d:revision" mode="qandaset.titlepage.recto.auto.mode">
5715 <fo:block xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
5716 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
5720 <xsl:template match="d:revhistory" mode="qandaset.titlepage.recto.auto.mode">
5721 <fo:block xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
5722 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
5726 <xsl:template match="d:abstract" mode="qandaset.titlepage.recto.auto.mode">
5727 <fo:block 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}">
5728 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
5732 <xsl:template match="d:itermset" mode="qandaset.titlepage.recto.auto.mode">
5733 <fo:block xsl:use-attribute-sets="qandaset.titlepage.recto.style">
5734 <xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
5738 <xsl:template name="table.of.contents.titlepage.recto">
5739 <fo:block 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" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
5740 <xsl:call-template name="gentext">
5741 <xsl:with-param name="key" select="'TableofContents'"/>
5742 </xsl:call-template></fo:block>
5745 <xsl:template name="table.of.contents.titlepage.verso">
5748 <xsl:template name="table.of.contents.titlepage.separator">
5751 <xsl:template name="table.of.contents.titlepage.before.recto">
5754 <xsl:template name="table.of.contents.titlepage.before.verso">
5757 <xsl:template name="table.of.contents.titlepage">
5759 <xsl:variable name="recto.content">
5760 <xsl:call-template name="table.of.contents.titlepage.before.recto"/>
5761 <xsl:call-template name="table.of.contents.titlepage.recto"/>
5763 <xsl:variable name="recto.elements.count">
5765 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5766 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5767 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5768 <xsl:otherwise>1</xsl:otherwise>
5771 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
5772 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
5774 <xsl:variable name="verso.content">
5775 <xsl:call-template name="table.of.contents.titlepage.before.verso"/>
5776 <xsl:call-template name="table.of.contents.titlepage.verso"/>
5778 <xsl:variable name="verso.elements.count">
5780 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5781 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5782 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5783 <xsl:otherwise>1</xsl:otherwise>
5786 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
5787 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
5789 <xsl:call-template name="table.of.contents.titlepage.separator"/>
5793 <xsl:template match="*" mode="table.of.contents.titlepage.recto.mode">
5794 <!-- if an element isn't found in this mode, -->
5795 <!-- try the generic titlepage.mode -->
5796 <xsl:apply-templates select="." mode="titlepage.mode"/>
5799 <xsl:template match="*" mode="table.of.contents.titlepage.verso.mode">
5800 <!-- if an element isn't found in this mode, -->
5801 <!-- try the generic titlepage.mode -->
5802 <xsl:apply-templates select="." mode="titlepage.mode"/>
5805 <xsl:template name="list.of.tables.titlepage.recto">
5806 <fo:block 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" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
5807 <xsl:call-template name="gentext">
5808 <xsl:with-param name="key" select="'ListofTables'"/>
5809 </xsl:call-template></fo:block>
5812 <xsl:template name="list.of.tables.titlepage.verso">
5815 <xsl:template name="list.of.tables.titlepage.separator">
5818 <xsl:template name="list.of.tables.titlepage.before.recto">
5821 <xsl:template name="list.of.tables.titlepage.before.verso">
5824 <xsl:template name="list.of.tables.titlepage">
5826 <xsl:variable name="recto.content">
5827 <xsl:call-template name="list.of.tables.titlepage.before.recto"/>
5828 <xsl:call-template name="list.of.tables.titlepage.recto"/>
5830 <xsl:variable name="recto.elements.count">
5832 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5833 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5834 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5835 <xsl:otherwise>1</xsl:otherwise>
5838 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
5839 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
5841 <xsl:variable name="verso.content">
5842 <xsl:call-template name="list.of.tables.titlepage.before.verso"/>
5843 <xsl:call-template name="list.of.tables.titlepage.verso"/>
5845 <xsl:variable name="verso.elements.count">
5847 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5848 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5849 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5850 <xsl:otherwise>1</xsl:otherwise>
5853 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
5854 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
5856 <xsl:call-template name="list.of.tables.titlepage.separator"/>
5860 <xsl:template match="*" mode="list.of.tables.titlepage.recto.mode">
5861 <!-- if an element isn't found in this mode, -->
5862 <!-- try the generic titlepage.mode -->
5863 <xsl:apply-templates select="." mode="titlepage.mode"/>
5866 <xsl:template match="*" mode="list.of.tables.titlepage.verso.mode">
5867 <!-- if an element isn't found in this mode, -->
5868 <!-- try the generic titlepage.mode -->
5869 <xsl:apply-templates select="." mode="titlepage.mode"/>
5872 <xsl:template name="list.of.figures.titlepage.recto">
5873 <fo:block 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" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
5874 <xsl:call-template name="gentext">
5875 <xsl:with-param name="key" select="'ListofFigures'"/>
5876 </xsl:call-template></fo:block>
5879 <xsl:template name="list.of.figures.titlepage.verso">
5882 <xsl:template name="list.of.figures.titlepage.separator">
5885 <xsl:template name="list.of.figures.titlepage.before.recto">
5888 <xsl:template name="list.of.figures.titlepage.before.verso">
5891 <xsl:template name="list.of.figures.titlepage">
5893 <xsl:variable name="recto.content">
5894 <xsl:call-template name="list.of.figures.titlepage.before.recto"/>
5895 <xsl:call-template name="list.of.figures.titlepage.recto"/>
5897 <xsl:variable name="recto.elements.count">
5899 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5900 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5901 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5902 <xsl:otherwise>1</xsl:otherwise>
5905 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
5906 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
5908 <xsl:variable name="verso.content">
5909 <xsl:call-template name="list.of.figures.titlepage.before.verso"/>
5910 <xsl:call-template name="list.of.figures.titlepage.verso"/>
5912 <xsl:variable name="verso.elements.count">
5914 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5915 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5916 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5917 <xsl:otherwise>1</xsl:otherwise>
5920 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
5921 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
5923 <xsl:call-template name="list.of.figures.titlepage.separator"/>
5927 <xsl:template match="*" mode="list.of.figures.titlepage.recto.mode">
5928 <!-- if an element isn't found in this mode, -->
5929 <!-- try the generic titlepage.mode -->
5930 <xsl:apply-templates select="." mode="titlepage.mode"/>
5933 <xsl:template match="*" mode="list.of.figures.titlepage.verso.mode">
5934 <!-- if an element isn't found in this mode, -->
5935 <!-- try the generic titlepage.mode -->
5936 <xsl:apply-templates select="." mode="titlepage.mode"/>
5939 <xsl:template name="list.of.examples.titlepage.recto">
5940 <fo:block 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" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
5941 <xsl:call-template name="gentext">
5942 <xsl:with-param name="key" select="'ListofExamples'"/>
5943 </xsl:call-template></fo:block>
5946 <xsl:template name="list.of.examples.titlepage.verso">
5949 <xsl:template name="list.of.examples.titlepage.separator">
5952 <xsl:template name="list.of.examples.titlepage.before.recto">
5955 <xsl:template name="list.of.examples.titlepage.before.verso">
5958 <xsl:template name="list.of.examples.titlepage">
5960 <xsl:variable name="recto.content">
5961 <xsl:call-template name="list.of.examples.titlepage.before.recto"/>
5962 <xsl:call-template name="list.of.examples.titlepage.recto"/>
5964 <xsl:variable name="recto.elements.count">
5966 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5967 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5968 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
5969 <xsl:otherwise>1</xsl:otherwise>
5972 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
5973 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
5975 <xsl:variable name="verso.content">
5976 <xsl:call-template name="list.of.examples.titlepage.before.verso"/>
5977 <xsl:call-template name="list.of.examples.titlepage.verso"/>
5979 <xsl:variable name="verso.elements.count">
5981 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5982 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
5983 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
5984 <xsl:otherwise>1</xsl:otherwise>
5987 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
5988 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
5990 <xsl:call-template name="list.of.examples.titlepage.separator"/>
5994 <xsl:template match="*" mode="list.of.examples.titlepage.recto.mode">
5995 <!-- if an element isn't found in this mode, -->
5996 <!-- try the generic titlepage.mode -->
5997 <xsl:apply-templates select="." mode="titlepage.mode"/>
6000 <xsl:template match="*" mode="list.of.examples.titlepage.verso.mode">
6001 <!-- if an element isn't found in this mode, -->
6002 <!-- try the generic titlepage.mode -->
6003 <xsl:apply-templates select="." mode="titlepage.mode"/>
6006 <xsl:template name="list.of.equations.titlepage.recto">
6007 <fo:block 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" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
6008 <xsl:call-template name="gentext">
6009 <xsl:with-param name="key" select="'ListofEquations'"/>
6010 </xsl:call-template></fo:block>
6013 <xsl:template name="list.of.equations.titlepage.verso">
6016 <xsl:template name="list.of.equations.titlepage.separator">
6019 <xsl:template name="list.of.equations.titlepage.before.recto">
6022 <xsl:template name="list.of.equations.titlepage.before.verso">
6025 <xsl:template name="list.of.equations.titlepage">
6027 <xsl:variable name="recto.content">
6028 <xsl:call-template name="list.of.equations.titlepage.before.recto"/>
6029 <xsl:call-template name="list.of.equations.titlepage.recto"/>
6031 <xsl:variable name="recto.elements.count">
6033 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
6034 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
6035 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
6036 <xsl:otherwise>1</xsl:otherwise>
6039 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
6040 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
6042 <xsl:variable name="verso.content">
6043 <xsl:call-template name="list.of.equations.titlepage.before.verso"/>
6044 <xsl:call-template name="list.of.equations.titlepage.verso"/>
6046 <xsl:variable name="verso.elements.count">
6048 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
6049 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
6050 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
6051 <xsl:otherwise>1</xsl:otherwise>
6054 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
6055 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
6057 <xsl:call-template name="list.of.equations.titlepage.separator"/>
6061 <xsl:template match="*" mode="list.of.equations.titlepage.recto.mode">
6062 <!-- if an element isn't found in this mode, -->
6063 <!-- try the generic titlepage.mode -->
6064 <xsl:apply-templates select="." mode="titlepage.mode"/>
6067 <xsl:template match="*" mode="list.of.equations.titlepage.verso.mode">
6068 <!-- if an element isn't found in this mode, -->
6069 <!-- try the generic titlepage.mode -->
6070 <xsl:apply-templates select="." mode="titlepage.mode"/>
6073 <xsl:template name="list.of.procedures.titlepage.recto">
6074 <fo:block 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" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
6075 <xsl:call-template name="gentext">
6076 <xsl:with-param name="key" select="'ListofProcedures'"/>
6077 </xsl:call-template></fo:block>
6080 <xsl:template name="list.of.procedures.titlepage.verso">
6083 <xsl:template name="list.of.procedures.titlepage.separator">
6086 <xsl:template name="list.of.procedures.titlepage.before.recto">
6089 <xsl:template name="list.of.procedures.titlepage.before.verso">
6092 <xsl:template name="list.of.procedures.titlepage">
6094 <xsl:variable name="recto.content">
6095 <xsl:call-template name="list.of.procedures.titlepage.before.recto"/>
6096 <xsl:call-template name="list.of.procedures.titlepage.recto"/>
6098 <xsl:variable name="recto.elements.count">
6100 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
6101 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
6102 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
6103 <xsl:otherwise>1</xsl:otherwise>
6106 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
6107 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
6109 <xsl:variable name="verso.content">
6110 <xsl:call-template name="list.of.procedures.titlepage.before.verso"/>
6111 <xsl:call-template name="list.of.procedures.titlepage.verso"/>
6113 <xsl:variable name="verso.elements.count">
6115 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
6116 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
6117 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
6118 <xsl:otherwise>1</xsl:otherwise>
6121 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
6122 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
6124 <xsl:call-template name="list.of.procedures.titlepage.separator"/>
6128 <xsl:template match="*" mode="list.of.procedures.titlepage.recto.mode">
6129 <!-- if an element isn't found in this mode, -->
6130 <!-- try the generic titlepage.mode -->
6131 <xsl:apply-templates select="." mode="titlepage.mode"/>
6134 <xsl:template match="*" mode="list.of.procedures.titlepage.verso.mode">
6135 <!-- if an element isn't found in this mode, -->
6136 <!-- try the generic titlepage.mode -->
6137 <xsl:apply-templates select="." mode="titlepage.mode"/>
6140 <xsl:template name="list.of.unknowns.titlepage.recto">
6141 <fo:block 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" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
6142 <xsl:call-template name="gentext">
6143 <xsl:with-param name="key" select="'ListofUnknown'"/>
6144 </xsl:call-template></fo:block>
6147 <xsl:template name="list.of.unknowns.titlepage.verso">
6150 <xsl:template name="list.of.unknowns.titlepage.separator">
6153 <xsl:template name="list.of.unknowns.titlepage.before.recto">
6156 <xsl:template name="list.of.unknowns.titlepage.before.verso">
6159 <xsl:template name="list.of.unknowns.titlepage">
6161 <xsl:variable name="recto.content">
6162 <xsl:call-template name="list.of.unknowns.titlepage.before.recto"/>
6163 <xsl:call-template name="list.of.unknowns.titlepage.recto"/>
6165 <xsl:variable name="recto.elements.count">
6167 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
6168 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
6169 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
6170 <xsl:otherwise>1</xsl:otherwise>
6173 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
6174 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
6176 <xsl:variable name="verso.content">
6177 <xsl:call-template name="list.of.unknowns.titlepage.before.verso"/>
6178 <xsl:call-template name="list.of.unknowns.titlepage.verso"/>
6180 <xsl:variable name="verso.elements.count">
6182 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
6183 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
6184 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
6185 <xsl:otherwise>1</xsl:otherwise>
6188 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
6189 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
6191 <xsl:call-template name="list.of.unknowns.titlepage.separator"/>
6195 <xsl:template match="*" mode="list.of.unknowns.titlepage.recto.mode">
6196 <!-- if an element isn't found in this mode, -->
6197 <!-- try the generic titlepage.mode -->
6198 <xsl:apply-templates select="." mode="titlepage.mode"/>
6201 <xsl:template match="*" mode="list.of.unknowns.titlepage.verso.mode">
6202 <!-- if an element isn't found in this mode, -->
6203 <!-- try the generic titlepage.mode -->
6204 <xsl:apply-templates select="." mode="titlepage.mode"/>
6207 <xsl:template name="component.list.of.tables.titlepage.recto">
6208 <fo:block xsl:use-attribute-sets="component.list.of.tables.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1em" space-before.maximum="1em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="12pt" font-weight="bold" font-family="{$title.fontset}">
6209 <xsl:call-template name="gentext">
6210 <xsl:with-param name="key" select="'ListofTables'"/>
6211 </xsl:call-template></fo:block>
6214 <xsl:template name="component.list.of.tables.titlepage.verso">
6217 <xsl:template name="component.list.of.tables.titlepage.separator">
6220 <xsl:template name="component.list.of.tables.titlepage.before.recto">
6223 <xsl:template name="component.list.of.tables.titlepage.before.verso">
6226 <xsl:template name="component.list.of.tables.titlepage">
6228 <xsl:variable name="recto.content">
6229 <xsl:call-template name="component.list.of.tables.titlepage.before.recto"/>
6230 <xsl:call-template name="component.list.of.tables.titlepage.recto"/>
6232 <xsl:variable name="recto.elements.count">
6234 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
6235 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
6236 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
6237 <xsl:otherwise>1</xsl:otherwise>
6240 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
6241 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
6243 <xsl:variable name="verso.content">
6244 <xsl:call-template name="component.list.of.tables.titlepage.before.verso"/>
6245 <xsl:call-template name="component.list.of.tables.titlepage.verso"/>
6247 <xsl:variable name="verso.elements.count">
6249 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
6250 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
6251 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
6252 <xsl:otherwise>1</xsl:otherwise>
6255 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
6256 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
6258 <xsl:call-template name="component.list.of.tables.titlepage.separator"/>
6262 <xsl:template match="*" mode="component.list.of.tables.titlepage.recto.mode">
6263 <!-- if an element isn't found in this mode, -->
6264 <!-- try the generic titlepage.mode -->
6265 <xsl:apply-templates select="." mode="titlepage.mode"/>
6268 <xsl:template match="*" mode="component.list.of.tables.titlepage.verso.mode">
6269 <!-- if an element isn't found in this mode, -->
6270 <!-- try the generic titlepage.mode -->
6271 <xsl:apply-templates select="." mode="titlepage.mode"/>
6274 <xsl:template name="component.list.of.figures.titlepage.recto">
6275 <fo:block xsl:use-attribute-sets="component.list.of.figures.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1em" space-before.maximum="1em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="12pt" font-weight="bold" font-family="{$title.fontset}">
6276 <xsl:call-template name="gentext">
6277 <xsl:with-param name="key" select="'ListofFigures'"/>
6278 </xsl:call-template></fo:block>
6281 <xsl:template name="component.list.of.figures.titlepage.verso">
6284 <xsl:template name="component.list.of.figures.titlepage.separator">
6287 <xsl:template name="component.list.of.figures.titlepage.before.recto">
6290 <xsl:template name="component.list.of.figures.titlepage.before.verso">
6293 <xsl:template name="component.list.of.figures.titlepage">
6295 <xsl:variable name="recto.content">
6296 <xsl:call-template name="component.list.of.figures.titlepage.before.recto"/>
6297 <xsl:call-template name="component.list.of.figures.titlepage.recto"/>
6299 <xsl:variable name="recto.elements.count">
6301 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
6302 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
6303 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
6304 <xsl:otherwise>1</xsl:otherwise>
6307 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
6308 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
6310 <xsl:variable name="verso.content">
6311 <xsl:call-template name="component.list.of.figures.titlepage.before.verso"/>
6312 <xsl:call-template name="component.list.of.figures.titlepage.verso"/>
6314 <xsl:variable name="verso.elements.count">
6316 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
6317 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
6318 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
6319 <xsl:otherwise>1</xsl:otherwise>
6322 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
6323 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
6325 <xsl:call-template name="component.list.of.figures.titlepage.separator"/>
6329 <xsl:template match="*" mode="component.list.of.figures.titlepage.recto.mode">
6330 <!-- if an element isn't found in this mode, -->
6331 <!-- try the generic titlepage.mode -->
6332 <xsl:apply-templates select="." mode="titlepage.mode"/>
6335 <xsl:template match="*" mode="component.list.of.figures.titlepage.verso.mode">
6336 <!-- if an element isn't found in this mode, -->
6337 <!-- try the generic titlepage.mode -->
6338 <xsl:apply-templates select="." mode="titlepage.mode"/>
6341 <xsl:template name="component.list.of.examples.titlepage.recto">
6342 <fo:block xsl:use-attribute-sets="component.list.of.examples.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1em" space-before.maximum="1em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="12pt" font-weight="bold" font-family="{$title.fontset}">
6343 <xsl:call-template name="gentext">
6344 <xsl:with-param name="key" select="'ListofExamples'"/>
6345 </xsl:call-template></fo:block>
6348 <xsl:template name="component.list.of.examples.titlepage.verso">
6351 <xsl:template name="component.list.of.examples.titlepage.separator">
6354 <xsl:template name="component.list.of.examples.titlepage.before.recto">
6357 <xsl:template name="component.list.of.examples.titlepage.before.verso">
6360 <xsl:template name="component.list.of.examples.titlepage">
6362 <xsl:variable name="recto.content">
6363 <xsl:call-template name="component.list.of.examples.titlepage.before.recto"/>
6364 <xsl:call-template name="component.list.of.examples.titlepage.recto"/>
6366 <xsl:variable name="recto.elements.count">
6368 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
6369 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
6370 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
6371 <xsl:otherwise>1</xsl:otherwise>
6374 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
6375 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
6377 <xsl:variable name="verso.content">
6378 <xsl:call-template name="component.list.of.examples.titlepage.before.verso"/>
6379 <xsl:call-template name="component.list.of.examples.titlepage.verso"/>
6381 <xsl:variable name="verso.elements.count">
6383 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
6384 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
6385 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
6386 <xsl:otherwise>1</xsl:otherwise>
6389 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
6390 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
6392 <xsl:call-template name="component.list.of.examples.titlepage.separator"/>
6396 <xsl:template match="*" mode="component.list.of.examples.titlepage.recto.mode">
6397 <!-- if an element isn't found in this mode, -->
6398 <!-- try the generic titlepage.mode -->
6399 <xsl:apply-templates select="." mode="titlepage.mode"/>
6402 <xsl:template match="*" mode="component.list.of.examples.titlepage.verso.mode">
6403 <!-- if an element isn't found in this mode, -->
6404 <!-- try the generic titlepage.mode -->
6405 <xsl:apply-templates select="." mode="titlepage.mode"/>
6408 <xsl:template name="component.list.of.equations.titlepage.recto">
6409 <fo:block xsl:use-attribute-sets="component.list.of.equations.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1em" space-before.maximum="1em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="12pt" font-weight="bold" font-family="{$title.fontset}">
6410 <xsl:call-template name="gentext">
6411 <xsl:with-param name="key" select="'ListofEquations'"/>
6412 </xsl:call-template></fo:block>
6415 <xsl:template name="component.list.of.equations.titlepage.verso">
6418 <xsl:template name="component.list.of.equations.titlepage.separator">
6421 <xsl:template name="component.list.of.equations.titlepage.before.recto">
6424 <xsl:template name="component.list.of.equations.titlepage.before.verso">
6427 <xsl:template name="component.list.of.equations.titlepage">
6429 <xsl:variable name="recto.content">
6430 <xsl:call-template name="component.list.of.equations.titlepage.before.recto"/>
6431 <xsl:call-template name="component.list.of.equations.titlepage.recto"/>
6433 <xsl:variable name="recto.elements.count">
6435 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
6436 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
6437 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
6438 <xsl:otherwise>1</xsl:otherwise>
6441 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
6442 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
6444 <xsl:variable name="verso.content">
6445 <xsl:call-template name="component.list.of.equations.titlepage.before.verso"/>
6446 <xsl:call-template name="component.list.of.equations.titlepage.verso"/>
6448 <xsl:variable name="verso.elements.count">
6450 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
6451 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
6452 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
6453 <xsl:otherwise>1</xsl:otherwise>
6456 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
6457 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
6459 <xsl:call-template name="component.list.of.equations.titlepage.separator"/>
6463 <xsl:template match="*" mode="component.list.of.equations.titlepage.recto.mode">
6464 <!-- if an element isn't found in this mode, -->
6465 <!-- try the generic titlepage.mode -->
6466 <xsl:apply-templates select="." mode="titlepage.mode"/>
6469 <xsl:template match="*" mode="component.list.of.equations.titlepage.verso.mode">
6470 <!-- if an element isn't found in this mode, -->
6471 <!-- try the generic titlepage.mode -->
6472 <xsl:apply-templates select="." mode="titlepage.mode"/>
6475 <xsl:template name="component.list.of.procedures.titlepage.recto">
6476 <fo:block xsl:use-attribute-sets="component.list.of.procedures.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1em" space-before.maximum="1em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="12pt" font-weight="bold" font-family="{$title.fontset}">
6477 <xsl:call-template name="gentext">
6478 <xsl:with-param name="key" select="'ListofProcedures'"/>
6479 </xsl:call-template></fo:block>
6482 <xsl:template name="component.list.of.procedures.titlepage.verso">
6485 <xsl:template name="component.list.of.procedures.titlepage.separator">
6488 <xsl:template name="component.list.of.procedures.titlepage.before.recto">
6491 <xsl:template name="component.list.of.procedures.titlepage.before.verso">
6494 <xsl:template name="component.list.of.procedures.titlepage">
6496 <xsl:variable name="recto.content">
6497 <xsl:call-template name="component.list.of.procedures.titlepage.before.recto"/>
6498 <xsl:call-template name="component.list.of.procedures.titlepage.recto"/>
6500 <xsl:variable name="recto.elements.count">
6502 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
6503 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
6504 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
6505 <xsl:otherwise>1</xsl:otherwise>
6508 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
6509 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
6511 <xsl:variable name="verso.content">
6512 <xsl:call-template name="component.list.of.procedures.titlepage.before.verso"/>
6513 <xsl:call-template name="component.list.of.procedures.titlepage.verso"/>
6515 <xsl:variable name="verso.elements.count">
6517 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
6518 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
6519 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
6520 <xsl:otherwise>1</xsl:otherwise>
6523 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
6524 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
6526 <xsl:call-template name="component.list.of.procedures.titlepage.separator"/>
6530 <xsl:template match="*" mode="component.list.of.procedures.titlepage.recto.mode">
6531 <!-- if an element isn't found in this mode, -->
6532 <!-- try the generic titlepage.mode -->
6533 <xsl:apply-templates select="." mode="titlepage.mode"/>
6536 <xsl:template match="*" mode="component.list.of.procedures.titlepage.verso.mode">
6537 <!-- if an element isn't found in this mode, -->
6538 <!-- try the generic titlepage.mode -->
6539 <xsl:apply-templates select="." mode="titlepage.mode"/>
6542 <xsl:template name="component.list.of.unknowns.titlepage.recto">
6543 <fo:block xsl:use-attribute-sets="component.list.of.unknowns.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1em" space-before.maximum="1em" space-after="0.5em" margin-left="{$title.margin.left}" font-size="12pt" font-weight="bold" font-family="{$title.fontset}">
6544 <xsl:call-template name="gentext">
6545 <xsl:with-param name="key" select="'ListofUnknown'"/>
6546 </xsl:call-template></fo:block>
6549 <xsl:template name="component.list.of.unknowns.titlepage.verso">
6552 <xsl:template name="component.list.of.unknowns.titlepage.separator">
6555 <xsl:template name="component.list.of.unknowns.titlepage.before.recto">
6558 <xsl:template name="component.list.of.unknowns.titlepage.before.verso">
6561 <xsl:template name="component.list.of.unknowns.titlepage">
6563 <xsl:variable name="recto.content">
6564 <xsl:call-template name="component.list.of.unknowns.titlepage.before.recto"/>
6565 <xsl:call-template name="component.list.of.unknowns.titlepage.recto"/>
6567 <xsl:variable name="recto.elements.count">
6569 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
6570 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
6571 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
6572 <xsl:otherwise>1</xsl:otherwise>
6575 <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)">
6576 <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
6578 <xsl:variable name="verso.content">
6579 <xsl:call-template name="component.list.of.unknowns.titlepage.before.verso"/>
6580 <xsl:call-template name="component.list.of.unknowns.titlepage.verso"/>
6582 <xsl:variable name="verso.elements.count">
6584 <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
6585 <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
6586 <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
6587 <xsl:otherwise>1</xsl:otherwise>
6590 <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)">
6591 <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
6593 <xsl:call-template name="component.list.of.unknowns.titlepage.separator"/>
6597 <xsl:template match="*" mode="component.list.of.unknowns.titlepage.recto.mode">
6598 <!-- if an element isn't found in this mode, -->
6599 <!-- try the generic titlepage.mode -->
6600 <xsl:apply-templates select="." mode="titlepage.mode"/>
6603 <xsl:template match="*" mode="component.list.of.unknowns.titlepage.verso.mode">
6604 <!-- if an element isn't found in this mode, -->
6605 <!-- try the generic titlepage.mode -->
6606 <xsl:apply-templates select="." mode="titlepage.mode"/>