source: xslt/vendor/current/tests/docbook/fo/biblio.xsl@ 372

Last change on this file since 372 was 372, checked in by Yuri Dario, 13 years ago

xslt: initial vendor import of xslt 1.1.26.

File size: 27.6 KB
Line 
1<?xml version='1.0'?>
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:fo="http://www.w3.org/1999/XSL/Format"
4 version='1.0'>
5
6<!-- ********************************************************************
7 $Id$
8 ********************************************************************
9
10 This file is part of the XSL DocBook Stylesheet distribution.
11 See ../README or http://nwalsh.com/docbook/xsl/ for copyright
12 and other information.
13
14 ******************************************************************** -->
15
16<!-- ==================================================================== -->
17
18<xsl:template match="bibliography">
19 <xsl:variable name="id">
20 <xsl:call-template name="object.id"/>
21 </xsl:variable>
22
23 <fo:block id="{$id}">
24 <xsl:call-template name="component.separator"/>
25 <xsl:call-template name="bibliography.titlepage"/>
26 <xsl:apply-templates/>
27 </fo:block>
28</xsl:template>
29
30<xsl:template match="book/bibliography">
31 <xsl:variable name="id">
32 <xsl:call-template name="object.id"/>
33 </xsl:variable>
34 <xsl:variable name="master-name">
35 <xsl:call-template name="select.pagemaster"/>
36 </xsl:variable>
37
38 <fo:page-sequence id="{$id}"
39 hyphenate="{$hyphenate}"
40 master-name="{$master-name}">
41 <xsl:attribute name="language">
42 <xsl:call-template name="l10n.language"/>
43 </xsl:attribute>
44 <xsl:if test="$double.sided != 0">
45 <xsl:attribute name="force-page-count">end-on-even</xsl:attribute>
46 </xsl:if>
47
48 <xsl:apply-templates select="." mode="running.head.mode">
49 <xsl:with-param name="master-name" select="$master-name"/>
50 </xsl:apply-templates>
51 <xsl:apply-templates select="." mode="running.foot.mode">
52 <xsl:with-param name="master-name" select="$master-name"/>
53 </xsl:apply-templates>
54
55 <fo:flow flow-name="xsl-region-body">
56 <xsl:call-template name="bibliography.titlepage"/>
57 <xsl:apply-templates/>
58 </fo:flow>
59 </fo:page-sequence>
60</xsl:template>
61
62<xsl:template match="bibliography/bibliographyinfo"></xsl:template>
63<xsl:template match="bibliography/title"></xsl:template>
64<xsl:template match="bibliography/subtitle"></xsl:template>
65<xsl:template match="bibliography/titleabbrev"></xsl:template>
66
67<xsl:template match="bibliography/title" mode="component.title.mode">
68 <fo:block xsl:use-attribute-sets="component.title.properties">
69 <xsl:apply-templates/>
70 </fo:block>
71</xsl:template>
72
73<xsl:template match="bibliography/subtitle" mode="component.title.mode">
74 <fo:block font-size="18pt" font-weight="bold" font-style="italic">
75 <xsl:apply-templates/>
76 </fo:block>
77</xsl:template>
78
79<!-- ==================================================================== -->
80
81<xsl:template match="bibliodiv">
82 <fo:block>
83 <xsl:apply-templates/>
84 </fo:block>
85</xsl:template>
86
87<xsl:template match="bibliodiv/title">
88 <xsl:variable name="id">
89 <xsl:call-template name="object.id">
90 <xsl:with-param name="object" select=".."/>
91 </xsl:call-template>
92 </xsl:variable>
93 <fo:block font-size="16pt" font-weight="bold">
94 <xsl:apply-templates/>
95 </fo:block>
96</xsl:template>
97
98<!-- ==================================================================== -->
99
100<xsl:template match="biblioentry">
101 <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
102 <fo:block id="{$id}" xsl:use-attribute-sets="normal.para.spacing">
103 <xsl:apply-templates mode="bibliography.mode"/>
104 </fo:block>
105</xsl:template>
106
107<xsl:template match="bibliomixed">
108 <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
109 <fo:block id="{$id}" xsl:use-attribute-sets="normal.para.spacing">
110 <xsl:apply-templates mode="bibliomixed.mode"/>
111 </fo:block>
112</xsl:template>
113
114<!-- ==================================================================== -->
115
116<xsl:template match="*" mode="bibliography.mode">
117 <xsl:apply-templates select="."/><!-- try the default mode -->
118</xsl:template>
119
120<xsl:template match="abbrev" mode="bibliography.mode">
121 <fo:inline>
122 <xsl:text>[</xsl:text>
123 <xsl:apply-templates mode="bibliography.mode"/>
124 <xsl:text>] </xsl:text>
125 </fo:inline>
126</xsl:template>
127
128<xsl:template match="abstract" mode="bibliography.mode">
129 <fo:inline>
130 <xsl:apply-templates mode="bibliography.mode"/>
131 <xsl:value-of select="$biblioentry.item.separator"/>
132 </fo:inline>
133</xsl:template>
134
135<xsl:template match="address" mode="bibliography.mode">
136 <fo:inline>
137 <xsl:apply-templates mode="bibliography.mode"/>
138 <xsl:value-of select="$biblioentry.item.separator"/>
139 </fo:inline>
140</xsl:template>
141
142<xsl:template match="affiliation" mode="bibliography.mode">
143 <fo:inline>
144 <xsl:apply-templates mode="bibliography.mode"/>
145 <xsl:value-of select="$biblioentry.item.separator"/>
146 </fo:inline>
147</xsl:template>
148
149<xsl:template match="shortaffil" mode="bibliography.mode">
150 <fo:inline>
151 <xsl:apply-templates mode="bibliography.mode"/>
152 <xsl:value-of select="$biblioentry.item.separator"/>
153 </fo:inline>
154</xsl:template>
155
156<xsl:template match="jobtitle" mode="bibliography.mode">
157 <fo:inline>
158 <xsl:apply-templates mode="bibliography.mode"/>
159 <xsl:value-of select="$biblioentry.item.separator"/>
160 </fo:inline>
161</xsl:template>
162
163<xsl:template match="artheader|articleinfo" mode="bibliography.mode">
164 <fo:inline>
165 <xsl:apply-templates mode="bibliography.mode"/>
166 <xsl:value-of select="$biblioentry.item.separator"/>
167 </fo:inline>
168</xsl:template>
169
170<xsl:template match="artpagenums" mode="bibliography.mode">
171 <fo:inline>
172 <xsl:apply-templates mode="bibliography.mode"/>
173 <xsl:value-of select="$biblioentry.item.separator"/>
174 </fo:inline>
175</xsl:template>
176
177<xsl:template match="author" mode="bibliography.mode">
178 <fo:inline>
179 <xsl:call-template name="person.name"/>
180 <xsl:value-of select="$biblioentry.item.separator"/>
181 </fo:inline>
182</xsl:template>
183
184<xsl:template match="authorblurb" mode="bibliography.mode">
185 <fo:inline>
186 <xsl:apply-templates mode="bibliography.mode"/>
187 <xsl:value-of select="$biblioentry.item.separator"/>
188 </fo:inline>
189</xsl:template>
190
191<xsl:template match="authorgroup" mode="bibliography.mode">
192 <fo:inline>
193 <xsl:call-template name="person.name.list"/>
194 <xsl:value-of select="$biblioentry.item.separator"/>
195 </fo:inline>
196</xsl:template>
197
198<xsl:template match="authorinitials" mode="bibliography.mode">
199 <fo:inline>
200 <xsl:apply-templates mode="bibliography.mode"/>
201 <xsl:value-of select="$biblioentry.item.separator"/>
202 </fo:inline>
203</xsl:template>
204
205<xsl:template match="bibliomisc" mode="bibliography.mode">
206 <fo:inline>
207 <xsl:apply-templates mode="bibliography.mode"/>
208 <xsl:value-of select="$biblioentry.item.separator"/>
209 </fo:inline>
210</xsl:template>
211
212<xsl:template match="bibliomset" mode="bibliography.mode">
213 <fo:inline>
214 <xsl:apply-templates mode="bibliography.mode"/>
215 <xsl:value-of select="$biblioentry.item.separator"/>
216 </fo:inline>
217</xsl:template>
218
219<!-- ================================================== -->
220
221<xsl:template match="biblioset" mode="bibliography.mode">
222 <fo:inline>
223 <xsl:apply-templates mode="bibliography.mode"/>
224 </fo:inline>
225</xsl:template>
226
227<xsl:template match="biblioset/title|biblioset/citetitle"
228 mode="bibliography.mode">
229 <xsl:variable name="relation" select="../@relation"/>
230 <xsl:choose>
231 <xsl:when test="$relation='article'">
232 <xsl:call-template name="dingbat">
233 <xsl:with-param name="dingbat">ldquo</xsl:with-param>
234 </xsl:call-template>
235 <xsl:apply-templates/>
236 <xsl:call-template name="dingbat">
237 <xsl:with-param name="dingbat">rdquo</xsl:with-param>
238 </xsl:call-template>
239 </xsl:when>
240 <xsl:otherwise>
241 <fo:inline font-style="italic">
242 <xsl:apply-templates/>
243 </fo:inline>
244 </xsl:otherwise>
245 </xsl:choose>
246 <xsl:value-of select="$biblioentry.item.separator"/>
247</xsl:template>
248
249<!-- ================================================== -->
250
251<xsl:template match="bookbiblio" mode="bibliography.mode">
252 <fo:inline>
253 <xsl:apply-templates mode="bibliography.mode"/>
254 <xsl:value-of select="$biblioentry.item.separator"/>
255 </fo:inline>
256</xsl:template>
257
258<xsl:template match="citetitle" mode="bibliography.mode">
259 <fo:inline>
260 <fo:inline font-style="italic">
261 <xsl:apply-templates mode="bibliography.mode"/>
262 </fo:inline>
263 <xsl:value-of select="$biblioentry.item.separator"/>
264 </fo:inline>
265</xsl:template>
266
267<xsl:template match="collab" mode="bibliography.mode">
268 <fo:inline>
269 <xsl:apply-templates mode="bibliography.mode"/>
270 <xsl:value-of select="$biblioentry.item.separator"/>
271 </fo:inline>
272</xsl:template>
273
274<xsl:template match="confgroup" mode="bibliography.mode">
275 <fo:inline>
276 <xsl:apply-templates mode="bibliography.mode"/>
277 <xsl:value-of select="$biblioentry.item.separator"/>
278 </fo:inline>
279</xsl:template>
280
281<xsl:template match="contractnum" mode="bibliography.mode">
282 <fo:inline>
283 <xsl:apply-templates mode="bibliography.mode"/>
284 <xsl:value-of select="$biblioentry.item.separator"/>
285 </fo:inline>
286</xsl:template>
287
288<xsl:template match="contractsponsor" mode="bibliography.mode">
289 <fo:inline>
290 <xsl:apply-templates mode="bibliography.mode"/>
291 <xsl:value-of select="$biblioentry.item.separator"/>
292 </fo:inline>
293</xsl:template>
294
295<xsl:template match="contrib" mode="bibliography.mode">
296 <fo:inline>
297 <xsl:apply-templates mode="bibliography.mode"/>
298 <xsl:value-of select="$biblioentry.item.separator"/>
299 </fo:inline>
300</xsl:template>
301
302<!-- ================================================== -->
303
304<xsl:template match="copyright" mode="bibliography.mode">
305 <fo:inline>
306 <xsl:call-template name="gentext">
307 <xsl:with-param name="key" select="'Copyright'"/>
308 </xsl:call-template>
309 <xsl:call-template name="gentext.space"/>
310 <xsl:call-template name="dingbat">
311 <xsl:with-param name="dingbat">copyright</xsl:with-param>
312 </xsl:call-template>
313 <xsl:call-template name="gentext.space"/>
314 <xsl:apply-templates select="year" mode="bibliography.mode"/>
315 <xsl:if test="holder">
316 <xsl:call-template name="gentext.space"/>
317 <xsl:apply-templates select="holder" mode="bibliography.mode"/>
318 </xsl:if>
319 <xsl:value-of select="$biblioentry.item.separator"/>
320 </fo:inline>
321</xsl:template>
322
323<xsl:template match="year" mode="bibliography.mode">
324 <xsl:apply-templates/><xsl:text>, </xsl:text>
325</xsl:template>
326
327<xsl:template match="year[position()=last()]" mode="bibliography.mode">
328 <xsl:apply-templates/>
329</xsl:template>
330
331<xsl:template match="holder" mode="bibliography.mode">
332 <xsl:apply-templates/>
333</xsl:template>
334
335<!-- ================================================== -->
336
337<xsl:template match="corpauthor" mode="bibliography.mode">
338 <fo:inline>
339 <xsl:apply-templates mode="bibliography.mode"/>
340 <xsl:value-of select="$biblioentry.item.separator"/>
341 </fo:inline>
342</xsl:template>
343
344<xsl:template match="corpname" mode="bibliography.mode">
345 <fo:inline>
346 <xsl:apply-templates mode="bibliography.mode"/>
347 <xsl:value-of select="$biblioentry.item.separator"/>
348 </fo:inline>
349</xsl:template>
350
351<xsl:template match="date" mode="bibliography.mode">
352 <fo:inline>
353 <xsl:apply-templates mode="bibliography.mode"/>
354 <xsl:value-of select="$biblioentry.item.separator"/>
355 </fo:inline>
356</xsl:template>
357
358<xsl:template match="edition" mode="bibliography.mode">
359 <fo:inline>
360 <xsl:apply-templates mode="bibliography.mode"/>
361 <xsl:value-of select="$biblioentry.item.separator"/>
362 </fo:inline>
363</xsl:template>
364
365<xsl:template match="editor" mode="bibliography.mode">
366 <fo:inline>
367 <xsl:call-template name="person.name"/>
368 <xsl:value-of select="$biblioentry.item.separator"/>
369 </fo:inline>
370</xsl:template>
371
372<xsl:template match="firstname" mode="bibliography.mode">
373 <fo:inline>
374 <xsl:apply-templates mode="bibliography.mode"/>
375 <xsl:value-of select="$biblioentry.item.separator"/>
376 </fo:inline>
377</xsl:template>
378
379<xsl:template match="honorific" mode="bibliography.mode">
380 <fo:inline>
381 <xsl:apply-templates mode="bibliography.mode"/>
382 <xsl:value-of select="$biblioentry.item.separator"/>
383 </fo:inline>
384</xsl:template>
385
386<xsl:template match="indexterm" mode="bibliography.mode">
387 <fo:inline>
388 <xsl:apply-templates mode="bibliography.mode"/>
389 <xsl:value-of select="$biblioentry.item.separator"/>
390 </fo:inline>
391</xsl:template>
392
393<xsl:template match="invpartnumber" mode="bibliography.mode">
394 <fo:inline>
395 <xsl:apply-templates mode="bibliography.mode"/>
396 <xsl:value-of select="$biblioentry.item.separator"/>
397 </fo:inline>
398</xsl:template>
399
400<xsl:template match="isbn" mode="bibliography.mode">
401 <fo:inline>
402 <xsl:apply-templates mode="bibliography.mode"/>
403 <xsl:value-of select="$biblioentry.item.separator"/>
404 </fo:inline>
405</xsl:template>
406
407<xsl:template match="issn" mode="bibliography.mode">
408 <fo:inline>
409 <xsl:apply-templates mode="bibliography.mode"/>
410 <xsl:value-of select="$biblioentry.item.separator"/>
411 </fo:inline>
412</xsl:template>
413
414<xsl:template match="issuenum" mode="bibliography.mode">
415 <fo:inline>
416 <xsl:apply-templates mode="bibliography.mode"/>
417 <xsl:value-of select="$biblioentry.item.separator"/>
418 </fo:inline>
419</xsl:template>
420
421<xsl:template match="lineage" mode="bibliography.mode">
422 <fo:inline>
423 <xsl:apply-templates mode="bibliography.mode"/>
424 <xsl:value-of select="$biblioentry.item.separator"/>
425 </fo:inline>
426</xsl:template>
427
428<xsl:template match="orgname" mode="bibliography.mode">
429 <fo:inline>
430 <xsl:apply-templates mode="bibliography.mode"/>
431 <xsl:value-of select="$biblioentry.item.separator"/>
432 </fo:inline>
433</xsl:template>
434
435<xsl:template match="othercredit" mode="bibliography.mode">
436 <fo:inline>
437 <xsl:apply-templates mode="bibliography.mode"/>
438 <xsl:value-of select="$biblioentry.item.separator"/>
439 </fo:inline>
440</xsl:template>
441
442<xsl:template match="othername" mode="bibliography.mode">
443 <fo:inline>
444 <xsl:apply-templates mode="bibliography.mode"/>
445 <xsl:value-of select="$biblioentry.item.separator"/>
446 </fo:inline>
447</xsl:template>
448
449<xsl:template match="pagenums" mode="bibliography.mode">
450 <fo:inline>
451 <xsl:apply-templates mode="bibliography.mode"/>
452 <xsl:value-of select="$biblioentry.item.separator"/>
453 </fo:inline>
454</xsl:template>
455
456<xsl:template match="printhistory" mode="bibliography.mode">
457 <fo:inline>
458 <xsl:apply-templates mode="bibliography.mode"/>
459 <xsl:value-of select="$biblioentry.item.separator"/>
460 </fo:inline>
461</xsl:template>
462
463<xsl:template match="productname" mode="bibliography.mode">
464 <fo:inline>
465 <xsl:apply-templates mode="bibliography.mode"/>
466 <xsl:value-of select="$biblioentry.item.separator"/>
467 </fo:inline>
468</xsl:template>
469
470<xsl:template match="productnumber" mode="bibliography.mode">
471 <fo:inline>
472 <xsl:apply-templates mode="bibliography.mode"/>
473 <xsl:value-of select="$biblioentry.item.separator"/>
474 </fo:inline>
475</xsl:template>
476
477<xsl:template match="pubdate" mode="bibliography.mode">
478 <fo:inline>
479 <xsl:apply-templates mode="bibliography.mode"/>
480 <xsl:value-of select="$biblioentry.item.separator"/>
481 </fo:inline>
482</xsl:template>
483
484<xsl:template match="publisher" mode="bibliography.mode">
485 <fo:inline>
486 <xsl:apply-templates mode="bibliography.mode"/>
487 </fo:inline>
488</xsl:template>
489
490<xsl:template match="publishername" mode="bibliography.mode">
491 <fo:inline>
492 <xsl:apply-templates mode="bibliography.mode"/>
493 <xsl:value-of select="$biblioentry.item.separator"/>
494 </fo:inline>
495</xsl:template>
496
497<xsl:template match="pubsnumber" mode="bibliography.mode">
498 <fo:inline>
499 <xsl:apply-templates mode="bibliography.mode"/>
500 <xsl:value-of select="$biblioentry.item.separator"/>
501 </fo:inline>
502</xsl:template>
503
504<xsl:template match="releaseinfo" mode="bibliography.mode">
505 <fo:inline>
506 <xsl:apply-templates mode="bibliography.mode"/>
507 <xsl:value-of select="$biblioentry.item.separator"/>
508 </fo:inline>
509</xsl:template>
510
511<xsl:template match="revhistory" mode="bibliography.mode">
512 <fo:inline>
513 <xsl:apply-templates mode="bibliography.mode"/>
514 <xsl:value-of select="$biblioentry.item.separator"/>
515 </fo:inline>
516</xsl:template>
517
518<xsl:template match="seriesinfo" mode="bibliography.mode">
519 <fo:inline>
520 <xsl:apply-templates mode="bibliography.mode"/>
521 </fo:inline>
522</xsl:template>
523
524<xsl:template match="seriesvolnums" mode="bibliography.mode">
525 <fo:inline>
526 <xsl:apply-templates mode="bibliography.mode"/>
527 <xsl:value-of select="$biblioentry.item.separator"/>
528 </fo:inline>
529</xsl:template>
530
531<xsl:template match="subtitle" mode="bibliography.mode">
532 <fo:inline>
533 <xsl:apply-templates mode="bibliography.mode"/>
534 <xsl:value-of select="$biblioentry.item.separator"/>
535 </fo:inline>
536</xsl:template>
537
538<xsl:template match="surname" mode="bibliography.mode">
539 <fo:inline>
540 <xsl:apply-templates mode="bibliography.mode"/>
541 <xsl:value-of select="$biblioentry.item.separator"/>
542 </fo:inline>
543</xsl:template>
544
545<xsl:template match="title" mode="bibliography.mode">
546 <fo:inline>
547 <fo:inline font-style="italic">
548 <xsl:apply-templates mode="bibliography.mode"/>
549 </fo:inline>
550 <xsl:value-of select="$biblioentry.item.separator"/>
551 </fo:inline>
552</xsl:template>
553
554<xsl:template match="titleabbrev" mode="bibliography.mode">
555 <fo:inline>
556 <xsl:apply-templates mode="bibliography.mode"/>
557 <xsl:value-of select="$biblioentry.item.separator"/>
558 </fo:inline>
559</xsl:template>
560
561<xsl:template match="volumenum" mode="bibliography.mode">
562 <fo:inline>
563 <xsl:apply-templates mode="bibliography.mode"/>
564 <xsl:value-of select="$biblioentry.item.separator"/>
565 </fo:inline>
566</xsl:template>
567
568<xsl:template match="orgdiv" mode="bibliography.mode">
569 <fo:inline>
570 <xsl:apply-templates mode="bibliography.mode"/>
571 <xsl:value-of select="$biblioentry.item.separator"/>
572 </fo:inline>
573</xsl:template>
574
575<xsl:template match="collabname" mode="bibliography.mode">
576 <fo:inline>
577 <xsl:apply-templates mode="bibliography.mode"/>
578 <xsl:value-of select="$biblioentry.item.separator"/>
579 </fo:inline>
580</xsl:template>
581
582<xsl:template match="confdates" mode="bibliography.mode">
583 <fo:inline>
584 <xsl:apply-templates mode="bibliography.mode"/>
585 <xsl:value-of select="$biblioentry.item.separator"/>
586 </fo:inline>
587</xsl:template>
588
589<xsl:template match="conftitle" mode="bibliography.mode">
590 <fo:inline>
591 <xsl:apply-templates mode="bibliography.mode"/>
592 <xsl:value-of select="$biblioentry.item.separator"/>
593 </fo:inline>
594</xsl:template>
595
596<xsl:template match="confnum" mode="bibliography.mode">
597 <fo:inline>
598 <xsl:apply-templates mode="bibliography.mode"/>
599 <xsl:value-of select="$biblioentry.item.separator"/>
600 </fo:inline>
601</xsl:template>
602
603<xsl:template match="confsponsor" mode="bibliography.mode">
604 <fo:inline>
605 <xsl:apply-templates mode="bibliography.mode"/>
606 <xsl:value-of select="$biblioentry.item.separator"/>
607 </fo:inline>
608</xsl:template>
609
610<!-- ==================================================================== -->
611
612<xsl:template match="*" mode="bibliomixed.mode">
613 <xsl:apply-templates select="."/><!-- try the default mode -->
614</xsl:template>
615
616<xsl:template match="abbrev" mode="bibliomixed.mode">
617 <fo:inline>
618 <xsl:apply-templates mode="bibliomixed.mode"/>
619 </fo:inline>
620</xsl:template>
621
622<xsl:template match="abstract" mode="bibliomixed.mode">
623 <fo:inline>
624 <xsl:apply-templates mode="bibliomixed.mode"/>
625 </fo:inline>
626</xsl:template>
627
628<xsl:template match="address" mode="bibliomixed.mode">
629 <fo:inline>
630 <xsl:apply-templates mode="bibliomixed.mode"/>
631 </fo:inline>
632</xsl:template>
633
634<xsl:template match="affiliation" mode="bibliomixed.mode">
635 <fo:inline>
636 <xsl:apply-templates mode="bibliomixed.mode"/>
637 </fo:inline>
638</xsl:template>
639
640<xsl:template match="shortaffil" mode="bibliomixed.mode">
641 <fo:inline>
642 <xsl:apply-templates mode="bibliography.mode"/>
643 </fo:inline>
644</xsl:template>
645
646<xsl:template match="jobtitle" mode="bibliomixed.mode">
647 <fo:inline>
648 <xsl:apply-templates mode="bibliography.mode"/>
649 </fo:inline>
650</xsl:template>
651
652<xsl:template match="artpagenums" mode="bibliomixed.mode">
653 <fo:inline>
654 <xsl:apply-templates mode="bibliomixed.mode"/>
655 </fo:inline>
656</xsl:template>
657
658<xsl:template match="author" mode="bibliomixed.mode">
659 <fo:inline>
660 <xsl:call-template name="person.name"/>
661 </fo:inline>
662</xsl:template>
663
664<xsl:template match="authorblurb" mode="bibliomixed.mode">
665 <fo:inline>
666 <xsl:apply-templates mode="bibliomixed.mode"/>
667 </fo:inline>
668</xsl:template>
669
670<xsl:template match="authorgroup" mode="bibliomixed.mode">
671 <fo:inline>
672 <xsl:apply-templates mode="bibliomixed.mode"/>
673 </fo:inline>
674</xsl:template>
675
676<xsl:template match="authorinitials" mode="bibliomixed.mode">
677 <fo:inline>
678 <xsl:apply-templates mode="bibliomixed.mode"/>
679 </fo:inline>
680</xsl:template>
681
682<xsl:template match="bibliomisc" mode="bibliomixed.mode">
683 <fo:inline>
684 <xsl:apply-templates mode="bibliomixed.mode"/>
685 </fo:inline>
686</xsl:template>
687
688<!-- ================================================== -->
689
690<xsl:template match="bibliomset" mode="bibliomixed.mode">
691 <fo:inline>
692 <xsl:apply-templates mode="bibliomixed.mode"/>
693 </fo:inline>
694</xsl:template>
695
696<xsl:template match="bibliomset/title|bibliomset/citetitle"
697 mode="bibliomixed.mode">
698 <xsl:variable name="relation" select="../@relation"/>
699 <xsl:choose>
700 <xsl:when test="$relation='article'">
701 <xsl:call-template name="dingbat">
702 <xsl:with-param name="dingbat">ldquo</xsl:with-param>
703 </xsl:call-template>
704 <xsl:apply-templates/>
705 <xsl:call-template name="dingbat">
706 <xsl:with-param name="dingbat">rdquo</xsl:with-param>
707 </xsl:call-template>
708 </xsl:when>
709 <xsl:otherwise>
710 <fo:inline font-style="italic">
711 <xsl:apply-templates/>
712 </fo:inline>
713 </xsl:otherwise>
714 </xsl:choose>
715</xsl:template>
716
717<!-- ================================================== -->
718
719<xsl:template match="biblioset" mode="bibliomixed.mode">
720 <fo:inline>
721 <xsl:apply-templates mode="bibliomixed.mode"/>
722 </fo:inline>
723</xsl:template>
724
725<xsl:template match="citetitle" mode="bibliomixed.mode">
726 <fo:inline>
727 <xsl:apply-templates mode="bibliomixed.mode"/>
728 </fo:inline>
729</xsl:template>
730
731<xsl:template match="collab" mode="bibliomixed.mode">
732 <fo:inline>
733 <xsl:apply-templates mode="bibliomixed.mode"/>
734 </fo:inline>
735</xsl:template>
736
737<xsl:template match="confgroup" mode="bibliomixed.mode">
738 <fo:inline>
739 <xsl:apply-templates mode="bibliomixed.mode"/>
740 </fo:inline>
741</xsl:template>
742
743<xsl:template match="contractnum" mode="bibliomixed.mode">
744 <fo:inline>
745 <xsl:apply-templates mode="bibliomixed.mode"/>
746 </fo:inline>
747</xsl:template>
748
749<xsl:template match="contractsponsor" mode="bibliomixed.mode">
750 <fo:inline>
751 <xsl:apply-templates mode="bibliomixed.mode"/>
752 </fo:inline>
753</xsl:template>
754
755<xsl:template match="contrib" mode="bibliomixed.mode">
756 <fo:inline>
757 <xsl:apply-templates mode="bibliomixed.mode"/>
758 </fo:inline>
759</xsl:template>
760
761<xsl:template match="copyright" mode="bibliomixed.mode">
762 <fo:inline>
763 <xsl:apply-templates mode="bibliomixed.mode"/>
764 </fo:inline>
765</xsl:template>
766
767<xsl:template match="corpauthor" mode="bibliomixed.mode">
768 <fo:inline>
769 <xsl:apply-templates mode="bibliomixed.mode"/>
770 </fo:inline>
771</xsl:template>
772
773<xsl:template match="corpname" mode="bibliomixed.mode">
774 <fo:inline>
775 <xsl:apply-templates mode="bibliomixed.mode"/>
776 </fo:inline>
777</xsl:template>
778
779<xsl:template match="date" mode="bibliomixed.mode">
780 <fo:inline>
781 <xsl:apply-templates mode="bibliomixed.mode"/>
782 </fo:inline>
783</xsl:template>
784
785<xsl:template match="edition" mode="bibliomixed.mode">
786 <fo:inline>
787 <xsl:apply-templates mode="bibliomixed.mode"/>
788 </fo:inline>
789</xsl:template>
790
791<xsl:template match="editor" mode="bibliomixed.mode">
792 <fo:inline>
793 <xsl:apply-templates mode="bibliomixed.mode"/>
794 </fo:inline>
795</xsl:template>
796
797<xsl:template match="firstname" mode="bibliomixed.mode">
798 <fo:inline>
799 <xsl:apply-templates mode="bibliomixed.mode"/>
800 </fo:inline>
801</xsl:template>
802
803<xsl:template match="honorific" mode="bibliomixed.mode">
804 <fo:inline>
805 <xsl:apply-templates mode="bibliomixed.mode"/>
806 </fo:inline>
807</xsl:template>
808
809<xsl:template match="indexterm" mode="bibliomixed.mode">
810 <fo:inline>
811 <xsl:apply-templates mode="bibliomixed.mode"/>
812 </fo:inline>
813</xsl:template>
814
815<xsl:template match="invpartnumber" mode="bibliomixed.mode">
816 <fo:inline>
817 <xsl:apply-templates mode="bibliomixed.mode"/>
818 </fo:inline>
819</xsl:template>
820
821<xsl:template match="isbn" mode="bibliomixed.mode">
822 <fo:inline>
823 <xsl:apply-templates mode="bibliomixed.mode"/>
824 </fo:inline>
825</xsl:template>
826
827<xsl:template match="issn" mode="bibliomixed.mode">
828 <fo:inline>
829 <xsl:apply-templates mode="bibliomixed.mode"/>
830 </fo:inline>
831</xsl:template>
832
833<xsl:template match="issuenum" mode="bibliomixed.mode">
834 <fo:inline>
835 <xsl:apply-templates mode="bibliomixed.mode"/>
836 </fo:inline>
837</xsl:template>
838
839<xsl:template match="lineage" mode="bibliomixed.mode">
840 <fo:inline>
841 <xsl:apply-templates mode="bibliomixed.mode"/>
842 </fo:inline>
843</xsl:template>
844
845<xsl:template match="orgname" mode="bibliomixed.mode">
846 <fo:inline>
847 <xsl:apply-templates mode="bibliomixed.mode"/>
848 </fo:inline>
849</xsl:template>
850
851<xsl:template match="othercredit" mode="bibliomixed.mode">
852 <fo:inline>
853 <xsl:apply-templates mode="bibliomixed.mode"/>
854 </fo:inline>
855</xsl:template>
856
857<xsl:template match="othername" mode="bibliomixed.mode">
858 <fo:inline>
859 <xsl:apply-templates mode="bibliomixed.mode"/>
860 </fo:inline>
861</xsl:template>
862
863<xsl:template match="pagenums" mode="bibliomixed.mode">
864 <fo:inline>
865 <xsl:apply-templates mode="bibliomixed.mode"/>
866 </fo:inline>
867</xsl:template>
868
869<xsl:template match="printhistory" mode="bibliomixed.mode">
870 <fo:inline>
871 <xsl:apply-templates mode="bibliomixed.mode"/>
872 </fo:inline>
873</xsl:template>
874
875<xsl:template match="productname" mode="bibliomixed.mode">
876 <fo:inline>
877 <xsl:apply-templates mode="bibliomixed.mode"/>
878 </fo:inline>
879</xsl:template>
880
881<xsl:template match="productnumber" mode="bibliomixed.mode">
882 <fo:inline>
883 <xsl:apply-templates mode="bibliomixed.mode"/>
884 </fo:inline>
885</xsl:template>
886
887<xsl:template match="pubdate" mode="bibliomixed.mode">
888 <fo:inline>
889 <xsl:apply-templates mode="bibliomixed.mode"/>
890 </fo:inline>
891</xsl:template>
892
893<xsl:template match="publisher" mode="bibliomixed.mode">
894 <fo:inline>
895 <xsl:apply-templates mode="bibliomixed.mode"/>
896 </fo:inline>
897</xsl:template>
898
899<xsl:template match="publishername" mode="bibliomixed.mode">
900 <fo:inline>
901 <xsl:apply-templates mode="bibliomixed.mode"/>
902 </fo:inline>
903</xsl:template>
904
905<xsl:template match="pubsnumber" mode="bibliomixed.mode">
906 <fo:inline>
907 <xsl:apply-templates mode="bibliomixed.mode"/>
908 </fo:inline>
909</xsl:template>
910
911<xsl:template match="releaseinfo" mode="bibliomixed.mode">
912 <fo:inline>
913 <xsl:apply-templates mode="bibliomixed.mode"/>
914 </fo:inline>
915</xsl:template>
916
917<xsl:template match="revhistory" mode="bibliomixed.mode">
918 <fo:inline>
919 <xsl:apply-templates mode="bibliomixed.mode"/>
920 </fo:inline>
921</xsl:template>
922
923<xsl:template match="seriesvolnums" mode="bibliomixed.mode">
924 <fo:inline>
925 <xsl:apply-templates mode="bibliomixed.mode"/>
926 </fo:inline>
927</xsl:template>
928
929<xsl:template match="subtitle" mode="bibliomixed.mode">
930 <fo:inline>
931 <xsl:apply-templates mode="bibliomixed.mode"/>
932 </fo:inline>
933</xsl:template>
934
935<xsl:template match="surname" mode="bibliomixed.mode">
936 <fo:inline>
937 <xsl:apply-templates mode="bibliomixed.mode"/>
938 </fo:inline>
939</xsl:template>
940
941<xsl:template match="title" mode="bibliomixed.mode">
942 <fo:inline>
943 <xsl:apply-templates mode="bibliomixed.mode"/>
944 </fo:inline>
945</xsl:template>
946
947<xsl:template match="titleabbrev" mode="bibliomixed.mode">
948 <fo:inline>
949 <xsl:apply-templates mode="bibliomixed.mode"/>
950 </fo:inline>
951</xsl:template>
952
953<xsl:template match="volumenum" mode="bibliomixed.mode">
954 <fo:inline>
955 <xsl:apply-templates mode="bibliomixed.mode"/>
956 </fo:inline>
957</xsl:template>
958
959<!-- ==================================================================== -->
960
961</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.