OLD | NEW |
| (Empty) |
1 <?xml version='1.0'?> | |
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
3 version='1.0'> | |
4 | |
5 <!-- ******************************************************************** | |
6 $Id: biblio.xsl 9297 2012-04-22 03:56:16Z bobstayton $ | |
7 ******************************************************************** | |
8 | |
9 This file is part of the XSL DocBook Stylesheet distribution. | |
10 See ../README or http://docbook.sf.net/release/xsl/current/ for | |
11 copyright and other information. | |
12 | |
13 ******************************************************************** --> | |
14 | |
15 <!-- ==================================================================== --> | |
16 | |
17 <xsl:template match="bibliography"> | |
18 <xsl:call-template name="id.warning"/> | |
19 | |
20 <div> | |
21 <xsl:call-template name="common.html.attributes"> | |
22 <xsl:with-param name="inherit" select="1"/> | |
23 </xsl:call-template> | |
24 <xsl:call-template name="id.attribute"> | |
25 <xsl:with-param name="conditional" select="0"/> | |
26 </xsl:call-template> | |
27 | |
28 <xsl:call-template name="bibliography.titlepage"/> | |
29 | |
30 <xsl:apply-templates/> | |
31 | |
32 <xsl:if test="not(parent::article)"> | |
33 <xsl:call-template name="process.footnotes"/> | |
34 </xsl:if> | |
35 </div> | |
36 </xsl:template> | |
37 | |
38 <xsl:template match="bibliography/bibliographyinfo"></xsl:template> | |
39 <xsl:template match="bibliography/info"></xsl:template> | |
40 <xsl:template match="bibliography/title"></xsl:template> | |
41 <xsl:template match="bibliography/subtitle"></xsl:template> | |
42 <xsl:template match="bibliography/titleabbrev"></xsl:template> | |
43 | |
44 <!-- ==================================================================== --> | |
45 | |
46 <xsl:template match="bibliodiv"> | |
47 <xsl:call-template name="id.warning"/> | |
48 | |
49 <div> | |
50 <xsl:call-template name="common.html.attributes"> | |
51 <xsl:with-param name="inherit" select="0"/> | |
52 </xsl:call-template> | |
53 <xsl:call-template name="id.attribute"> | |
54 <xsl:with-param name="conditional" select="0"/> | |
55 </xsl:call-template> | |
56 <xsl:apply-templates/> | |
57 </div> | |
58 </xsl:template> | |
59 | |
60 <xsl:template match="bibliodiv/title"> | |
61 <h3> | |
62 <xsl:call-template name="common.html.attributes"/> | |
63 <xsl:call-template name="anchor"> | |
64 <xsl:with-param name="node" select=".."/> | |
65 <xsl:with-param name="conditional" select="0"/> | |
66 </xsl:call-template> | |
67 <xsl:apply-templates/> | |
68 </h3> | |
69 </xsl:template> | |
70 | |
71 <!-- ==================================================================== --> | |
72 | |
73 <xsl:template match="bibliolist"> | |
74 <div> | |
75 <xsl:call-template name="common.html.attributes"> | |
76 <xsl:with-param name="inherit" select="0"/> | |
77 </xsl:call-template> | |
78 <xsl:call-template name="id.attribute"/> | |
79 <xsl:call-template name="anchor"/> | |
80 <xsl:if test="blockinfo/title|info/title|title"> | |
81 <xsl:call-template name="formal.object.heading"/> | |
82 </xsl:if> | |
83 <xsl:apply-templates select="*[not(self::blockinfo) | |
84 and not(self::info) | |
85 and not(self::title) | |
86 and not(self::titleabbrev) | |
87 and not(self::biblioentry) | |
88 and not(self::bibliomixed)]"/> | |
89 <xsl:apply-templates select="biblioentry|bibliomixed"/> | |
90 </div> | |
91 </xsl:template> | |
92 | |
93 <!-- ==================================================================== --> | |
94 | |
95 <xsl:template match="biblioentry"> | |
96 <xsl:param name="label"> | |
97 <xsl:call-template name="biblioentry.label"/> | |
98 </xsl:param> | |
99 | |
100 <xsl:variable name="id"> | |
101 <xsl:call-template name="object.id"/> | |
102 </xsl:variable> | |
103 | |
104 <xsl:choose> | |
105 <xsl:when test="string(.) = ''"> | |
106 <xsl:variable name="bib" select="document($bibliography.collection,.)"/> | |
107 <xsl:variable name="entry" select="$bib/bibliography// | |
108 *[@id=$id or @xml:id=$id][1]"/> | |
109 <xsl:choose> | |
110 <xsl:when test="$entry"> | |
111 <xsl:choose> | |
112 <xsl:when test="$bibliography.numbered != 0"> | |
113 <xsl:apply-templates select="$entry"> | |
114 <xsl:with-param name="label" select="$label"/> | |
115 </xsl:apply-templates> | |
116 </xsl:when> | |
117 <xsl:otherwise> | |
118 <xsl:apply-templates select="$entry"/> | |
119 </xsl:otherwise> | |
120 </xsl:choose> | |
121 </xsl:when> | |
122 <xsl:otherwise> | |
123 <xsl:message> | |
124 <xsl:text>No bibliography entry: </xsl:text> | |
125 <xsl:value-of select="$id"/> | |
126 <xsl:text> found in </xsl:text> | |
127 <xsl:value-of select="$bibliography.collection"/> | |
128 </xsl:message> | |
129 <div> | |
130 <xsl:call-template name="common.html.attributes"/> | |
131 <xsl:call-template name="id.attribute"/> | |
132 <xsl:call-template name="anchor"/> | |
133 <p> | |
134 <xsl:copy-of select="$label"/> | |
135 <xsl:text>Error: no bibliography entry: </xsl:text> | |
136 <xsl:value-of select="$id"/> | |
137 <xsl:text> found in </xsl:text> | |
138 <xsl:value-of select="$bibliography.collection"/> | |
139 </p> | |
140 </div> | |
141 </xsl:otherwise> | |
142 </xsl:choose> | |
143 </xsl:when> | |
144 <xsl:otherwise> | |
145 <div> | |
146 <xsl:call-template name="common.html.attributes"/> | |
147 <xsl:call-template name="id.attribute"> | |
148 <xsl:with-param name="conditional" select="0"/> | |
149 </xsl:call-template> | |
150 <xsl:call-template name="anchor"> | |
151 <xsl:with-param name="conditional" select="0"/> | |
152 </xsl:call-template> | |
153 <p> | |
154 <xsl:copy-of select="$label"/> | |
155 <xsl:choose> | |
156 <xsl:when test="$bibliography.style = 'iso690'"> | |
157 <xsl:call-template name="iso690.makecitation"/> | |
158 </xsl:when> | |
159 <xsl:otherwise> | |
160 <xsl:apply-templates mode="bibliography.mode"/> | |
161 </xsl:otherwise> | |
162 </xsl:choose> | |
163 </p> | |
164 </div> | |
165 </xsl:otherwise> | |
166 </xsl:choose> | |
167 </xsl:template> | |
168 | |
169 <xsl:template match="bibliomixed"> | |
170 <xsl:param name="label"> | |
171 <xsl:call-template name="biblioentry.label"/> | |
172 </xsl:param> | |
173 | |
174 <xsl:variable name="id"> | |
175 <xsl:call-template name="object.id"/> | |
176 </xsl:variable> | |
177 | |
178 <xsl:choose> | |
179 <xsl:when test="string(.) = ''"> | |
180 <xsl:variable name="bib" select="document($bibliography.collection,.)"/> | |
181 <xsl:variable name="entry" select="$bib/bibliography// | |
182 *[@id=$id or @xml:id=$id][1]"/> | |
183 <xsl:choose> | |
184 <xsl:when test="$entry"> | |
185 <xsl:choose> | |
186 <xsl:when test="$bibliography.numbered != 0"> | |
187 <xsl:apply-templates select="$entry"> | |
188 <xsl:with-param name="label" select="$label"/> | |
189 </xsl:apply-templates> | |
190 </xsl:when> | |
191 <xsl:otherwise> | |
192 <xsl:apply-templates select="$entry"/> | |
193 </xsl:otherwise> | |
194 </xsl:choose> | |
195 </xsl:when> | |
196 <xsl:otherwise> | |
197 <xsl:message> | |
198 <xsl:text>No bibliography entry: </xsl:text> | |
199 <xsl:value-of select="$id"/> | |
200 <xsl:text> found in </xsl:text> | |
201 <xsl:value-of select="$bibliography.collection"/> | |
202 </xsl:message> | |
203 <div> | |
204 <xsl:call-template name="common.html.attributes"/> | |
205 <xsl:call-template name="id.attribute"/> | |
206 <xsl:call-template name="anchor"/> | |
207 <p> | |
208 <xsl:copy-of select="$label"/> | |
209 <xsl:text>Error: no bibliography entry: </xsl:text> | |
210 <xsl:value-of select="$id"/> | |
211 <xsl:text> found in </xsl:text> | |
212 <xsl:value-of select="$bibliography.collection"/> | |
213 </p> | |
214 </div> | |
215 </xsl:otherwise> | |
216 </xsl:choose> | |
217 </xsl:when> | |
218 <xsl:otherwise> | |
219 <div> | |
220 <xsl:call-template name="common.html.attributes"/> | |
221 <xsl:call-template name="id.attribute"> | |
222 <xsl:with-param name="conditional" select="0"/> | |
223 </xsl:call-template> | |
224 <xsl:call-template name="anchor"> | |
225 <xsl:with-param name="conditional" select="0"/> | |
226 </xsl:call-template> | |
227 <p> | |
228 <xsl:call-template name="common.html.attributes"/> | |
229 <xsl:copy-of select="$label"/> | |
230 <xsl:apply-templates mode="bibliomixed.mode"/> | |
231 </p> | |
232 </div> | |
233 </xsl:otherwise> | |
234 </xsl:choose> | |
235 </xsl:template> | |
236 | |
237 <xsl:template name="biblioentry.label"> | |
238 <xsl:param name="node" select="."/> | |
239 | |
240 <xsl:choose> | |
241 <xsl:when test="$bibliography.numbered != 0"> | |
242 <xsl:text>[</xsl:text> | |
243 <xsl:number from="bibliography" count="biblioentry|bibliomixed" | |
244 level="any" format="1"/> | |
245 <xsl:text>] </xsl:text> | |
246 </xsl:when> | |
247 <xsl:when test="local-name($node/child::*[1]) = 'abbrev'"> | |
248 <xsl:text>[</xsl:text> | |
249 <xsl:apply-templates select="$node/abbrev[1]"/> | |
250 <xsl:text>] </xsl:text> | |
251 </xsl:when> | |
252 <xsl:when test="$node/@xreflabel"> | |
253 <xsl:text>[</xsl:text> | |
254 <xsl:value-of select="$node/@xreflabel"/> | |
255 <xsl:text>] </xsl:text> | |
256 </xsl:when> | |
257 <xsl:when test="$node/@id"> | |
258 <xsl:text>[</xsl:text> | |
259 <xsl:value-of select="$node/@id"/> | |
260 <xsl:text>] </xsl:text> | |
261 </xsl:when> | |
262 <xsl:when test="$node/@xml:id"> | |
263 <xsl:text>[</xsl:text> | |
264 <xsl:value-of select="$node/@xml:id"/> | |
265 <xsl:text>] </xsl:text> | |
266 </xsl:when> | |
267 <xsl:otherwise><!-- nop --></xsl:otherwise> | |
268 </xsl:choose> | |
269 </xsl:template> | |
270 | |
271 <!-- ==================================================================== --> | |
272 | |
273 <xsl:template match="*" mode="bibliography.mode"> | |
274 <xsl:apply-templates select="."/><!-- try the default mode --> | |
275 </xsl:template> | |
276 | |
277 <xsl:template match="abbrev" mode="bibliography.mode"> | |
278 <xsl:if test="preceding-sibling::*"> | |
279 <xsl:apply-templates mode="bibliography.mode"/> | |
280 </xsl:if> | |
281 </xsl:template> | |
282 | |
283 <xsl:template match="abstract" mode="bibliography.mode"> | |
284 <!-- suppressed --> | |
285 </xsl:template> | |
286 | |
287 <xsl:template match="address" mode="bibliography.mode"> | |
288 <span> | |
289 <xsl:call-template name="common.html.attributes"/> | |
290 <xsl:call-template name="id.attribute"/> | |
291 <xsl:apply-templates mode="bibliography.mode"/> | |
292 <xsl:copy-of select="$biblioentry.item.separator"/> | |
293 </span> | |
294 </xsl:template> | |
295 | |
296 <xsl:template match="affiliation" mode="bibliography.mode"> | |
297 <span> | |
298 <xsl:call-template name="common.html.attributes"/> | |
299 <xsl:call-template name="id.attribute"/> | |
300 <xsl:apply-templates mode="bibliography.mode"/> | |
301 <xsl:copy-of select="$biblioentry.item.separator"/> | |
302 </span> | |
303 </xsl:template> | |
304 | |
305 <xsl:template match="shortaffil" mode="bibliography.mode"> | |
306 <span> | |
307 <xsl:call-template name="common.html.attributes"/> | |
308 <xsl:call-template name="id.attribute"/> | |
309 <xsl:apply-templates mode="bibliography.mode"/> | |
310 <xsl:copy-of select="$biblioentry.item.separator"/> | |
311 </span> | |
312 </xsl:template> | |
313 | |
314 <xsl:template match="jobtitle" mode="bibliography.mode"> | |
315 <span> | |
316 <xsl:call-template name="common.html.attributes"/> | |
317 <xsl:call-template name="id.attribute"/> | |
318 <xsl:apply-templates mode="bibliography.mode"/> | |
319 <xsl:copy-of select="$biblioentry.item.separator"/> | |
320 </span> | |
321 </xsl:template> | |
322 | |
323 <xsl:template match="artheader|articleinfo|info" mode="bibliography.mode"> | |
324 <span> | |
325 <xsl:call-template name="common.html.attributes"/> | |
326 <xsl:call-template name="id.attribute"/> | |
327 <xsl:apply-templates mode="bibliography.mode"/> | |
328 <xsl:copy-of select="$biblioentry.item.separator"/> | |
329 </span> | |
330 </xsl:template> | |
331 | |
332 <xsl:template match="artpagenums" mode="bibliography.mode"> | |
333 <span> | |
334 <xsl:call-template name="common.html.attributes"/> | |
335 <xsl:call-template name="id.attribute"/> | |
336 <xsl:apply-templates mode="bibliography.mode"/> | |
337 <xsl:copy-of select="$biblioentry.item.separator"/> | |
338 </span> | |
339 </xsl:template> | |
340 | |
341 <xsl:template match="author" mode="bibliography.mode"> | |
342 <span> | |
343 <xsl:call-template name="common.html.attributes"/> | |
344 <xsl:call-template name="id.attribute"/> | |
345 <xsl:choose> | |
346 <xsl:when test="orgname"> | |
347 <xsl:apply-templates select="orgname" mode="bibliography.mode"/> | |
348 </xsl:when> | |
349 <xsl:otherwise> | |
350 <xsl:call-template name="person.name"/> | |
351 <xsl:copy-of select="$biblioentry.item.separator"/> | |
352 </xsl:otherwise> | |
353 </xsl:choose> | |
354 </span> | |
355 </xsl:template> | |
356 | |
357 <xsl:template match="authorblurb|personblurb" mode="bibliography.mode"> | |
358 <!-- suppressed --> | |
359 </xsl:template> | |
360 | |
361 <xsl:template match="authorgroup" mode="bibliography.mode"> | |
362 <span> | |
363 <xsl:call-template name="common.html.attributes"/> | |
364 <xsl:call-template name="id.attribute"/> | |
365 <xsl:call-template name="person.name.list"/> | |
366 <xsl:copy-of select="$biblioentry.item.separator"/> | |
367 </span> | |
368 </xsl:template> | |
369 | |
370 <xsl:template match="authorinitials" mode="bibliography.mode"> | |
371 <span> | |
372 <xsl:call-template name="common.html.attributes"/> | |
373 <xsl:call-template name="id.attribute"/> | |
374 <xsl:apply-templates mode="bibliography.mode"/> | |
375 <xsl:copy-of select="$biblioentry.item.separator"/> | |
376 </span> | |
377 </xsl:template> | |
378 | |
379 <xsl:template match="bibliomisc" mode="bibliography.mode"> | |
380 <span> | |
381 <xsl:call-template name="common.html.attributes"/> | |
382 <xsl:call-template name="id.attribute"/> | |
383 <xsl:apply-templates mode="bibliography.mode"/> | |
384 <xsl:copy-of select="$biblioentry.item.separator"/> | |
385 </span> | |
386 </xsl:template> | |
387 | |
388 <xsl:template match="bibliomset" mode="bibliography.mode"> | |
389 <span> | |
390 <xsl:call-template name="common.html.attributes"/> | |
391 <xsl:call-template name="id.attribute"/> | |
392 <xsl:apply-templates mode="bibliography.mode"/> | |
393 <xsl:copy-of select="$biblioentry.item.separator"/> | |
394 </span> | |
395 </xsl:template> | |
396 | |
397 <!-- ================================================== --> | |
398 | |
399 <xsl:template match="biblioset" mode="bibliography.mode"> | |
400 <span> | |
401 <xsl:call-template name="common.html.attributes"/> | |
402 <xsl:call-template name="id.attribute"/> | |
403 <xsl:apply-templates mode="bibliography.mode"/> | |
404 </span> | |
405 </xsl:template> | |
406 | |
407 <xsl:template match="biblioset/title|biblioset/citetitle" | |
408 mode="bibliography.mode"> | |
409 <xsl:variable name="relation" select="../@relation"/> | |
410 <xsl:choose> | |
411 <xsl:when test="$relation='article' or @pubwork='article'"> | |
412 <xsl:call-template name="gentext.startquote"/> | |
413 <xsl:apply-templates/> | |
414 <xsl:call-template name="gentext.endquote"/> | |
415 </xsl:when> | |
416 <xsl:otherwise> | |
417 <i><xsl:apply-templates/></i> | |
418 </xsl:otherwise> | |
419 </xsl:choose> | |
420 <xsl:copy-of select="$biblioentry.item.separator"/> | |
421 </xsl:template> | |
422 | |
423 <!-- ================================================== --> | |
424 | |
425 <xsl:template match="citetitle" mode="bibliography.mode"> | |
426 <span> | |
427 <xsl:call-template name="common.html.attributes"/> | |
428 <xsl:call-template name="id.attribute"/> | |
429 <xsl:choose> | |
430 <xsl:when test="@pubwork = 'article'"> | |
431 <xsl:call-template name="gentext.startquote"/> | |
432 <xsl:call-template name="inline.charseq"/> | |
433 <xsl:call-template name="gentext.endquote"/> | |
434 </xsl:when> | |
435 <xsl:otherwise> | |
436 <xsl:call-template name="inline.italicseq"/> | |
437 </xsl:otherwise> | |
438 </xsl:choose> | |
439 <xsl:copy-of select="$biblioentry.item.separator"/> | |
440 </span> | |
441 </xsl:template> | |
442 | |
443 <xsl:template match="collab" mode="bibliography.mode"> | |
444 <span> | |
445 <xsl:call-template name="common.html.attributes"/> | |
446 <xsl:call-template name="id.attribute"/> | |
447 <xsl:apply-templates mode="bibliography.mode"/> | |
448 <xsl:copy-of select="$biblioentry.item.separator"/> | |
449 </span> | |
450 </xsl:template> | |
451 | |
452 <xsl:template match="collabname" mode="bibliography.mode"> | |
453 <span> | |
454 <xsl:call-template name="common.html.attributes"/> | |
455 <xsl:call-template name="id.attribute"/> | |
456 <xsl:apply-templates mode="bibliography.mode"/> | |
457 <xsl:copy-of select="$biblioentry.item.separator"/> | |
458 </span> | |
459 </xsl:template> | |
460 | |
461 <xsl:template match="confgroup" mode="bibliography.mode"> | |
462 <span> | |
463 <xsl:call-template name="common.html.attributes"/> | |
464 <xsl:call-template name="id.attribute"/> | |
465 <xsl:apply-templates mode="bibliography.mode"/> | |
466 <xsl:copy-of select="$biblioentry.item.separator"/> | |
467 </span> | |
468 </xsl:template> | |
469 | |
470 <xsl:template match="confdates" mode="bibliography.mode"> | |
471 <span> | |
472 <xsl:call-template name="common.html.attributes"/> | |
473 <xsl:call-template name="id.attribute"/> | |
474 <xsl:apply-templates mode="bibliography.mode"/> | |
475 <xsl:copy-of select="$biblioentry.item.separator"/> | |
476 </span> | |
477 </xsl:template> | |
478 | |
479 <xsl:template match="conftitle" mode="bibliography.mode"> | |
480 <span> | |
481 <xsl:call-template name="common.html.attributes"/> | |
482 <xsl:call-template name="id.attribute"/> | |
483 <xsl:apply-templates mode="bibliography.mode"/> | |
484 <xsl:copy-of select="$biblioentry.item.separator"/> | |
485 </span> | |
486 </xsl:template> | |
487 | |
488 <xsl:template match="confnum" mode="bibliography.mode"> | |
489 <span> | |
490 <xsl:call-template name="common.html.attributes"/> | |
491 <xsl:call-template name="id.attribute"/> | |
492 <xsl:apply-templates mode="bibliography.mode"/> | |
493 <xsl:copy-of select="$biblioentry.item.separator"/> | |
494 </span> | |
495 </xsl:template> | |
496 | |
497 <xsl:template match="confsponsor" mode="bibliography.mode"> | |
498 <span> | |
499 <xsl:call-template name="common.html.attributes"/> | |
500 <xsl:call-template name="id.attribute"/> | |
501 <xsl:apply-templates mode="bibliography.mode"/> | |
502 <xsl:copy-of select="$biblioentry.item.separator"/> | |
503 </span> | |
504 </xsl:template> | |
505 | |
506 <xsl:template match="contractnum" mode="bibliography.mode"> | |
507 <span> | |
508 <xsl:call-template name="common.html.attributes"/> | |
509 <xsl:call-template name="id.attribute"/> | |
510 <xsl:apply-templates mode="bibliography.mode"/> | |
511 <xsl:copy-of select="$biblioentry.item.separator"/> | |
512 </span> | |
513 </xsl:template> | |
514 | |
515 <xsl:template match="contractsponsor" mode="bibliography.mode"> | |
516 <span> | |
517 <xsl:call-template name="common.html.attributes"/> | |
518 <xsl:call-template name="id.attribute"/> | |
519 <xsl:apply-templates mode="bibliography.mode"/> | |
520 <xsl:copy-of select="$biblioentry.item.separator"/> | |
521 </span> | |
522 </xsl:template> | |
523 | |
524 <xsl:template match="contrib" mode="bibliography.mode"> | |
525 <span> | |
526 <xsl:call-template name="common.html.attributes"/> | |
527 <xsl:call-template name="id.attribute"/> | |
528 <xsl:apply-templates mode="bibliography.mode"/> | |
529 <xsl:copy-of select="$biblioentry.item.separator"/> | |
530 </span> | |
531 </xsl:template> | |
532 | |
533 <!-- ================================================== --> | |
534 | |
535 <xsl:template match="copyright" mode="bibliography.mode"> | |
536 <span> | |
537 <xsl:call-template name="common.html.attributes"/> | |
538 <xsl:call-template name="id.attribute"/> | |
539 <xsl:call-template name="gentext"> | |
540 <xsl:with-param name="key" select="'Copyright'"/> | |
541 </xsl:call-template> | |
542 <xsl:call-template name="gentext.space"/> | |
543 <xsl:call-template name="dingbat"> | |
544 <xsl:with-param name="dingbat">copyright</xsl:with-param> | |
545 </xsl:call-template> | |
546 <xsl:call-template name="gentext.space"/> | |
547 <xsl:apply-templates select="year" mode="bibliography.mode"/> | |
548 <xsl:if test="holder"> | |
549 <xsl:call-template name="gentext.space"/> | |
550 <xsl:apply-templates select="holder" mode="bibliography.mode"/> | |
551 </xsl:if> | |
552 <xsl:copy-of select="$biblioentry.item.separator"/> | |
553 </span> | |
554 </xsl:template> | |
555 | |
556 <xsl:template match="year" mode="bibliography.mode"> | |
557 <xsl:apply-templates/><xsl:text>, </xsl:text> | |
558 </xsl:template> | |
559 | |
560 <xsl:template match="year[position()=last()]" mode="bibliography.mode"> | |
561 <xsl:apply-templates/> | |
562 </xsl:template> | |
563 | |
564 <xsl:template match="holder" mode="bibliography.mode"> | |
565 <xsl:apply-templates/> | |
566 </xsl:template> | |
567 | |
568 <!-- ================================================== --> | |
569 | |
570 <xsl:template match="corpauthor" mode="bibliography.mode"> | |
571 <span> | |
572 <xsl:call-template name="common.html.attributes"/> | |
573 <xsl:call-template name="id.attribute"/> | |
574 <xsl:apply-templates mode="bibliography.mode"/> | |
575 <xsl:copy-of select="$biblioentry.item.separator"/> | |
576 </span> | |
577 </xsl:template> | |
578 | |
579 <xsl:template match="corpcredit" mode="bibliography.mode"> | |
580 <span> | |
581 <xsl:call-template name="common.html.attributes"/> | |
582 <xsl:call-template name="id.attribute"/> | |
583 <xsl:apply-templates mode="bibliography.mode"/> | |
584 <xsl:copy-of select="$biblioentry.item.separator"/> | |
585 </span> | |
586 </xsl:template> | |
587 | |
588 <xsl:template match="corpname" mode="bibliography.mode"> | |
589 <span> | |
590 <xsl:call-template name="common.html.attributes"/> | |
591 <xsl:call-template name="id.attribute"/> | |
592 <xsl:apply-templates mode="bibliography.mode"/> | |
593 <xsl:copy-of select="$biblioentry.item.separator"/> | |
594 </span> | |
595 </xsl:template> | |
596 | |
597 <xsl:template match="date" mode="bibliography.mode"> | |
598 <span> | |
599 <xsl:call-template name="common.html.attributes"/> | |
600 <xsl:call-template name="id.attribute"/> | |
601 <xsl:apply-templates mode="bibliography.mode"/> | |
602 <xsl:copy-of select="$biblioentry.item.separator"/> | |
603 </span> | |
604 </xsl:template> | |
605 | |
606 <xsl:template match="edition" mode="bibliography.mode"> | |
607 <span> | |
608 <xsl:call-template name="common.html.attributes"/> | |
609 <xsl:call-template name="id.attribute"/> | |
610 <xsl:apply-templates mode="bibliography.mode"/> | |
611 <xsl:copy-of select="$biblioentry.item.separator"/> | |
612 </span> | |
613 </xsl:template> | |
614 | |
615 <xsl:template match="editor" mode="bibliography.mode"> | |
616 <span> | |
617 <xsl:call-template name="common.html.attributes"/> | |
618 <xsl:call-template name="id.attribute"/> | |
619 <xsl:call-template name="person.name"/> | |
620 <xsl:copy-of select="$biblioentry.item.separator"/> | |
621 </span> | |
622 </xsl:template> | |
623 | |
624 <xsl:template match="firstname" mode="bibliography.mode"> | |
625 <span> | |
626 <xsl:call-template name="common.html.attributes"/> | |
627 <xsl:call-template name="id.attribute"/> | |
628 <xsl:apply-templates mode="bibliography.mode"/> | |
629 <xsl:copy-of select="$biblioentry.item.separator"/> | |
630 </span> | |
631 </xsl:template> | |
632 | |
633 <xsl:template match="honorific" mode="bibliography.mode"> | |
634 <span> | |
635 <xsl:call-template name="common.html.attributes"/> | |
636 <xsl:call-template name="id.attribute"/> | |
637 <xsl:apply-templates mode="bibliography.mode"/> | |
638 <xsl:copy-of select="$biblioentry.item.separator"/> | |
639 </span> | |
640 </xsl:template> | |
641 | |
642 <xsl:template match="indexterm" mode="bibliography.mode"> | |
643 <span> | |
644 <xsl:call-template name="common.html.attributes"/> | |
645 <xsl:call-template name="id.attribute"/> | |
646 <xsl:apply-templates mode="bibliography.mode"/> | |
647 <xsl:copy-of select="$biblioentry.item.separator"/> | |
648 </span> | |
649 </xsl:template> | |
650 | |
651 <xsl:template match="invpartnumber" mode="bibliography.mode"> | |
652 <span> | |
653 <xsl:call-template name="common.html.attributes"/> | |
654 <xsl:call-template name="id.attribute"/> | |
655 <xsl:apply-templates mode="bibliography.mode"/> | |
656 <xsl:copy-of select="$biblioentry.item.separator"/> | |
657 </span> | |
658 </xsl:template> | |
659 | |
660 <xsl:template match="isbn" mode="bibliography.mode"> | |
661 <span> | |
662 <xsl:call-template name="common.html.attributes"/> | |
663 <xsl:call-template name="id.attribute"/> | |
664 <xsl:apply-templates mode="bibliography.mode"/> | |
665 <xsl:copy-of select="$biblioentry.item.separator"/> | |
666 </span> | |
667 </xsl:template> | |
668 | |
669 <xsl:template match="issn" mode="bibliography.mode"> | |
670 <span> | |
671 <xsl:call-template name="common.html.attributes"/> | |
672 <xsl:call-template name="id.attribute"/> | |
673 <xsl:apply-templates mode="bibliography.mode"/> | |
674 <xsl:copy-of select="$biblioentry.item.separator"/> | |
675 </span> | |
676 </xsl:template> | |
677 | |
678 <xsl:template match="issuenum" mode="bibliography.mode"> | |
679 <span> | |
680 <xsl:call-template name="common.html.attributes"/> | |
681 <xsl:call-template name="id.attribute"/> | |
682 <xsl:apply-templates mode="bibliography.mode"/> | |
683 <xsl:copy-of select="$biblioentry.item.separator"/> | |
684 </span> | |
685 </xsl:template> | |
686 | |
687 <xsl:template match="lineage" mode="bibliography.mode"> | |
688 <span> | |
689 <xsl:call-template name="common.html.attributes"/> | |
690 <xsl:call-template name="id.attribute"/> | |
691 <xsl:apply-templates mode="bibliography.mode"/> | |
692 <xsl:copy-of select="$biblioentry.item.separator"/> | |
693 </span> | |
694 </xsl:template> | |
695 | |
696 <xsl:template match="orgname" mode="bibliography.mode"> | |
697 <span> | |
698 <xsl:call-template name="common.html.attributes"/> | |
699 <xsl:call-template name="id.attribute"/> | |
700 <xsl:apply-templates mode="bibliography.mode"/> | |
701 <xsl:copy-of select="$biblioentry.item.separator"/> | |
702 </span> | |
703 </xsl:template> | |
704 | |
705 <xsl:template match="orgdiv" mode="bibliography.mode"> | |
706 <span> | |
707 <xsl:call-template name="common.html.attributes"/> | |
708 <xsl:call-template name="id.attribute"/> | |
709 <xsl:apply-templates mode="bibliography.mode"/> | |
710 <xsl:copy-of select="$biblioentry.item.separator"/> | |
711 </span> | |
712 </xsl:template> | |
713 | |
714 <xsl:template match="othercredit" mode="bibliography.mode"> | |
715 <span> | |
716 <xsl:call-template name="common.html.attributes"/> | |
717 <xsl:call-template name="id.attribute"/> | |
718 <xsl:apply-templates mode="bibliography.mode"/> | |
719 <xsl:copy-of select="$biblioentry.item.separator"/> | |
720 </span> | |
721 </xsl:template> | |
722 | |
723 <xsl:template match="othername" mode="bibliography.mode"> | |
724 <span> | |
725 <xsl:call-template name="common.html.attributes"/> | |
726 <xsl:call-template name="id.attribute"/> | |
727 <xsl:apply-templates mode="bibliography.mode"/> | |
728 <xsl:copy-of select="$biblioentry.item.separator"/> | |
729 </span> | |
730 </xsl:template> | |
731 | |
732 <xsl:template match="pagenums" mode="bibliography.mode"> | |
733 <span> | |
734 <xsl:call-template name="common.html.attributes"/> | |
735 <xsl:call-template name="id.attribute"/> | |
736 <xsl:apply-templates mode="bibliography.mode"/> | |
737 <xsl:copy-of select="$biblioentry.item.separator"/> | |
738 </span> | |
739 </xsl:template> | |
740 | |
741 <xsl:template match="printhistory" mode="bibliography.mode"> | |
742 <!-- suppressed --> | |
743 </xsl:template> | |
744 | |
745 <xsl:template match="productname" mode="bibliography.mode"> | |
746 <span> | |
747 <xsl:call-template name="common.html.attributes"/> | |
748 <xsl:call-template name="id.attribute"/> | |
749 <xsl:apply-templates mode="bibliography.mode"/> | |
750 <xsl:copy-of select="$biblioentry.item.separator"/> | |
751 </span> | |
752 </xsl:template> | |
753 | |
754 <xsl:template match="productnumber" mode="bibliography.mode"> | |
755 <span> | |
756 <xsl:call-template name="common.html.attributes"/> | |
757 <xsl:call-template name="id.attribute"/> | |
758 <xsl:apply-templates mode="bibliography.mode"/> | |
759 <xsl:copy-of select="$biblioentry.item.separator"/> | |
760 </span> | |
761 </xsl:template> | |
762 | |
763 <xsl:template match="pubdate" mode="bibliography.mode"> | |
764 <span> | |
765 <xsl:call-template name="common.html.attributes"/> | |
766 <xsl:call-template name="id.attribute"/> | |
767 <xsl:apply-templates mode="bibliography.mode"/> | |
768 <xsl:copy-of select="$biblioentry.item.separator"/> | |
769 </span> | |
770 </xsl:template> | |
771 | |
772 <xsl:template match="publisher" mode="bibliography.mode"> | |
773 <span> | |
774 <xsl:call-template name="common.html.attributes"/> | |
775 <xsl:call-template name="id.attribute"/> | |
776 <xsl:apply-templates mode="bibliography.mode"/> | |
777 </span> | |
778 </xsl:template> | |
779 | |
780 <xsl:template match="publishername" mode="bibliography.mode"> | |
781 <span> | |
782 <xsl:call-template name="common.html.attributes"/> | |
783 <xsl:call-template name="id.attribute"/> | |
784 <xsl:apply-templates mode="bibliography.mode"/> | |
785 <xsl:copy-of select="$biblioentry.item.separator"/> | |
786 </span> | |
787 </xsl:template> | |
788 | |
789 <xsl:template match="pubsnumber" mode="bibliography.mode"> | |
790 <span> | |
791 <xsl:call-template name="common.html.attributes"/> | |
792 <xsl:call-template name="id.attribute"/> | |
793 <xsl:apply-templates mode="bibliography.mode"/> | |
794 <xsl:copy-of select="$biblioentry.item.separator"/> | |
795 </span> | |
796 </xsl:template> | |
797 | |
798 <xsl:template match="releaseinfo" mode="bibliography.mode"> | |
799 <span> | |
800 <xsl:call-template name="common.html.attributes"/> | |
801 <xsl:call-template name="id.attribute"/> | |
802 <xsl:apply-templates mode="bibliography.mode"/> | |
803 <xsl:copy-of select="$biblioentry.item.separator"/> | |
804 </span> | |
805 </xsl:template> | |
806 | |
807 <xsl:template match="revhistory" mode="bibliography.mode"> | |
808 <!-- suppressed; how could this be represented? --> | |
809 </xsl:template> | |
810 | |
811 <xsl:template match="seriesinfo" mode="bibliography.mode"> | |
812 <span> | |
813 <xsl:call-template name="common.html.attributes"/> | |
814 <xsl:call-template name="id.attribute"/> | |
815 <xsl:apply-templates mode="bibliography.mode"/> | |
816 </span> | |
817 </xsl:template> | |
818 | |
819 <xsl:template match="seriesvolnums" mode="bibliography.mode"> | |
820 <span> | |
821 <xsl:call-template name="common.html.attributes"/> | |
822 <xsl:call-template name="id.attribute"/> | |
823 <xsl:apply-templates mode="bibliography.mode"/> | |
824 <xsl:copy-of select="$biblioentry.item.separator"/> | |
825 </span> | |
826 </xsl:template> | |
827 | |
828 <xsl:template match="subtitle" mode="bibliography.mode"> | |
829 <span> | |
830 <xsl:call-template name="common.html.attributes"/> | |
831 <xsl:call-template name="id.attribute"/> | |
832 <xsl:apply-templates mode="bibliography.mode"/> | |
833 <xsl:copy-of select="$biblioentry.item.separator"/> | |
834 </span> | |
835 </xsl:template> | |
836 | |
837 <xsl:template match="surname" mode="bibliography.mode"> | |
838 <span> | |
839 <xsl:call-template name="common.html.attributes"/> | |
840 <xsl:call-template name="id.attribute"/> | |
841 <xsl:apply-templates mode="bibliography.mode"/> | |
842 <xsl:copy-of select="$biblioentry.item.separator"/> | |
843 </span> | |
844 </xsl:template> | |
845 | |
846 <xsl:template match="title" mode="bibliography.mode"> | |
847 <span> | |
848 <xsl:call-template name="common.html.attributes"/> | |
849 <xsl:call-template name="id.attribute"/> | |
850 <i><xsl:apply-templates mode="bibliography.mode"/></i> | |
851 <xsl:copy-of select="$biblioentry.item.separator"/> | |
852 </span> | |
853 </xsl:template> | |
854 | |
855 <xsl:template match="titleabbrev" mode="bibliography.mode"> | |
856 <span> | |
857 <xsl:call-template name="common.html.attributes"/> | |
858 <xsl:call-template name="id.attribute"/> | |
859 <xsl:apply-templates mode="bibliography.mode"/> | |
860 <xsl:copy-of select="$biblioentry.item.separator"/> | |
861 </span> | |
862 </xsl:template> | |
863 | |
864 <xsl:template match="volumenum" mode="bibliography.mode"> | |
865 <span> | |
866 <xsl:call-template name="common.html.attributes"/> | |
867 <xsl:call-template name="id.attribute"/> | |
868 <xsl:apply-templates mode="bibliography.mode"/> | |
869 <xsl:copy-of select="$biblioentry.item.separator"/> | |
870 </span> | |
871 </xsl:template> | |
872 | |
873 <xsl:template match="bibliocoverage|biblioid|bibliorelation|bibliosource" | |
874 mode="bibliography.mode"> | |
875 <span> | |
876 <xsl:call-template name="common.html.attributes"/> | |
877 <xsl:call-template name="id.attribute"/> | |
878 <xsl:apply-templates mode="bibliography.mode"/> | |
879 <xsl:copy-of select="$biblioentry.item.separator"/> | |
880 </span> | |
881 </xsl:template> | |
882 | |
883 <!-- See FR #1934434 and http://doi.org --> | |
884 <xsl:template match="biblioid[@class='doi']" | |
885 mode="bibliography.mode"> | |
886 <span> | |
887 <xsl:call-template name="common.html.attributes"/> | |
888 <xsl:call-template name="id.attribute"/> | |
889 <a href="{concat('http://dx.doi.org/', .)}">doi:<xsl:value-of select="."/></
a> | |
890 </span> | |
891 </xsl:template> | |
892 | |
893 <!-- ==================================================================== --> | |
894 | |
895 <xsl:template match="*" mode="bibliomixed.mode"> | |
896 <xsl:apply-templates select="."/><!-- try the default mode --> | |
897 </xsl:template> | |
898 | |
899 <xsl:template match="abbrev" mode="bibliomixed.mode"> | |
900 <xsl:if test="preceding-sibling::*"> | |
901 <xsl:apply-templates mode="bibliomixed.mode"/> | |
902 </xsl:if> | |
903 </xsl:template> | |
904 | |
905 <xsl:template match="abstract" mode="bibliomixed.mode"> | |
906 <span> | |
907 <xsl:call-template name="common.html.attributes"/> | |
908 <xsl:call-template name="id.attribute"/> | |
909 <xsl:apply-templates mode="bibliomixed.mode"/> | |
910 </span> | |
911 </xsl:template> | |
912 | |
913 <xsl:template match="address" mode="bibliomixed.mode"> | |
914 <span> | |
915 <xsl:call-template name="common.html.attributes"/> | |
916 <xsl:call-template name="id.attribute"/> | |
917 <xsl:apply-templates mode="bibliomixed.mode"/> | |
918 </span> | |
919 </xsl:template> | |
920 | |
921 <xsl:template match="affiliation" mode="bibliomixed.mode"> | |
922 <span> | |
923 <xsl:call-template name="common.html.attributes"/> | |
924 <xsl:call-template name="id.attribute"/> | |
925 <xsl:apply-templates mode="bibliomixed.mode"/> | |
926 </span> | |
927 </xsl:template> | |
928 | |
929 <xsl:template match="shortaffil" mode="bibliomixed.mode"> | |
930 <span> | |
931 <xsl:call-template name="common.html.attributes"/> | |
932 <xsl:call-template name="id.attribute"/> | |
933 <xsl:apply-templates mode="bibliomixed.mode"/> | |
934 </span> | |
935 </xsl:template> | |
936 | |
937 <xsl:template match="jobtitle" mode="bibliomixed.mode"> | |
938 <span> | |
939 <xsl:call-template name="common.html.attributes"/> | |
940 <xsl:call-template name="id.attribute"/> | |
941 <xsl:apply-templates mode="bibliomixed.mode"/> | |
942 </span> | |
943 </xsl:template> | |
944 | |
945 <xsl:template match="artpagenums" mode="bibliomixed.mode"> | |
946 <span> | |
947 <xsl:call-template name="common.html.attributes"/> | |
948 <xsl:call-template name="id.attribute"/> | |
949 <xsl:apply-templates mode="bibliomixed.mode"/> | |
950 </span> | |
951 </xsl:template> | |
952 | |
953 <xsl:template match="author" mode="bibliomixed.mode"> | |
954 <span> | |
955 <xsl:call-template name="common.html.attributes"/> | |
956 <xsl:call-template name="id.attribute"/> | |
957 <xsl:choose> | |
958 <xsl:when test="orgname"> | |
959 <xsl:apply-templates select="orgname" mode="bibliomixed.mode"/> | |
960 </xsl:when> | |
961 <xsl:otherwise> | |
962 <xsl:call-template name="person.name"/> | |
963 </xsl:otherwise> | |
964 </xsl:choose> | |
965 </span> | |
966 </xsl:template> | |
967 | |
968 <xsl:template match="authorblurb|personblurb" mode="bibliomixed.mode"> | |
969 <span> | |
970 <xsl:call-template name="common.html.attributes"/> | |
971 <xsl:call-template name="id.attribute"/> | |
972 <xsl:apply-templates mode="bibliomixed.mode"/> | |
973 </span> | |
974 </xsl:template> | |
975 | |
976 <xsl:template match="authorgroup" mode="bibliomixed.mode"> | |
977 <span> | |
978 <xsl:call-template name="common.html.attributes"/> | |
979 <xsl:call-template name="id.attribute"/> | |
980 <xsl:apply-templates mode="bibliomixed.mode"/> | |
981 </span> | |
982 </xsl:template> | |
983 | |
984 <xsl:template match="authorinitials" mode="bibliomixed.mode"> | |
985 <span> | |
986 <xsl:call-template name="common.html.attributes"/> | |
987 <xsl:call-template name="id.attribute"/> | |
988 <xsl:apply-templates mode="bibliomixed.mode"/> | |
989 </span> | |
990 </xsl:template> | |
991 | |
992 <xsl:template match="bibliomisc" mode="bibliomixed.mode"> | |
993 <span> | |
994 <xsl:call-template name="common.html.attributes"/> | |
995 <xsl:call-template name="id.attribute"/> | |
996 <xsl:apply-templates mode="bibliomixed.mode"/> | |
997 </span> | |
998 </xsl:template> | |
999 | |
1000 <!-- ================================================== --> | |
1001 | |
1002 <xsl:template match="bibliomset" mode="bibliomixed.mode"> | |
1003 <span> | |
1004 <xsl:call-template name="common.html.attributes"/> | |
1005 <xsl:call-template name="id.attribute"/> | |
1006 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1007 </span> | |
1008 </xsl:template> | |
1009 | |
1010 <xsl:template match="bibliomset/title|bibliomset/citetitle" | |
1011 mode="bibliomixed.mode"> | |
1012 <xsl:variable name="relation" select="../@relation"/> | |
1013 <xsl:choose> | |
1014 <xsl:when test="$relation='article' or @pubwork='article'"> | |
1015 <xsl:call-template name="gentext.startquote"/> | |
1016 <xsl:apply-templates/> | |
1017 <xsl:call-template name="gentext.endquote"/> | |
1018 </xsl:when> | |
1019 <xsl:otherwise> | |
1020 <i><xsl:apply-templates/></i> | |
1021 </xsl:otherwise> | |
1022 </xsl:choose> | |
1023 </xsl:template> | |
1024 | |
1025 <!-- ================================================== --> | |
1026 | |
1027 <xsl:template match="biblioset" mode="bibliomixed.mode"> | |
1028 <span> | |
1029 <xsl:call-template name="common.html.attributes"/> | |
1030 <xsl:call-template name="id.attribute"/> | |
1031 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1032 </span> | |
1033 </xsl:template> | |
1034 | |
1035 <xsl:template match="citetitle" mode="bibliomixed.mode"> | |
1036 <span> | |
1037 <xsl:call-template name="common.html.attributes"/> | |
1038 <xsl:call-template name="id.attribute"/> | |
1039 <xsl:choose> | |
1040 <xsl:when test="@pubwork = 'article'"> | |
1041 <xsl:call-template name="gentext.startquote"/> | |
1042 <xsl:call-template name="inline.charseq"/> | |
1043 <xsl:call-template name="gentext.endquote"/> | |
1044 </xsl:when> | |
1045 <xsl:otherwise> | |
1046 <xsl:call-template name="inline.italicseq"/> | |
1047 </xsl:otherwise> | |
1048 </xsl:choose> | |
1049 </span> | |
1050 </xsl:template> | |
1051 | |
1052 | |
1053 <xsl:template match="collab" mode="bibliomixed.mode"> | |
1054 <span> | |
1055 <xsl:call-template name="common.html.attributes"/> | |
1056 <xsl:call-template name="id.attribute"/> | |
1057 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1058 </span> | |
1059 </xsl:template> | |
1060 | |
1061 <xsl:template match="confgroup" mode="bibliomixed.mode"> | |
1062 <span> | |
1063 <xsl:call-template name="common.html.attributes"/> | |
1064 <xsl:call-template name="id.attribute"/> | |
1065 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1066 </span> | |
1067 </xsl:template> | |
1068 | |
1069 <xsl:template match="contractnum" mode="bibliomixed.mode"> | |
1070 <span> | |
1071 <xsl:call-template name="common.html.attributes"/> | |
1072 <xsl:call-template name="id.attribute"/> | |
1073 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1074 </span> | |
1075 </xsl:template> | |
1076 | |
1077 <xsl:template match="contractsponsor" mode="bibliomixed.mode"> | |
1078 <span> | |
1079 <xsl:call-template name="common.html.attributes"/> | |
1080 <xsl:call-template name="id.attribute"/> | |
1081 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1082 </span> | |
1083 </xsl:template> | |
1084 | |
1085 <xsl:template match="contrib" mode="bibliomixed.mode"> | |
1086 <span> | |
1087 <xsl:call-template name="common.html.attributes"/> | |
1088 <xsl:call-template name="id.attribute"/> | |
1089 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1090 </span> | |
1091 </xsl:template> | |
1092 | |
1093 <xsl:template match="copyright" mode="bibliomixed.mode"> | |
1094 <span> | |
1095 <xsl:call-template name="common.html.attributes"/> | |
1096 <xsl:call-template name="id.attribute"/> | |
1097 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1098 </span> | |
1099 </xsl:template> | |
1100 | |
1101 <xsl:template match="corpauthor" mode="bibliomixed.mode"> | |
1102 <span> | |
1103 <xsl:call-template name="common.html.attributes"/> | |
1104 <xsl:call-template name="id.attribute"/> | |
1105 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1106 </span> | |
1107 </xsl:template> | |
1108 | |
1109 <xsl:template match="corpcredit" mode="bibliomixed.mode"> | |
1110 <span> | |
1111 <xsl:call-template name="common.html.attributes"/> | |
1112 <xsl:call-template name="id.attribute"/> | |
1113 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1114 </span> | |
1115 </xsl:template> | |
1116 | |
1117 <xsl:template match="corpname" mode="bibliomixed.mode"> | |
1118 <span> | |
1119 <xsl:call-template name="common.html.attributes"/> | |
1120 <xsl:call-template name="id.attribute"/> | |
1121 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1122 </span> | |
1123 </xsl:template> | |
1124 | |
1125 <xsl:template match="date" mode="bibliomixed.mode"> | |
1126 <span> | |
1127 <xsl:call-template name="common.html.attributes"/> | |
1128 <xsl:call-template name="id.attribute"/> | |
1129 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1130 </span> | |
1131 </xsl:template> | |
1132 | |
1133 <xsl:template match="edition" mode="bibliomixed.mode"> | |
1134 <span> | |
1135 <xsl:call-template name="common.html.attributes"/> | |
1136 <xsl:call-template name="id.attribute"/> | |
1137 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1138 </span> | |
1139 </xsl:template> | |
1140 | |
1141 <xsl:template match="editor" mode="bibliomixed.mode"> | |
1142 <span> | |
1143 <xsl:call-template name="common.html.attributes"/> | |
1144 <xsl:call-template name="id.attribute"/> | |
1145 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1146 </span> | |
1147 </xsl:template> | |
1148 | |
1149 <xsl:template match="firstname" mode="bibliomixed.mode"> | |
1150 <span> | |
1151 <xsl:call-template name="common.html.attributes"/> | |
1152 <xsl:call-template name="id.attribute"/> | |
1153 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1154 </span> | |
1155 </xsl:template> | |
1156 | |
1157 <xsl:template match="honorific" mode="bibliomixed.mode"> | |
1158 <span> | |
1159 <xsl:call-template name="common.html.attributes"/> | |
1160 <xsl:call-template name="id.attribute"/> | |
1161 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1162 </span> | |
1163 </xsl:template> | |
1164 | |
1165 <xsl:template match="indexterm" mode="bibliomixed.mode"> | |
1166 <span> | |
1167 <xsl:call-template name="common.html.attributes"/> | |
1168 <xsl:call-template name="id.attribute"/> | |
1169 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1170 </span> | |
1171 </xsl:template> | |
1172 | |
1173 <xsl:template match="invpartnumber" mode="bibliomixed.mode"> | |
1174 <span> | |
1175 <xsl:call-template name="common.html.attributes"/> | |
1176 <xsl:call-template name="id.attribute"/> | |
1177 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1178 </span> | |
1179 </xsl:template> | |
1180 | |
1181 <xsl:template match="isbn" mode="bibliomixed.mode"> | |
1182 <span> | |
1183 <xsl:call-template name="common.html.attributes"/> | |
1184 <xsl:call-template name="id.attribute"/> | |
1185 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1186 </span> | |
1187 </xsl:template> | |
1188 | |
1189 <xsl:template match="issn" mode="bibliomixed.mode"> | |
1190 <span> | |
1191 <xsl:call-template name="common.html.attributes"/> | |
1192 <xsl:call-template name="id.attribute"/> | |
1193 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1194 </span> | |
1195 </xsl:template> | |
1196 | |
1197 <xsl:template match="issuenum" mode="bibliomixed.mode"> | |
1198 <span> | |
1199 <xsl:call-template name="common.html.attributes"/> | |
1200 <xsl:call-template name="id.attribute"/> | |
1201 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1202 </span> | |
1203 </xsl:template> | |
1204 | |
1205 <xsl:template match="lineage" mode="bibliomixed.mode"> | |
1206 <span> | |
1207 <xsl:call-template name="common.html.attributes"/> | |
1208 <xsl:call-template name="id.attribute"/> | |
1209 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1210 </span> | |
1211 </xsl:template> | |
1212 | |
1213 <xsl:template match="orgname" mode="bibliomixed.mode"> | |
1214 <span> | |
1215 <xsl:call-template name="common.html.attributes"/> | |
1216 <xsl:call-template name="id.attribute"/> | |
1217 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1218 </span> | |
1219 </xsl:template> | |
1220 | |
1221 <xsl:template match="othercredit" mode="bibliomixed.mode"> | |
1222 <span> | |
1223 <xsl:call-template name="common.html.attributes"/> | |
1224 <xsl:call-template name="id.attribute"/> | |
1225 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1226 </span> | |
1227 </xsl:template> | |
1228 | |
1229 <xsl:template match="othername" mode="bibliomixed.mode"> | |
1230 <span> | |
1231 <xsl:call-template name="common.html.attributes"/> | |
1232 <xsl:call-template name="id.attribute"/> | |
1233 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1234 </span> | |
1235 </xsl:template> | |
1236 | |
1237 <xsl:template match="pagenums" mode="bibliomixed.mode"> | |
1238 <span> | |
1239 <xsl:call-template name="common.html.attributes"/> | |
1240 <xsl:call-template name="id.attribute"/> | |
1241 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1242 </span> | |
1243 </xsl:template> | |
1244 | |
1245 <xsl:template match="printhistory" mode="bibliomixed.mode"> | |
1246 <span> | |
1247 <xsl:call-template name="common.html.attributes"/> | |
1248 <xsl:call-template name="id.attribute"/> | |
1249 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1250 </span> | |
1251 </xsl:template> | |
1252 | |
1253 <xsl:template match="productname" mode="bibliomixed.mode"> | |
1254 <span> | |
1255 <xsl:call-template name="common.html.attributes"/> | |
1256 <xsl:call-template name="id.attribute"/> | |
1257 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1258 </span> | |
1259 </xsl:template> | |
1260 | |
1261 <xsl:template match="productnumber" mode="bibliomixed.mode"> | |
1262 <span> | |
1263 <xsl:call-template name="common.html.attributes"/> | |
1264 <xsl:call-template name="id.attribute"/> | |
1265 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1266 </span> | |
1267 </xsl:template> | |
1268 | |
1269 <xsl:template match="pubdate" mode="bibliomixed.mode"> | |
1270 <span> | |
1271 <xsl:call-template name="common.html.attributes"/> | |
1272 <xsl:call-template name="id.attribute"/> | |
1273 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1274 </span> | |
1275 </xsl:template> | |
1276 | |
1277 <xsl:template match="publisher" mode="bibliomixed.mode"> | |
1278 <span> | |
1279 <xsl:call-template name="common.html.attributes"/> | |
1280 <xsl:call-template name="id.attribute"/> | |
1281 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1282 </span> | |
1283 </xsl:template> | |
1284 | |
1285 <xsl:template match="publishername" mode="bibliomixed.mode"> | |
1286 <span> | |
1287 <xsl:call-template name="common.html.attributes"/> | |
1288 <xsl:call-template name="id.attribute"/> | |
1289 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1290 </span> | |
1291 </xsl:template> | |
1292 | |
1293 <xsl:template match="pubsnumber" mode="bibliomixed.mode"> | |
1294 <span> | |
1295 <xsl:call-template name="common.html.attributes"/> | |
1296 <xsl:call-template name="id.attribute"/> | |
1297 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1298 </span> | |
1299 </xsl:template> | |
1300 | |
1301 <xsl:template match="releaseinfo" mode="bibliomixed.mode"> | |
1302 <span> | |
1303 <xsl:call-template name="common.html.attributes"/> | |
1304 <xsl:call-template name="id.attribute"/> | |
1305 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1306 </span> | |
1307 </xsl:template> | |
1308 | |
1309 <xsl:template match="revhistory" mode="bibliomixed.mode"> | |
1310 <!-- suppressed; how could this be represented? --> | |
1311 </xsl:template> | |
1312 | |
1313 <xsl:template match="seriesvolnums" mode="bibliomixed.mode"> | |
1314 <span> | |
1315 <xsl:call-template name="common.html.attributes"/> | |
1316 <xsl:call-template name="id.attribute"/> | |
1317 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1318 </span> | |
1319 </xsl:template> | |
1320 | |
1321 <xsl:template match="subtitle" mode="bibliomixed.mode"> | |
1322 <span> | |
1323 <xsl:call-template name="common.html.attributes"/> | |
1324 <xsl:call-template name="id.attribute"/> | |
1325 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1326 </span> | |
1327 </xsl:template> | |
1328 | |
1329 <xsl:template match="surname" mode="bibliomixed.mode"> | |
1330 <span> | |
1331 <xsl:call-template name="common.html.attributes"/> | |
1332 <xsl:call-template name="id.attribute"/> | |
1333 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1334 </span> | |
1335 </xsl:template> | |
1336 | |
1337 <xsl:template match="title" mode="bibliomixed.mode"> | |
1338 <span> | |
1339 <xsl:call-template name="common.html.attributes"/> | |
1340 <xsl:call-template name="id.attribute"/> | |
1341 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1342 </span> | |
1343 </xsl:template> | |
1344 | |
1345 <xsl:template match="titleabbrev" mode="bibliomixed.mode"> | |
1346 <span> | |
1347 <xsl:call-template name="common.html.attributes"/> | |
1348 <xsl:call-template name="id.attribute"/> | |
1349 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1350 </span> | |
1351 </xsl:template> | |
1352 | |
1353 <xsl:template match="volumenum" mode="bibliomixed.mode"> | |
1354 <span> | |
1355 <xsl:call-template name="common.html.attributes"/> | |
1356 <xsl:call-template name="id.attribute"/> | |
1357 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1358 </span> | |
1359 </xsl:template> | |
1360 | |
1361 <xsl:template match="bibliocoverage|biblioid|bibliorelation|bibliosource" | |
1362 mode="bibliomixed.mode"> | |
1363 <span> | |
1364 <xsl:call-template name="common.html.attributes"/> | |
1365 <xsl:call-template name="id.attribute"/> | |
1366 <xsl:apply-templates mode="bibliomixed.mode"/> | |
1367 </span> | |
1368 </xsl:template> | |
1369 | |
1370 <!-- See FR #1934434 and http://doi.org --> | |
1371 <xsl:template match="biblioid[@class='doi']" | |
1372 mode="bibliomixed.mode"> | |
1373 <span> | |
1374 <xsl:call-template name="common.html.attributes"/> | |
1375 <xsl:call-template name="id.attribute"/> | |
1376 <a href="{concat('http://dx.doi.org/', .)}">doi:<xsl:value-of select="."/></
a> | |
1377 </span> | |
1378 </xsl:template> | |
1379 | |
1380 <!-- ==================================================================== --> | |
1381 | |
1382 </xsl:stylesheet> | |
OLD | NEW |