1 <?xml version="1.0" encoding="ASCII"?><!--This file was created automatically by html2xhtml--><!--from the HTML stylesheets.--><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:d="http://docbook.org/ns/docbook" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="d" version="1.0">
3 <!-- ********************************************************************
5 This file is part of the XSL DocBook Stylesheet distribution.
6 See ../README or http://cdn.docbook.org/release/xsl/current/ for
7 copyright and other information.
9 ******************************************************************** -->
11 <!-- ==================================================================== -->
13 <xsl:template match="d:bibliography">
14 <xsl:call-template name="id.warning"/>
17 <xsl:call-template name="common.html.attributes">
18 <xsl:with-param name="inherit" select="1"/>
20 <xsl:call-template name="id.attribute">
21 <xsl:with-param name="conditional" select="0"/>
24 <xsl:call-template name="bibliography.titlepage"/>
26 <xsl:apply-templates/>
28 <xsl:if test="not(parent::d:article)">
29 <xsl:call-template name="process.footnotes"/>
34 <xsl:template match="d:bibliography/d:bibliographyinfo"/>
35 <xsl:template match="d:bibliography/d:info"/>
36 <xsl:template match="d:bibliography/d:title"/>
37 <xsl:template match="d:bibliography/d:subtitle"/>
38 <xsl:template match="d:bibliography/d:titleabbrev"/>
40 <!-- ==================================================================== -->
42 <xsl:template match="d:bibliodiv">
43 <xsl:call-template name="id.warning"/>
46 <xsl:call-template name="common.html.attributes">
47 <xsl:with-param name="inherit" select="0"/>
49 <xsl:call-template name="id.attribute">
50 <xsl:with-param name="conditional" select="0"/>
52 <xsl:apply-templates/>
56 <xsl:template match="d:bibliodiv/d:title">
58 <xsl:call-template name="common.html.attributes"/>
59 <xsl:call-template name="anchor">
60 <xsl:with-param name="node" select=".."/>
61 <xsl:with-param name="conditional" select="0"/>
63 <xsl:apply-templates/>
67 <!-- ==================================================================== -->
69 <xsl:template match="d:bibliolist">
71 <xsl:call-template name="common.html.attributes">
72 <xsl:with-param name="inherit" select="0"/>
74 <xsl:call-template name="id.attribute"/>
75 <xsl:call-template name="anchor"/>
76 <xsl:if test="d:blockinfo/d:title|d:info/d:title|d:title">
77 <xsl:call-template name="formal.object.heading"/>
79 <xsl:apply-templates select="*[not(self::d:blockinfo) and not(self::d:info) and not(self::d:title) and not(self::d:titleabbrev) and not(self::d:biblioentry) and not(self::d:bibliomixed)]"/>
80 <xsl:apply-templates select="d:biblioentry|d:bibliomixed"/>
84 <!-- ==================================================================== -->
86 <xsl:template match="d:biblioentry">
87 <xsl:param name="label">
88 <xsl:call-template name="biblioentry.label"/>
91 <xsl:variable name="id">
92 <xsl:call-template name="object.id"/>
96 <xsl:when test="string(.) = ''">
97 <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
98 <xsl:variable name="entry" select="$bib/d:bibliography// *[@id=$id or @xml:id=$id][1]"/>
100 <xsl:when test="$entry">
102 <xsl:when test="$bibliography.numbered != 0">
103 <xsl:apply-templates select="$entry">
104 <xsl:with-param name="label" select="$label"/>
105 </xsl:apply-templates>
108 <xsl:apply-templates select="$entry"/>
114 <xsl:text>No bibliography entry: </xsl:text>
115 <xsl:value-of select="$id"/>
116 <xsl:text> found in </xsl:text>
117 <xsl:value-of select="$bibliography.collection"/>
120 <xsl:call-template name="common.html.attributes"/>
121 <xsl:call-template name="id.attribute"/>
122 <xsl:call-template name="anchor"/>
124 <xsl:copy-of select="$label"/>
125 <xsl:text>Error: no bibliography entry: </xsl:text>
126 <xsl:value-of select="$id"/>
127 <xsl:text> found in </xsl:text>
128 <xsl:value-of select="$bibliography.collection"/>
136 <xsl:call-template name="common.html.attributes"/>
137 <xsl:call-template name="id.attribute">
138 <xsl:with-param name="conditional" select="0"/>
140 <xsl:call-template name="anchor">
141 <xsl:with-param name="conditional" select="0"/>
144 <xsl:copy-of select="$label"/>
146 <xsl:when test="$bibliography.style = 'iso690'">
147 <xsl:call-template name="iso690.makecitation"/>
150 <xsl:apply-templates mode="bibliography.mode"/>
159 <xsl:template match="d:bibliomixed">
160 <xsl:param name="label">
161 <xsl:call-template name="biblioentry.label"/>
164 <xsl:variable name="id">
165 <xsl:call-template name="object.id"/>
169 <xsl:when test="string(.) = ''">
170 <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
171 <xsl:variable name="entry" select="$bib/d:bibliography// *[@id=$id or @xml:id=$id][1]"/>
173 <xsl:when test="$entry">
175 <xsl:when test="$bibliography.numbered != 0">
176 <xsl:apply-templates select="$entry">
177 <xsl:with-param name="label" select="$label"/>
178 </xsl:apply-templates>
181 <xsl:apply-templates select="$entry"/>
187 <xsl:text>No bibliography entry: </xsl:text>
188 <xsl:value-of select="$id"/>
189 <xsl:text> found in </xsl:text>
190 <xsl:value-of select="$bibliography.collection"/>
193 <xsl:call-template name="common.html.attributes"/>
194 <xsl:call-template name="id.attribute"/>
195 <xsl:call-template name="anchor"/>
197 <xsl:copy-of select="$label"/>
198 <xsl:text>Error: 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"/>
209 <xsl:call-template name="common.html.attributes"/>
210 <xsl:call-template name="id.attribute">
211 <xsl:with-param name="conditional" select="0"/>
213 <xsl:call-template name="anchor">
214 <xsl:with-param name="conditional" select="0"/>
217 <xsl:call-template name="common.html.attributes"/>
218 <xsl:copy-of select="$label"/>
219 <xsl:apply-templates mode="bibliomixed.mode"/>
226 <xsl:template name="biblioentry.label">
227 <xsl:param name="node" select="."/>
230 <xsl:when test="$bibliography.numbered != 0">
231 <xsl:text>[</xsl:text>
232 <xsl:number from="d:bibliography" count="d:biblioentry|d:bibliomixed" level="any" format="1"/>
233 <xsl:text>] </xsl:text>
235 <xsl:when test="local-name($node/child::*[1]) = 'abbrev'">
236 <xsl:text>[</xsl:text>
237 <xsl:apply-templates select="$node/d:abbrev[1]"/>
238 <xsl:text>] </xsl:text>
240 <xsl:when test="$node/@xreflabel">
241 <xsl:text>[</xsl:text>
242 <xsl:value-of select="$node/@xreflabel"/>
243 <xsl:text>] </xsl:text>
245 <xsl:when test="$node/@id">
246 <xsl:text>[</xsl:text>
247 <xsl:value-of select="$node/@id"/>
248 <xsl:text>] </xsl:text>
250 <xsl:when test="$node/@xml:id">
251 <xsl:text>[</xsl:text>
252 <xsl:value-of select="$node/@xml:id"/>
253 <xsl:text>] </xsl:text>
255 <xsl:otherwise><!-- nop --></xsl:otherwise>
259 <!-- ==================================================================== -->
261 <xsl:template match="*" mode="bibliography.mode">
262 <xsl:apply-templates select="."/><!-- try the default mode -->
265 <xsl:template match="d:abbrev" mode="bibliography.mode">
266 <xsl:if test="preceding-sibling::*">
267 <xsl:apply-templates mode="bibliography.mode"/>
271 <xsl:template match="d:abstract" mode="bibliography.mode">
275 <xsl:template match="d:address" mode="bibliography.mode">
277 <xsl:call-template name="common.html.attributes"/>
278 <xsl:call-template name="id.attribute"/>
279 <xsl:apply-templates mode="bibliography.mode"/>
280 <xsl:copy-of select="$biblioentry.item.separator"/>
284 <xsl:template match="d:affiliation" mode="bibliography.mode">
286 <xsl:call-template name="common.html.attributes"/>
287 <xsl:call-template name="id.attribute"/>
288 <xsl:apply-templates mode="bibliography.mode"/>
289 <xsl:copy-of select="$biblioentry.item.separator"/>
293 <xsl:template match="d:shortaffil" mode="bibliography.mode">
295 <xsl:call-template name="common.html.attributes"/>
296 <xsl:call-template name="id.attribute"/>
297 <xsl:apply-templates mode="bibliography.mode"/>
298 <xsl:copy-of select="$biblioentry.item.separator"/>
302 <xsl:template match="d:jobtitle" mode="bibliography.mode">
304 <xsl:call-template name="common.html.attributes"/>
305 <xsl:call-template name="id.attribute"/>
306 <xsl:apply-templates mode="bibliography.mode"/>
307 <xsl:copy-of select="$biblioentry.item.separator"/>
311 <xsl:template match="d:artheader|d:articleinfo|d:info" mode="bibliography.mode">
313 <xsl:call-template name="common.html.attributes"/>
314 <xsl:call-template name="id.attribute"/>
315 <xsl:apply-templates mode="bibliography.mode"/>
316 <xsl:copy-of select="$biblioentry.item.separator"/>
320 <xsl:template match="d:artpagenums" mode="bibliography.mode">
322 <xsl:call-template name="common.html.attributes"/>
323 <xsl:call-template name="id.attribute"/>
324 <xsl:apply-templates mode="bibliography.mode"/>
325 <xsl:copy-of select="$biblioentry.item.separator"/>
329 <xsl:template match="d:author" mode="bibliography.mode">
331 <xsl:call-template name="common.html.attributes"/>
332 <xsl:call-template name="id.attribute"/>
334 <xsl:when test="d:orgname">
335 <xsl:apply-templates select="d:orgname" mode="bibliography.mode"/>
338 <xsl:call-template name="person.name"/>
339 <xsl:copy-of select="$biblioentry.item.separator"/>
345 <xsl:template match="d:authorblurb|d:personblurb" mode="bibliography.mode">
349 <xsl:template match="d:authorgroup" mode="bibliography.mode">
351 <xsl:call-template name="common.html.attributes"/>
352 <xsl:call-template name="id.attribute"/>
353 <xsl:call-template name="person.name.list"/>
354 <xsl:copy-of select="$biblioentry.item.separator"/>
358 <xsl:template match="d:authorinitials" mode="bibliography.mode">
360 <xsl:call-template name="common.html.attributes"/>
361 <xsl:call-template name="id.attribute"/>
362 <xsl:apply-templates mode="bibliography.mode"/>
363 <xsl:copy-of select="$biblioentry.item.separator"/>
367 <xsl:template match="d:bibliomisc" mode="bibliography.mode">
369 <xsl:call-template name="common.html.attributes"/>
370 <xsl:call-template name="id.attribute"/>
371 <xsl:apply-templates mode="bibliography.mode"/>
372 <xsl:copy-of select="$biblioentry.item.separator"/>
376 <xsl:template match="d:bibliomset" mode="bibliography.mode">
378 <xsl:call-template name="common.html.attributes"/>
379 <xsl:call-template name="id.attribute"/>
380 <xsl:apply-templates mode="bibliography.mode"/>
381 <xsl:copy-of select="$biblioentry.item.separator"/>
385 <!-- ================================================== -->
387 <xsl:template match="d:biblioset" mode="bibliography.mode">
389 <xsl:call-template name="common.html.attributes"/>
390 <xsl:call-template name="id.attribute"/>
391 <xsl:apply-templates mode="bibliography.mode"/>
395 <xsl:template match="d:biblioset/d:title|d:biblioset/d:citetitle" mode="bibliography.mode">
396 <xsl:variable name="relation" select="../@relation"/>
398 <xsl:when test="$relation='article' or @pubwork='article'">
399 <xsl:call-template name="gentext.startquote"/>
400 <xsl:apply-templates/>
401 <xsl:call-template name="gentext.endquote"/>
404 <em><xsl:apply-templates/></em>
407 <xsl:copy-of select="$biblioentry.item.separator"/>
410 <!-- ================================================== -->
412 <xsl:template match="d:citetitle" mode="bibliography.mode">
414 <xsl:call-template name="common.html.attributes"/>
415 <xsl:call-template name="id.attribute"/>
417 <xsl:when test="@pubwork = 'article'">
418 <xsl:call-template name="gentext.startquote"/>
419 <xsl:call-template name="inline.charseq"/>
420 <xsl:call-template name="gentext.endquote"/>
423 <xsl:call-template name="inline.italicseq"/>
426 <xsl:copy-of select="$biblioentry.item.separator"/>
430 <xsl:template match="d:collab" mode="bibliography.mode">
432 <xsl:call-template name="common.html.attributes"/>
433 <xsl:call-template name="id.attribute"/>
434 <xsl:apply-templates mode="bibliography.mode"/>
435 <xsl:copy-of select="$biblioentry.item.separator"/>
439 <xsl:template match="d:collabname" mode="bibliography.mode">
441 <xsl:call-template name="common.html.attributes"/>
442 <xsl:call-template name="id.attribute"/>
443 <xsl:apply-templates mode="bibliography.mode"/>
444 <xsl:copy-of select="$biblioentry.item.separator"/>
448 <xsl:template match="d:confgroup" mode="bibliography.mode">
450 <xsl:call-template name="common.html.attributes"/>
451 <xsl:call-template name="id.attribute"/>
452 <xsl:apply-templates mode="bibliography.mode"/>
453 <xsl:copy-of select="$biblioentry.item.separator"/>
457 <xsl:template match="d:confdates" mode="bibliography.mode">
459 <xsl:call-template name="common.html.attributes"/>
460 <xsl:call-template name="id.attribute"/>
461 <xsl:apply-templates mode="bibliography.mode"/>
462 <xsl:copy-of select="$biblioentry.item.separator"/>
466 <xsl:template match="d:conftitle" mode="bibliography.mode">
468 <xsl:call-template name="common.html.attributes"/>
469 <xsl:call-template name="id.attribute"/>
470 <xsl:apply-templates mode="bibliography.mode"/>
471 <xsl:copy-of select="$biblioentry.item.separator"/>
475 <xsl:template match="d:confnum" mode="bibliography.mode">
477 <xsl:call-template name="common.html.attributes"/>
478 <xsl:call-template name="id.attribute"/>
479 <xsl:apply-templates mode="bibliography.mode"/>
480 <xsl:copy-of select="$biblioentry.item.separator"/>
484 <xsl:template match="d:confsponsor" mode="bibliography.mode">
486 <xsl:call-template name="common.html.attributes"/>
487 <xsl:call-template name="id.attribute"/>
488 <xsl:apply-templates mode="bibliography.mode"/>
489 <xsl:copy-of select="$biblioentry.item.separator"/>
493 <xsl:template match="d:contractnum" mode="bibliography.mode">
495 <xsl:call-template name="common.html.attributes"/>
496 <xsl:call-template name="id.attribute"/>
497 <xsl:apply-templates mode="bibliography.mode"/>
498 <xsl:copy-of select="$biblioentry.item.separator"/>
502 <xsl:template match="d:contractsponsor" mode="bibliography.mode">
504 <xsl:call-template name="common.html.attributes"/>
505 <xsl:call-template name="id.attribute"/>
506 <xsl:apply-templates mode="bibliography.mode"/>
507 <xsl:copy-of select="$biblioentry.item.separator"/>
511 <xsl:template match="d:contrib" mode="bibliography.mode">
513 <xsl:call-template name="common.html.attributes"/>
514 <xsl:call-template name="id.attribute"/>
515 <xsl:apply-templates mode="bibliography.mode"/>
516 <xsl:copy-of select="$biblioentry.item.separator"/>
520 <!-- ================================================== -->
522 <xsl:template match="d:copyright" mode="bibliography.mode">
524 <xsl:call-template name="common.html.attributes"/>
525 <xsl:call-template name="id.attribute"/>
526 <xsl:call-template name="gentext">
527 <xsl:with-param name="key" select="'Copyright'"/>
529 <xsl:call-template name="gentext.space"/>
530 <xsl:call-template name="dingbat">
531 <xsl:with-param name="dingbat">copyright</xsl:with-param>
533 <xsl:call-template name="gentext.space"/>
534 <xsl:apply-templates select="d:year" mode="bibliography.mode"/>
535 <xsl:if test="d:holder">
536 <xsl:call-template name="gentext.space"/>
537 <xsl:apply-templates select="d:holder" mode="bibliography.mode"/>
539 <xsl:copy-of select="$biblioentry.item.separator"/>
543 <xsl:template match="d:year" mode="bibliography.mode">
544 <xsl:apply-templates/><xsl:text>, </xsl:text>
547 <xsl:template match="d:year[position()=last()]" mode="bibliography.mode">
548 <xsl:apply-templates/>
551 <xsl:template match="d:holder" mode="bibliography.mode">
552 <xsl:apply-templates/>
555 <!-- ================================================== -->
557 <xsl:template match="d:corpauthor" mode="bibliography.mode">
559 <xsl:call-template name="common.html.attributes"/>
560 <xsl:call-template name="id.attribute"/>
561 <xsl:apply-templates mode="bibliography.mode"/>
562 <xsl:copy-of select="$biblioentry.item.separator"/>
566 <xsl:template match="d:corpcredit" mode="bibliography.mode">
568 <xsl:call-template name="common.html.attributes"/>
569 <xsl:call-template name="id.attribute"/>
570 <xsl:apply-templates mode="bibliography.mode"/>
571 <xsl:copy-of select="$biblioentry.item.separator"/>
575 <xsl:template match="d:corpname" mode="bibliography.mode">
577 <xsl:call-template name="common.html.attributes"/>
578 <xsl:call-template name="id.attribute"/>
579 <xsl:apply-templates mode="bibliography.mode"/>
580 <xsl:copy-of select="$biblioentry.item.separator"/>
584 <xsl:template match="d:date" mode="bibliography.mode">
586 <xsl:call-template name="common.html.attributes"/>
587 <xsl:call-template name="id.attribute"/>
588 <xsl:apply-templates mode="bibliography.mode"/>
589 <xsl:copy-of select="$biblioentry.item.separator"/>
593 <xsl:template match="d:edition" mode="bibliography.mode">
595 <xsl:call-template name="common.html.attributes"/>
596 <xsl:call-template name="id.attribute"/>
597 <xsl:apply-templates mode="bibliography.mode"/>
598 <xsl:copy-of select="$biblioentry.item.separator"/>
602 <xsl:template match="d:editor" mode="bibliography.mode">
604 <xsl:call-template name="common.html.attributes"/>
605 <xsl:call-template name="id.attribute"/>
606 <xsl:call-template name="person.name"/>
607 <xsl:copy-of select="$biblioentry.item.separator"/>
611 <xsl:template match="d:firstname" mode="bibliography.mode">
613 <xsl:call-template name="common.html.attributes"/>
614 <xsl:call-template name="id.attribute"/>
615 <xsl:apply-templates mode="bibliography.mode"/>
616 <xsl:copy-of select="$biblioentry.item.separator"/>
620 <xsl:template match="d:honorific" mode="bibliography.mode">
622 <xsl:call-template name="common.html.attributes"/>
623 <xsl:call-template name="id.attribute"/>
624 <xsl:apply-templates mode="bibliography.mode"/>
625 <xsl:copy-of select="$biblioentry.item.separator"/>
629 <xsl:template match="d:indexterm" mode="bibliography.mode">
631 <xsl:call-template name="common.html.attributes"/>
632 <xsl:call-template name="id.attribute"/>
633 <xsl:apply-templates mode="bibliography.mode"/>
634 <xsl:copy-of select="$biblioentry.item.separator"/>
638 <xsl:template match="d:invpartnumber" mode="bibliography.mode">
640 <xsl:call-template name="common.html.attributes"/>
641 <xsl:call-template name="id.attribute"/>
642 <xsl:apply-templates mode="bibliography.mode"/>
643 <xsl:copy-of select="$biblioentry.item.separator"/>
647 <xsl:template match="d:isbn" mode="bibliography.mode">
649 <xsl:call-template name="common.html.attributes"/>
650 <xsl:call-template name="id.attribute"/>
651 <xsl:apply-templates mode="bibliography.mode"/>
652 <xsl:copy-of select="$biblioentry.item.separator"/>
656 <xsl:template match="d:issn" mode="bibliography.mode">
658 <xsl:call-template name="common.html.attributes"/>
659 <xsl:call-template name="id.attribute"/>
660 <xsl:apply-templates mode="bibliography.mode"/>
661 <xsl:copy-of select="$biblioentry.item.separator"/>
665 <xsl:template match="d:issuenum" mode="bibliography.mode">
667 <xsl:call-template name="common.html.attributes"/>
668 <xsl:call-template name="id.attribute"/>
669 <xsl:apply-templates mode="bibliography.mode"/>
670 <xsl:copy-of select="$biblioentry.item.separator"/>
674 <xsl:template match="d:lineage" mode="bibliography.mode">
676 <xsl:call-template name="common.html.attributes"/>
677 <xsl:call-template name="id.attribute"/>
678 <xsl:apply-templates mode="bibliography.mode"/>
679 <xsl:copy-of select="$biblioentry.item.separator"/>
683 <xsl:template match="d:orgname" mode="bibliography.mode">
685 <xsl:call-template name="common.html.attributes"/>
686 <xsl:call-template name="id.attribute"/>
687 <xsl:apply-templates mode="bibliography.mode"/>
688 <xsl:copy-of select="$biblioentry.item.separator"/>
692 <xsl:template match="d:orgdiv" mode="bibliography.mode">
694 <xsl:call-template name="common.html.attributes"/>
695 <xsl:call-template name="id.attribute"/>
696 <xsl:apply-templates mode="bibliography.mode"/>
697 <xsl:copy-of select="$biblioentry.item.separator"/>
701 <xsl:template match="d:othercredit" mode="bibliography.mode">
703 <xsl:call-template name="common.html.attributes"/>
704 <xsl:call-template name="id.attribute"/>
705 <xsl:apply-templates mode="bibliography.mode"/>
706 <xsl:copy-of select="$biblioentry.item.separator"/>
710 <xsl:template match="d:othername" mode="bibliography.mode">
712 <xsl:call-template name="common.html.attributes"/>
713 <xsl:call-template name="id.attribute"/>
714 <xsl:apply-templates mode="bibliography.mode"/>
715 <xsl:copy-of select="$biblioentry.item.separator"/>
719 <xsl:template match="d:pagenums" mode="bibliography.mode">
721 <xsl:call-template name="common.html.attributes"/>
722 <xsl:call-template name="id.attribute"/>
723 <xsl:apply-templates mode="bibliography.mode"/>
724 <xsl:copy-of select="$biblioentry.item.separator"/>
728 <xsl:template match="d:printhistory" mode="bibliography.mode">
732 <xsl:template match="d:productname" mode="bibliography.mode">
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"/>
741 <xsl:template match="d:productnumber" mode="bibliography.mode">
743 <xsl:call-template name="common.html.attributes"/>
744 <xsl:call-template name="id.attribute"/>
745 <xsl:apply-templates mode="bibliography.mode"/>
746 <xsl:copy-of select="$biblioentry.item.separator"/>
750 <xsl:template match="d:pubdate" mode="bibliography.mode">
752 <xsl:call-template name="common.html.attributes"/>
753 <xsl:call-template name="id.attribute"/>
754 <xsl:apply-templates mode="bibliography.mode"/>
755 <xsl:copy-of select="$biblioentry.item.separator"/>
759 <xsl:template match="d:publisher" mode="bibliography.mode">
761 <xsl:call-template name="common.html.attributes"/>
762 <xsl:call-template name="id.attribute"/>
763 <xsl:apply-templates mode="bibliography.mode"/>
767 <xsl:template match="d:publishername" mode="bibliography.mode">
769 <xsl:call-template name="common.html.attributes"/>
770 <xsl:call-template name="id.attribute"/>
771 <xsl:apply-templates mode="bibliography.mode"/>
772 <xsl:copy-of select="$biblioentry.item.separator"/>
776 <xsl:template match="d:pubsnumber" mode="bibliography.mode">
778 <xsl:call-template name="common.html.attributes"/>
779 <xsl:call-template name="id.attribute"/>
780 <xsl:apply-templates mode="bibliography.mode"/>
781 <xsl:copy-of select="$biblioentry.item.separator"/>
785 <xsl:template match="d:releaseinfo" mode="bibliography.mode">
787 <xsl:call-template name="common.html.attributes"/>
788 <xsl:call-template name="id.attribute"/>
789 <xsl:apply-templates mode="bibliography.mode"/>
790 <xsl:copy-of select="$biblioentry.item.separator"/>
794 <xsl:template match="d:revhistory" mode="bibliography.mode">
795 <!-- suppressed; how could this be represented? -->
798 <xsl:template match="d:seriesinfo" mode="bibliography.mode">
800 <xsl:call-template name="common.html.attributes"/>
801 <xsl:call-template name="id.attribute"/>
802 <xsl:apply-templates mode="bibliography.mode"/>
806 <xsl:template match="d:seriesvolnums" mode="bibliography.mode">
808 <xsl:call-template name="common.html.attributes"/>
809 <xsl:call-template name="id.attribute"/>
810 <xsl:apply-templates mode="bibliography.mode"/>
811 <xsl:copy-of select="$biblioentry.item.separator"/>
815 <xsl:template match="d:subtitle" mode="bibliography.mode">
817 <xsl:call-template name="common.html.attributes"/>
818 <xsl:call-template name="id.attribute"/>
819 <xsl:apply-templates mode="bibliography.mode"/>
820 <xsl:copy-of select="$biblioentry.item.separator"/>
824 <xsl:template match="d:surname" mode="bibliography.mode">
826 <xsl:call-template name="common.html.attributes"/>
827 <xsl:call-template name="id.attribute"/>
828 <xsl:apply-templates mode="bibliography.mode"/>
829 <xsl:copy-of select="$biblioentry.item.separator"/>
833 <xsl:template match="d:title" mode="bibliography.mode">
835 <xsl:call-template name="common.html.attributes"/>
836 <xsl:call-template name="id.attribute"/>
837 <em><xsl:apply-templates mode="bibliography.mode"/></em>
838 <xsl:copy-of select="$biblioentry.item.separator"/>
842 <xsl:template match="d:titleabbrev" mode="bibliography.mode">
844 <xsl:call-template name="common.html.attributes"/>
845 <xsl:call-template name="id.attribute"/>
846 <xsl:apply-templates mode="bibliography.mode"/>
847 <xsl:copy-of select="$biblioentry.item.separator"/>
851 <xsl:template match="d:volumenum" mode="bibliography.mode">
853 <xsl:call-template name="common.html.attributes"/>
854 <xsl:call-template name="id.attribute"/>
855 <xsl:apply-templates mode="bibliography.mode"/>
856 <xsl:copy-of select="$biblioentry.item.separator"/>
860 <xsl:template match="d:bibliocoverage|d:biblioid|d:bibliorelation|d:bibliosource" mode="bibliography.mode">
862 <xsl:call-template name="common.html.attributes"/>
863 <xsl:call-template name="id.attribute"/>
864 <xsl:apply-templates mode="bibliography.mode"/>
865 <xsl:copy-of select="$biblioentry.item.separator"/>
869 <!-- See FR #1934434 and http://doi.org -->
870 <xsl:template match="d:biblioid[@class='doi']" mode="bibliography.mode">
872 <xsl:call-template name="common.html.attributes"/>
873 <xsl:call-template name="id.attribute"/>
874 <a href="{concat('http://dx.doi.org/', .)}">doi:<xsl:value-of select="."/></a>
878 <!-- ==================================================================== -->
880 <xsl:template match="*" mode="bibliomixed.mode">
881 <xsl:apply-templates select="."/><!-- try the default mode -->
884 <xsl:template match="d:abbrev" mode="bibliomixed.mode">
885 <xsl:if test="preceding-sibling::*">
886 <xsl:apply-templates mode="bibliomixed.mode"/>
890 <xsl:template match="d:abstract" mode="bibliomixed.mode">
892 <xsl:call-template name="common.html.attributes"/>
893 <xsl:call-template name="id.attribute"/>
894 <xsl:apply-templates mode="bibliomixed.mode"/>
898 <xsl:template match="d:address" mode="bibliomixed.mode">
900 <xsl:call-template name="common.html.attributes"/>
901 <xsl:call-template name="id.attribute"/>
902 <xsl:apply-templates mode="bibliomixed.mode"/>
906 <xsl:template match="d:affiliation" mode="bibliomixed.mode">
908 <xsl:call-template name="common.html.attributes"/>
909 <xsl:call-template name="id.attribute"/>
910 <xsl:apply-templates mode="bibliomixed.mode"/>
914 <xsl:template match="d:shortaffil" mode="bibliomixed.mode">
916 <xsl:call-template name="common.html.attributes"/>
917 <xsl:call-template name="id.attribute"/>
918 <xsl:apply-templates mode="bibliomixed.mode"/>
922 <xsl:template match="d:jobtitle" mode="bibliomixed.mode">
924 <xsl:call-template name="common.html.attributes"/>
925 <xsl:call-template name="id.attribute"/>
926 <xsl:apply-templates mode="bibliomixed.mode"/>
930 <xsl:template match="d:artpagenums" mode="bibliomixed.mode">
932 <xsl:call-template name="common.html.attributes"/>
933 <xsl:call-template name="id.attribute"/>
934 <xsl:apply-templates mode="bibliomixed.mode"/>
938 <xsl:template match="d:author" mode="bibliomixed.mode">
940 <xsl:call-template name="common.html.attributes"/>
941 <xsl:call-template name="id.attribute"/>
943 <xsl:when test="d:orgname">
944 <xsl:apply-templates select="d:orgname" mode="bibliomixed.mode"/>
947 <xsl:call-template name="person.name"/>
953 <xsl:template match="d:authorblurb|d:personblurb" mode="bibliomixed.mode">
955 <xsl:call-template name="common.html.attributes"/>
956 <xsl:call-template name="id.attribute"/>
957 <xsl:apply-templates mode="bibliomixed.mode"/>
961 <xsl:template match="d:authorgroup" mode="bibliomixed.mode">
963 <xsl:call-template name="common.html.attributes"/>
964 <xsl:call-template name="id.attribute"/>
965 <xsl:apply-templates mode="bibliomixed.mode"/>
969 <xsl:template match="d:authorinitials" mode="bibliomixed.mode">
971 <xsl:call-template name="common.html.attributes"/>
972 <xsl:call-template name="id.attribute"/>
973 <xsl:apply-templates mode="bibliomixed.mode"/>
977 <xsl:template match="d:bibliomisc" mode="bibliomixed.mode">
979 <xsl:call-template name="common.html.attributes"/>
980 <xsl:call-template name="id.attribute"/>
981 <xsl:apply-templates mode="bibliomixed.mode"/>
985 <!-- ================================================== -->
987 <xsl:template match="d:bibliomset" mode="bibliomixed.mode">
989 <xsl:call-template name="common.html.attributes"/>
990 <xsl:call-template name="id.attribute"/>
991 <xsl:apply-templates mode="bibliomixed.mode"/>
995 <xsl:template match="d:bibliomset/d:title|d:bibliomset/d:citetitle" mode="bibliomixed.mode">
996 <xsl:variable name="relation" select="../@relation"/>
998 <xsl:when test="$relation='article' or @pubwork='article'">
999 <xsl:call-template name="gentext.startquote"/>
1000 <xsl:apply-templates/>
1001 <xsl:call-template name="gentext.endquote"/>
1004 <em><xsl:apply-templates/></em>
1009 <!-- ================================================== -->
1011 <xsl:template match="d:biblioset" mode="bibliomixed.mode">
1013 <xsl:call-template name="common.html.attributes"/>
1014 <xsl:call-template name="id.attribute"/>
1015 <xsl:apply-templates mode="bibliomixed.mode"/>
1019 <xsl:template match="d:citetitle" mode="bibliomixed.mode">
1021 <xsl:call-template name="common.html.attributes"/>
1022 <xsl:call-template name="id.attribute"/>
1024 <xsl:when test="@pubwork = 'article'">
1025 <xsl:call-template name="gentext.startquote"/>
1026 <xsl:call-template name="inline.charseq"/>
1027 <xsl:call-template name="gentext.endquote"/>
1030 <xsl:call-template name="inline.italicseq"/>
1037 <xsl:template match="d:collab" mode="bibliomixed.mode">
1039 <xsl:call-template name="common.html.attributes"/>
1040 <xsl:call-template name="id.attribute"/>
1041 <xsl:apply-templates mode="bibliomixed.mode"/>
1045 <xsl:template match="d:confgroup" mode="bibliomixed.mode">
1047 <xsl:call-template name="common.html.attributes"/>
1048 <xsl:call-template name="id.attribute"/>
1049 <xsl:apply-templates mode="bibliomixed.mode"/>
1053 <xsl:template match="d:contractnum" mode="bibliomixed.mode">
1055 <xsl:call-template name="common.html.attributes"/>
1056 <xsl:call-template name="id.attribute"/>
1057 <xsl:apply-templates mode="bibliomixed.mode"/>
1061 <xsl:template match="d:contractsponsor" mode="bibliomixed.mode">
1063 <xsl:call-template name="common.html.attributes"/>
1064 <xsl:call-template name="id.attribute"/>
1065 <xsl:apply-templates mode="bibliomixed.mode"/>
1069 <xsl:template match="d:contrib" mode="bibliomixed.mode">
1071 <xsl:call-template name="common.html.attributes"/>
1072 <xsl:call-template name="id.attribute"/>
1073 <xsl:apply-templates mode="bibliomixed.mode"/>
1077 <xsl:template match="d:copyright" mode="bibliomixed.mode">
1079 <xsl:call-template name="common.html.attributes"/>
1080 <xsl:call-template name="id.attribute"/>
1081 <xsl:apply-templates mode="bibliomixed.mode"/>
1085 <xsl:template match="d:corpauthor" mode="bibliomixed.mode">
1087 <xsl:call-template name="common.html.attributes"/>
1088 <xsl:call-template name="id.attribute"/>
1089 <xsl:apply-templates mode="bibliomixed.mode"/>
1093 <xsl:template match="d:corpcredit" mode="bibliomixed.mode">
1095 <xsl:call-template name="common.html.attributes"/>
1096 <xsl:call-template name="id.attribute"/>
1097 <xsl:apply-templates mode="bibliomixed.mode"/>
1101 <xsl:template match="d:corpname" mode="bibliomixed.mode">
1103 <xsl:call-template name="common.html.attributes"/>
1104 <xsl:call-template name="id.attribute"/>
1105 <xsl:apply-templates mode="bibliomixed.mode"/>
1109 <xsl:template match="d:date" mode="bibliomixed.mode">
1111 <xsl:call-template name="common.html.attributes"/>
1112 <xsl:call-template name="id.attribute"/>
1113 <xsl:apply-templates mode="bibliomixed.mode"/>
1117 <xsl:template match="d:edition" mode="bibliomixed.mode">
1119 <xsl:call-template name="common.html.attributes"/>
1120 <xsl:call-template name="id.attribute"/>
1121 <xsl:apply-templates mode="bibliomixed.mode"/>
1125 <xsl:template match="d:editor" mode="bibliomixed.mode">
1127 <xsl:call-template name="common.html.attributes"/>
1128 <xsl:call-template name="id.attribute"/>
1129 <xsl:apply-templates mode="bibliomixed.mode"/>
1133 <xsl:template match="d:firstname" mode="bibliomixed.mode">
1135 <xsl:call-template name="common.html.attributes"/>
1136 <xsl:call-template name="id.attribute"/>
1137 <xsl:apply-templates mode="bibliomixed.mode"/>
1141 <xsl:template match="d:honorific" mode="bibliomixed.mode">
1143 <xsl:call-template name="common.html.attributes"/>
1144 <xsl:call-template name="id.attribute"/>
1145 <xsl:apply-templates mode="bibliomixed.mode"/>
1149 <xsl:template match="d:indexterm" mode="bibliomixed.mode">
1151 <xsl:call-template name="common.html.attributes"/>
1152 <xsl:call-template name="id.attribute"/>
1153 <xsl:apply-templates mode="bibliomixed.mode"/>
1157 <xsl:template match="d:invpartnumber" mode="bibliomixed.mode">
1159 <xsl:call-template name="common.html.attributes"/>
1160 <xsl:call-template name="id.attribute"/>
1161 <xsl:apply-templates mode="bibliomixed.mode"/>
1165 <xsl:template match="d:isbn" mode="bibliomixed.mode">
1167 <xsl:call-template name="common.html.attributes"/>
1168 <xsl:call-template name="id.attribute"/>
1169 <xsl:apply-templates mode="bibliomixed.mode"/>
1173 <xsl:template match="d:issn" mode="bibliomixed.mode">
1175 <xsl:call-template name="common.html.attributes"/>
1176 <xsl:call-template name="id.attribute"/>
1177 <xsl:apply-templates mode="bibliomixed.mode"/>
1181 <xsl:template match="d:issuenum" mode="bibliomixed.mode">
1183 <xsl:call-template name="common.html.attributes"/>
1184 <xsl:call-template name="id.attribute"/>
1185 <xsl:apply-templates mode="bibliomixed.mode"/>
1189 <xsl:template match="d:lineage" mode="bibliomixed.mode">
1191 <xsl:call-template name="common.html.attributes"/>
1192 <xsl:call-template name="id.attribute"/>
1193 <xsl:apply-templates mode="bibliomixed.mode"/>
1197 <xsl:template match="d:orgname" mode="bibliomixed.mode">
1199 <xsl:call-template name="common.html.attributes"/>
1200 <xsl:call-template name="id.attribute"/>
1201 <xsl:apply-templates mode="bibliomixed.mode"/>
1205 <xsl:template match="d:othercredit" mode="bibliomixed.mode">
1207 <xsl:call-template name="common.html.attributes"/>
1208 <xsl:call-template name="id.attribute"/>
1209 <xsl:apply-templates mode="bibliomixed.mode"/>
1213 <xsl:template match="d:othername" mode="bibliomixed.mode">
1215 <xsl:call-template name="common.html.attributes"/>
1216 <xsl:call-template name="id.attribute"/>
1217 <xsl:apply-templates mode="bibliomixed.mode"/>
1221 <xsl:template match="d:pagenums" mode="bibliomixed.mode">
1223 <xsl:call-template name="common.html.attributes"/>
1224 <xsl:call-template name="id.attribute"/>
1225 <xsl:apply-templates mode="bibliomixed.mode"/>
1229 <xsl:template match="d:printhistory" mode="bibliomixed.mode">
1231 <xsl:call-template name="common.html.attributes"/>
1232 <xsl:call-template name="id.attribute"/>
1233 <xsl:apply-templates mode="bibliomixed.mode"/>
1237 <xsl:template match="d:productname" mode="bibliomixed.mode">
1239 <xsl:call-template name="common.html.attributes"/>
1240 <xsl:call-template name="id.attribute"/>
1241 <xsl:apply-templates mode="bibliomixed.mode"/>
1245 <xsl:template match="d:productnumber" mode="bibliomixed.mode">
1247 <xsl:call-template name="common.html.attributes"/>
1248 <xsl:call-template name="id.attribute"/>
1249 <xsl:apply-templates mode="bibliomixed.mode"/>
1253 <xsl:template match="d:pubdate" mode="bibliomixed.mode">
1255 <xsl:call-template name="common.html.attributes"/>
1256 <xsl:call-template name="id.attribute"/>
1257 <xsl:apply-templates mode="bibliomixed.mode"/>
1261 <xsl:template match="d:publisher" mode="bibliomixed.mode">
1263 <xsl:call-template name="common.html.attributes"/>
1264 <xsl:call-template name="id.attribute"/>
1265 <xsl:apply-templates mode="bibliomixed.mode"/>
1269 <xsl:template match="d:publishername" mode="bibliomixed.mode">
1271 <xsl:call-template name="common.html.attributes"/>
1272 <xsl:call-template name="id.attribute"/>
1273 <xsl:apply-templates mode="bibliomixed.mode"/>
1277 <xsl:template match="d:pubsnumber" mode="bibliomixed.mode">
1279 <xsl:call-template name="common.html.attributes"/>
1280 <xsl:call-template name="id.attribute"/>
1281 <xsl:apply-templates mode="bibliomixed.mode"/>
1285 <xsl:template match="d:releaseinfo" mode="bibliomixed.mode">
1287 <xsl:call-template name="common.html.attributes"/>
1288 <xsl:call-template name="id.attribute"/>
1289 <xsl:apply-templates mode="bibliomixed.mode"/>
1293 <xsl:template match="d:revhistory" mode="bibliomixed.mode">
1294 <!-- suppressed; how could this be represented? -->
1297 <xsl:template match="d:seriesvolnums" mode="bibliomixed.mode">
1299 <xsl:call-template name="common.html.attributes"/>
1300 <xsl:call-template name="id.attribute"/>
1301 <xsl:apply-templates mode="bibliomixed.mode"/>
1305 <xsl:template match="d:subtitle" mode="bibliomixed.mode">
1307 <xsl:call-template name="common.html.attributes"/>
1308 <xsl:call-template name="id.attribute"/>
1309 <xsl:apply-templates mode="bibliomixed.mode"/>
1313 <xsl:template match="d:surname" mode="bibliomixed.mode">
1315 <xsl:call-template name="common.html.attributes"/>
1316 <xsl:call-template name="id.attribute"/>
1317 <xsl:apply-templates mode="bibliomixed.mode"/>
1321 <xsl:template match="d:title" mode="bibliomixed.mode">
1323 <xsl:call-template name="common.html.attributes"/>
1324 <xsl:call-template name="id.attribute"/>
1325 <xsl:apply-templates mode="bibliomixed.mode"/>
1329 <xsl:template match="d:titleabbrev" mode="bibliomixed.mode">
1331 <xsl:call-template name="common.html.attributes"/>
1332 <xsl:call-template name="id.attribute"/>
1333 <xsl:apply-templates mode="bibliomixed.mode"/>
1337 <xsl:template match="d:volumenum" mode="bibliomixed.mode">
1339 <xsl:call-template name="common.html.attributes"/>
1340 <xsl:call-template name="id.attribute"/>
1341 <xsl:apply-templates mode="bibliomixed.mode"/>
1345 <xsl:template match="d:bibliocoverage|d:biblioid|d:bibliorelation|d:bibliosource" mode="bibliomixed.mode">
1347 <xsl:call-template name="common.html.attributes"/>
1348 <xsl:call-template name="id.attribute"/>
1349 <xsl:apply-templates mode="bibliomixed.mode"/>
1353 <!-- See FR #1934434 and http://doi.org -->
1354 <xsl:template match="d:biblioid[@class='doi']" mode="bibliomixed.mode">
1356 <xsl:call-template name="common.html.attributes"/>
1357 <xsl:call-template name="id.attribute"/>
1358 <a href="{concat('http://dx.doi.org/', .)}">doi:<xsl:value-of select="."/></a>
1362 <!-- ==================================================================== -->