1 <?xml version="1.0" encoding="ASCII"?>
2 <!--This file was created automatically by html2xhtml-->
3 <!--from the HTML stylesheets.-->
4 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
6 <!-- ********************************************************************
7 $Id: biblio.xsl 8421 2009-05-04 07:49:49Z bobstayton $
8 ********************************************************************
10 This file is part of the XSL DocBook Stylesheet distribution.
11 See ../README or http://docbook.sf.net/release/xsl/current/ for
12 copyright and other information.
14 ******************************************************************** -->
16 <!-- ==================================================================== -->
18 <xsl:template match="bibliography">
19 <xsl:call-template name="id.warning"/>
22 <xsl:call-template name="common.html.attributes">
23 <xsl:with-param name="inherit" select="1"/>
25 <xsl:if test="$generate.id.attributes != 0">
26 <xsl:attribute name="id">
27 <xsl:call-template name="object.id"/>
31 <xsl:call-template name="bibliography.titlepage"/>
33 <xsl:apply-templates/>
35 <xsl:if test="not(parent::article)">
36 <xsl:call-template name="process.footnotes"/>
41 <xsl:template match="bibliography/bibliographyinfo"/>
42 <xsl:template match="bibliography/info"/>
43 <xsl:template match="bibliography/title"/>
44 <xsl:template match="bibliography/subtitle"/>
45 <xsl:template match="bibliography/titleabbrev"/>
47 <!-- ==================================================================== -->
49 <xsl:template match="bibliodiv">
50 <xsl:call-template name="id.warning"/>
53 <xsl:call-template name="common.html.attributes">
54 <xsl:with-param name="inherit" select="0"/>
56 <xsl:apply-templates/>
60 <xsl:template match="bibliodiv/title">
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"/>
67 <xsl:apply-templates/>
71 <!-- ==================================================================== -->
73 <xsl:template match="bibliolist">
75 <xsl:call-template name="common.html.attributes">
76 <xsl:with-param name="inherit" select="0"/>
78 <xsl:call-template name="anchor"/>
79 <xsl:if test="blockinfo/title|info/title|title">
80 <xsl:call-template name="formal.object.heading"/>
82 <xsl:apply-templates select="*[not(self::blockinfo) and not(self::info) and not(self::title) and not(self::titleabbrev) and not(self::biblioentry) and not(self::bibliomixed)]"/>
83 <xsl:apply-templates select="biblioentry|bibliomixed"/>
87 <!-- ==================================================================== -->
89 <xsl:template match="biblioentry">
90 <xsl:param name="label">
91 <xsl:call-template name="biblioentry.label"/>
94 <xsl:variable name="id">
95 <xsl:call-template name="object.id"/>
99 <xsl:when test="string(.) = ''">
100 <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
101 <xsl:variable name="entry" select="$bib/bibliography// *[@id=$id or @xml:id=$id][1]"/>
103 <xsl:when test="$entry">
105 <xsl:when test="$bibliography.numbered != 0">
106 <xsl:apply-templates select="$entry">
107 <xsl:with-param name="label" select="$label"/>
108 </xsl:apply-templates>
111 <xsl:apply-templates select="$entry"/>
117 <xsl:text>No bibliography entry: </xsl:text>
118 <xsl:value-of select="$id"/>
119 <xsl:text> found in </xsl:text>
120 <xsl:value-of select="$bibliography.collection"/>
123 <xsl:call-template name="common.html.attributes"/>
124 <xsl:call-template name="anchor"/>
126 <xsl:copy-of select="$label"/>
127 <xsl:text>Error: no bibliography entry: </xsl:text>
128 <xsl:value-of select="$id"/>
129 <xsl:text> found in </xsl:text>
130 <xsl:value-of select="$bibliography.collection"/>
138 <xsl:call-template name="common.html.attributes"/>
139 <xsl:call-template name="anchor">
140 <xsl:with-param name="conditional" select="0"/>
143 <xsl:copy-of select="$label"/>
145 <xsl:when test="$bibliography.style = 'iso690'">
146 <xsl:call-template name="iso690.makecitation"/>
149 <xsl:apply-templates mode="bibliography.mode"/>
158 <xsl:template match="bibliomixed">
159 <xsl:param name="label">
160 <xsl:call-template name="biblioentry.label"/>
163 <xsl:variable name="id">
164 <xsl:call-template name="object.id"/>
168 <xsl:when test="string(.) = ''">
169 <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
170 <xsl:variable name="entry" select="$bib/bibliography// *[@id=$id or @xml:id=$id][1]"/>
172 <xsl:when test="$entry">
174 <xsl:when test="$bibliography.numbered != 0">
175 <xsl:apply-templates select="$entry">
176 <xsl:with-param name="label" select="$label"/>
177 </xsl:apply-templates>
180 <xsl:apply-templates select="$entry"/>
186 <xsl:text>No bibliography entry: </xsl:text>
187 <xsl:value-of select="$id"/>
188 <xsl:text> found in </xsl:text>
189 <xsl:value-of select="$bibliography.collection"/>
192 <xsl:call-template name="common.html.attributes"/>
193 <xsl:call-template name="anchor"/>
195 <xsl:copy-of select="$label"/>
196 <xsl:text>Error: no bibliography entry: </xsl:text>
197 <xsl:value-of select="$id"/>
198 <xsl:text> found in </xsl:text>
199 <xsl:value-of select="$bibliography.collection"/>
207 <xsl:call-template name="common.html.attributes"/>
208 <xsl:call-template name="anchor">
209 <xsl:with-param name="conditional" select="0"/>
212 <xsl:call-template name="common.html.attributes"/>
213 <xsl:copy-of select="$label"/>
214 <xsl:apply-templates mode="bibliomixed.mode"/>
221 <xsl:template name="biblioentry.label">
222 <xsl:param name="node" select="."/>
225 <xsl:when test="$bibliography.numbered != 0">
226 <xsl:text>[</xsl:text>
227 <xsl:number from="bibliography" count="biblioentry|bibliomixed" level="any" format="1"/>
228 <xsl:text>] </xsl:text>
230 <xsl:when test="local-name($node/child::*[1]) = 'abbrev'">
231 <xsl:text>[</xsl:text>
232 <xsl:apply-templates select="$node/abbrev[1]"/>
233 <xsl:text>] </xsl:text>
235 <xsl:when test="$node/@xreflabel">
236 <xsl:text>[</xsl:text>
237 <xsl:value-of select="$node/@xreflabel"/>
238 <xsl:text>] </xsl:text>
240 <xsl:when test="$node/@id">
241 <xsl:text>[</xsl:text>
242 <xsl:value-of select="$node/@id"/>
243 <xsl:text>] </xsl:text>
245 <xsl:when test="$node/@xml:id">
246 <xsl:text>[</xsl:text>
247 <xsl:value-of select="$node/@xml:id"/>
248 <xsl:text>] </xsl:text>
250 <xsl:otherwise><!-- nop --></xsl:otherwise>
254 <!-- ==================================================================== -->
256 <xsl:template match="*" mode="bibliography.mode">
257 <xsl:apply-templates select="."/><!-- try the default mode -->
260 <xsl:template match="abbrev" mode="bibliography.mode">
261 <xsl:if test="preceding-sibling::*">
262 <xsl:apply-templates mode="bibliography.mode"/>
266 <xsl:template match="abstract" mode="bibliography.mode">
270 <xsl:template match="address" mode="bibliography.mode">
272 <xsl:call-template name="common.html.attributes"/>
273 <xsl:apply-templates mode="bibliography.mode"/>
274 <xsl:copy-of select="$biblioentry.item.separator"/>
278 <xsl:template match="affiliation" mode="bibliography.mode">
280 <xsl:call-template name="common.html.attributes"/>
281 <xsl:apply-templates mode="bibliography.mode"/>
282 <xsl:copy-of select="$biblioentry.item.separator"/>
286 <xsl:template match="shortaffil" mode="bibliography.mode">
288 <xsl:call-template name="common.html.attributes"/>
289 <xsl:apply-templates mode="bibliography.mode"/>
290 <xsl:copy-of select="$biblioentry.item.separator"/>
294 <xsl:template match="jobtitle" mode="bibliography.mode">
296 <xsl:call-template name="common.html.attributes"/>
297 <xsl:apply-templates mode="bibliography.mode"/>
298 <xsl:copy-of select="$biblioentry.item.separator"/>
302 <xsl:template match="artheader|articleinfo|info" mode="bibliography.mode">
304 <xsl:call-template name="common.html.attributes"/>
305 <xsl:apply-templates mode="bibliography.mode"/>
306 <xsl:copy-of select="$biblioentry.item.separator"/>
310 <xsl:template match="artpagenums" mode="bibliography.mode">
312 <xsl:call-template name="common.html.attributes"/>
313 <xsl:apply-templates mode="bibliography.mode"/>
314 <xsl:copy-of select="$biblioentry.item.separator"/>
318 <xsl:template match="author" mode="bibliography.mode">
320 <xsl:call-template name="common.html.attributes"/>
321 <xsl:call-template name="person.name"/>
322 <xsl:copy-of select="$biblioentry.item.separator"/>
326 <xsl:template match="authorblurb|personblurb" mode="bibliography.mode">
330 <xsl:template match="authorgroup" mode="bibliography.mode">
332 <xsl:call-template name="common.html.attributes"/>
333 <xsl:call-template name="person.name.list"/>
334 <xsl:copy-of select="$biblioentry.item.separator"/>
338 <xsl:template match="authorinitials" mode="bibliography.mode">
340 <xsl:call-template name="common.html.attributes"/>
341 <xsl:apply-templates mode="bibliography.mode"/>
342 <xsl:copy-of select="$biblioentry.item.separator"/>
346 <xsl:template match="bibliomisc" mode="bibliography.mode">
348 <xsl:call-template name="common.html.attributes"/>
349 <xsl:apply-templates mode="bibliography.mode"/>
350 <xsl:copy-of select="$biblioentry.item.separator"/>
354 <xsl:template match="bibliomset" mode="bibliography.mode">
356 <xsl:call-template name="common.html.attributes"/>
357 <xsl:apply-templates mode="bibliography.mode"/>
358 <xsl:copy-of select="$biblioentry.item.separator"/>
362 <!-- ================================================== -->
364 <xsl:template match="biblioset" mode="bibliography.mode">
366 <xsl:call-template name="common.html.attributes"/>
367 <xsl:apply-templates mode="bibliography.mode"/>
371 <xsl:template match="biblioset/title|biblioset/citetitle" mode="bibliography.mode">
372 <xsl:variable name="relation" select="../@relation"/>
374 <xsl:when test="$relation='article' or @pubwork='article'">
375 <xsl:call-template name="gentext.startquote"/>
376 <xsl:apply-templates/>
377 <xsl:call-template name="gentext.endquote"/>
380 <em xmlns:xslo="http://www.w3.org/1999/XSL/Transform"><xsl:apply-templates/></em>
383 <xsl:copy-of select="$biblioentry.item.separator"/>
386 <!-- ================================================== -->
388 <xsl:template match="bookbiblio" mode="bibliography.mode">
390 <xsl:call-template name="common.html.attributes"/>
391 <xsl:apply-templates mode="bibliography.mode"/>
392 <xsl:copy-of select="$biblioentry.item.separator"/>
396 <xsl:template match="citetitle" mode="bibliography.mode">
398 <xsl:call-template name="common.html.attributes"/>
400 <xsl:when test="@pubwork = 'article'">
401 <xsl:call-template name="gentext.startquote"/>
402 <xsl:call-template name="inline.charseq"/>
403 <xsl:call-template name="gentext.endquote"/>
406 <xsl:call-template name="inline.italicseq"/>
409 <xsl:copy-of select="$biblioentry.item.separator"/>
413 <xsl:template match="collab" mode="bibliography.mode">
415 <xsl:call-template name="common.html.attributes"/>
416 <xsl:apply-templates mode="bibliography.mode"/>
417 <xsl:copy-of select="$biblioentry.item.separator"/>
421 <xsl:template match="collabname" mode="bibliography.mode">
423 <xsl:call-template name="common.html.attributes"/>
424 <xsl:apply-templates mode="bibliography.mode"/>
425 <xsl:copy-of select="$biblioentry.item.separator"/>
429 <xsl:template match="confgroup" mode="bibliography.mode">
431 <xsl:call-template name="common.html.attributes"/>
432 <xsl:apply-templates mode="bibliography.mode"/>
433 <xsl:copy-of select="$biblioentry.item.separator"/>
437 <xsl:template match="confdates" mode="bibliography.mode">
439 <xsl:call-template name="common.html.attributes"/>
440 <xsl:apply-templates mode="bibliography.mode"/>
441 <xsl:copy-of select="$biblioentry.item.separator"/>
445 <xsl:template match="conftitle" mode="bibliography.mode">
447 <xsl:call-template name="common.html.attributes"/>
448 <xsl:apply-templates mode="bibliography.mode"/>
449 <xsl:copy-of select="$biblioentry.item.separator"/>
453 <xsl:template match="confnum" mode="bibliography.mode">
455 <xsl:call-template name="common.html.attributes"/>
456 <xsl:apply-templates mode="bibliography.mode"/>
457 <xsl:copy-of select="$biblioentry.item.separator"/>
461 <xsl:template match="confsponsor" mode="bibliography.mode">
463 <xsl:call-template name="common.html.attributes"/>
464 <xsl:apply-templates mode="bibliography.mode"/>
465 <xsl:copy-of select="$biblioentry.item.separator"/>
469 <xsl:template match="contractnum" mode="bibliography.mode">
471 <xsl:call-template name="common.html.attributes"/>
472 <xsl:apply-templates mode="bibliography.mode"/>
473 <xsl:copy-of select="$biblioentry.item.separator"/>
477 <xsl:template match="contractsponsor" mode="bibliography.mode">
479 <xsl:call-template name="common.html.attributes"/>
480 <xsl:apply-templates mode="bibliography.mode"/>
481 <xsl:copy-of select="$biblioentry.item.separator"/>
485 <xsl:template match="contrib" mode="bibliography.mode">
487 <xsl:call-template name="common.html.attributes"/>
488 <xsl:apply-templates mode="bibliography.mode"/>
489 <xsl:copy-of select="$biblioentry.item.separator"/>
493 <!-- ================================================== -->
495 <xsl:template match="copyright" mode="bibliography.mode">
497 <xsl:call-template name="common.html.attributes"/>
498 <xsl:call-template name="gentext">
499 <xsl:with-param name="key" select="'Copyright'"/>
501 <xsl:call-template name="gentext.space"/>
502 <xsl:call-template name="dingbat">
503 <xsl:with-param name="dingbat">copyright</xsl:with-param>
505 <xsl:call-template name="gentext.space"/>
506 <xsl:apply-templates select="year" mode="bibliography.mode"/>
507 <xsl:if test="holder">
508 <xsl:call-template name="gentext.space"/>
509 <xsl:apply-templates select="holder" mode="bibliography.mode"/>
511 <xsl:copy-of select="$biblioentry.item.separator"/>
515 <xsl:template match="year" mode="bibliography.mode">
516 <xsl:apply-templates/><xsl:text>, </xsl:text>
519 <xsl:template match="year[position()=last()]" mode="bibliography.mode">
520 <xsl:apply-templates/>
523 <xsl:template match="holder" mode="bibliography.mode">
524 <xsl:apply-templates/>
527 <!-- ================================================== -->
529 <xsl:template match="corpauthor" mode="bibliography.mode">
531 <xsl:call-template name="common.html.attributes"/>
532 <xsl:apply-templates mode="bibliography.mode"/>
533 <xsl:copy-of select="$biblioentry.item.separator"/>
537 <xsl:template match="corpcredit" mode="bibliography.mode">
539 <xsl:call-template name="common.html.attributes"/>
540 <xsl:apply-templates mode="bibliography.mode"/>
541 <xsl:copy-of select="$biblioentry.item.separator"/>
545 <xsl:template match="corpname" mode="bibliography.mode">
547 <xsl:call-template name="common.html.attributes"/>
548 <xsl:apply-templates mode="bibliography.mode"/>
549 <xsl:copy-of select="$biblioentry.item.separator"/>
553 <xsl:template match="date" mode="bibliography.mode">
555 <xsl:call-template name="common.html.attributes"/>
556 <xsl:apply-templates mode="bibliography.mode"/>
557 <xsl:copy-of select="$biblioentry.item.separator"/>
561 <xsl:template match="edition" mode="bibliography.mode">
563 <xsl:call-template name="common.html.attributes"/>
564 <xsl:apply-templates mode="bibliography.mode"/>
565 <xsl:copy-of select="$biblioentry.item.separator"/>
569 <xsl:template match="editor" mode="bibliography.mode">
571 <xsl:call-template name="common.html.attributes"/>
572 <xsl:call-template name="person.name"/>
573 <xsl:copy-of select="$biblioentry.item.separator"/>
577 <xsl:template match="firstname" mode="bibliography.mode">
579 <xsl:call-template name="common.html.attributes"/>
580 <xsl:apply-templates mode="bibliography.mode"/>
581 <xsl:copy-of select="$biblioentry.item.separator"/>
585 <xsl:template match="honorific" mode="bibliography.mode">
587 <xsl:call-template name="common.html.attributes"/>
588 <xsl:apply-templates mode="bibliography.mode"/>
589 <xsl:copy-of select="$biblioentry.item.separator"/>
593 <xsl:template match="indexterm" mode="bibliography.mode">
595 <xsl:call-template name="common.html.attributes"/>
596 <xsl:apply-templates mode="bibliography.mode"/>
597 <xsl:copy-of select="$biblioentry.item.separator"/>
601 <xsl:template match="invpartnumber" mode="bibliography.mode">
603 <xsl:call-template name="common.html.attributes"/>
604 <xsl:apply-templates mode="bibliography.mode"/>
605 <xsl:copy-of select="$biblioentry.item.separator"/>
609 <xsl:template match="isbn" mode="bibliography.mode">
611 <xsl:call-template name="common.html.attributes"/>
612 <xsl:apply-templates mode="bibliography.mode"/>
613 <xsl:copy-of select="$biblioentry.item.separator"/>
617 <xsl:template match="issn" mode="bibliography.mode">
619 <xsl:call-template name="common.html.attributes"/>
620 <xsl:apply-templates mode="bibliography.mode"/>
621 <xsl:copy-of select="$biblioentry.item.separator"/>
625 <xsl:template match="issuenum" mode="bibliography.mode">
627 <xsl:call-template name="common.html.attributes"/>
628 <xsl:apply-templates mode="bibliography.mode"/>
629 <xsl:copy-of select="$biblioentry.item.separator"/>
633 <xsl:template match="lineage" mode="bibliography.mode">
635 <xsl:call-template name="common.html.attributes"/>
636 <xsl:apply-templates mode="bibliography.mode"/>
637 <xsl:copy-of select="$biblioentry.item.separator"/>
641 <xsl:template match="orgname" mode="bibliography.mode">
643 <xsl:call-template name="common.html.attributes"/>
644 <xsl:apply-templates mode="bibliography.mode"/>
645 <xsl:copy-of select="$biblioentry.item.separator"/>
649 <xsl:template match="orgdiv" mode="bibliography.mode">
651 <xsl:call-template name="common.html.attributes"/>
652 <xsl:apply-templates mode="bibliography.mode"/>
653 <xsl:copy-of select="$biblioentry.item.separator"/>
657 <xsl:template match="othercredit" mode="bibliography.mode">
659 <xsl:call-template name="common.html.attributes"/>
660 <xsl:apply-templates mode="bibliography.mode"/>
661 <xsl:copy-of select="$biblioentry.item.separator"/>
665 <xsl:template match="othername" mode="bibliography.mode">
667 <xsl:call-template name="common.html.attributes"/>
668 <xsl:apply-templates mode="bibliography.mode"/>
669 <xsl:copy-of select="$biblioentry.item.separator"/>
673 <xsl:template match="pagenums" mode="bibliography.mode">
675 <xsl:call-template name="common.html.attributes"/>
676 <xsl:apply-templates mode="bibliography.mode"/>
677 <xsl:copy-of select="$biblioentry.item.separator"/>
681 <xsl:template match="printhistory" mode="bibliography.mode">
685 <xsl:template match="productname" mode="bibliography.mode">
687 <xsl:call-template name="common.html.attributes"/>
688 <xsl:apply-templates mode="bibliography.mode"/>
689 <xsl:copy-of select="$biblioentry.item.separator"/>
693 <xsl:template match="productnumber" mode="bibliography.mode">
695 <xsl:call-template name="common.html.attributes"/>
696 <xsl:apply-templates mode="bibliography.mode"/>
697 <xsl:copy-of select="$biblioentry.item.separator"/>
701 <xsl:template match="pubdate" mode="bibliography.mode">
703 <xsl:call-template name="common.html.attributes"/>
704 <xsl:apply-templates mode="bibliography.mode"/>
705 <xsl:copy-of select="$biblioentry.item.separator"/>
709 <xsl:template match="publisher" mode="bibliography.mode">
711 <xsl:call-template name="common.html.attributes"/>
712 <xsl:apply-templates mode="bibliography.mode"/>
716 <xsl:template match="publishername" mode="bibliography.mode">
718 <xsl:call-template name="common.html.attributes"/>
719 <xsl:apply-templates mode="bibliography.mode"/>
720 <xsl:copy-of select="$biblioentry.item.separator"/>
724 <xsl:template match="pubsnumber" mode="bibliography.mode">
726 <xsl:call-template name="common.html.attributes"/>
727 <xsl:apply-templates mode="bibliography.mode"/>
728 <xsl:copy-of select="$biblioentry.item.separator"/>
732 <xsl:template match="releaseinfo" mode="bibliography.mode">
734 <xsl:call-template name="common.html.attributes"/>
735 <xsl:apply-templates mode="bibliography.mode"/>
736 <xsl:copy-of select="$biblioentry.item.separator"/>
740 <xsl:template match="revhistory" mode="bibliography.mode">
741 <!-- suppressed; how could this be represented? -->
744 <xsl:template match="seriesinfo" mode="bibliography.mode">
746 <xsl:call-template name="common.html.attributes"/>
747 <xsl:apply-templates mode="bibliography.mode"/>
751 <xsl:template match="seriesvolnums" mode="bibliography.mode">
753 <xsl:call-template name="common.html.attributes"/>
754 <xsl:apply-templates mode="bibliography.mode"/>
755 <xsl:copy-of select="$biblioentry.item.separator"/>
759 <xsl:template match="subtitle" mode="bibliography.mode">
761 <xsl:call-template name="common.html.attributes"/>
762 <xsl:apply-templates mode="bibliography.mode"/>
763 <xsl:copy-of select="$biblioentry.item.separator"/>
767 <xsl:template match="surname" mode="bibliography.mode">
769 <xsl:call-template name="common.html.attributes"/>
770 <xsl:apply-templates mode="bibliography.mode"/>
771 <xsl:copy-of select="$biblioentry.item.separator"/>
775 <xsl:template match="title" mode="bibliography.mode">
777 <xsl:call-template name="common.html.attributes"/>
778 <em xmlns:xslo="http://www.w3.org/1999/XSL/Transform"><xsl:apply-templates mode="bibliography.mode"/></em>
779 <xsl:copy-of select="$biblioentry.item.separator"/>
783 <xsl:template match="titleabbrev" mode="bibliography.mode">
785 <xsl:call-template name="common.html.attributes"/>
786 <xsl:apply-templates mode="bibliography.mode"/>
787 <xsl:copy-of select="$biblioentry.item.separator"/>
791 <xsl:template match="volumenum" mode="bibliography.mode">
793 <xsl:call-template name="common.html.attributes"/>
794 <xsl:apply-templates mode="bibliography.mode"/>
795 <xsl:copy-of select="$biblioentry.item.separator"/>
799 <xsl:template match="bibliocoverage|biblioid|bibliorelation|bibliosource" mode="bibliography.mode">
801 <xsl:call-template name="common.html.attributes"/>
802 <xsl:apply-templates mode="bibliography.mode"/>
803 <xsl:copy-of select="$biblioentry.item.separator"/>
807 <!-- See FR #1934434 and http://doi.org -->
808 <xsl:template match="biblioid[@class='doi']" mode="bibliography.mode">
810 <xsl:call-template name="common.html.attributes"/>
811 <a href="{concat('http://dx.doi.org/', .)}">doi:<xsl:value-of select="."/></a>
815 <!-- ==================================================================== -->
817 <xsl:template match="*" mode="bibliomixed.mode">
818 <xsl:apply-templates select="."/><!-- try the default mode -->
821 <xsl:template match="abbrev" mode="bibliomixed.mode">
822 <xsl:if test="preceding-sibling::*">
823 <xsl:apply-templates mode="bibliomixed.mode"/>
827 <xsl:template match="abstract" mode="bibliomixed.mode">
829 <xsl:call-template name="common.html.attributes"/>
830 <xsl:apply-templates mode="bibliomixed.mode"/>
834 <xsl:template match="address" mode="bibliomixed.mode">
836 <xsl:call-template name="common.html.attributes"/>
837 <xsl:apply-templates mode="bibliomixed.mode"/>
841 <xsl:template match="affiliation" mode="bibliomixed.mode">
843 <xsl:call-template name="common.html.attributes"/>
844 <xsl:apply-templates mode="bibliomixed.mode"/>
848 <xsl:template match="shortaffil" mode="bibliomixed.mode">
850 <xsl:call-template name="common.html.attributes"/>
851 <xsl:apply-templates mode="bibliomixed.mode"/>
855 <xsl:template match="jobtitle" mode="bibliomixed.mode">
857 <xsl:call-template name="common.html.attributes"/>
858 <xsl:apply-templates mode="bibliomixed.mode"/>
862 <xsl:template match="artpagenums" mode="bibliomixed.mode">
864 <xsl:call-template name="common.html.attributes"/>
865 <xsl:apply-templates mode="bibliomixed.mode"/>
869 <xsl:template match="author" mode="bibliomixed.mode">
871 <xsl:call-template name="common.html.attributes"/>
872 <xsl:apply-templates mode="bibliomixed.mode"/>
876 <xsl:template match="authorblurb|personblurb" mode="bibliomixed.mode">
878 <xsl:call-template name="common.html.attributes"/>
879 <xsl:apply-templates mode="bibliomixed.mode"/>
883 <xsl:template match="authorgroup" mode="bibliomixed.mode">
885 <xsl:call-template name="common.html.attributes"/>
886 <xsl:apply-templates mode="bibliomixed.mode"/>
890 <xsl:template match="authorinitials" mode="bibliomixed.mode">
892 <xsl:call-template name="common.html.attributes"/>
893 <xsl:apply-templates mode="bibliomixed.mode"/>
897 <xsl:template match="bibliomisc" mode="bibliomixed.mode">
899 <xsl:call-template name="common.html.attributes"/>
900 <xsl:apply-templates mode="bibliomixed.mode"/>
904 <!-- ================================================== -->
906 <xsl:template match="bibliomset" mode="bibliomixed.mode">
908 <xsl:call-template name="common.html.attributes"/>
909 <xsl:apply-templates mode="bibliomixed.mode"/>
913 <xsl:template match="bibliomset/title|bibliomset/citetitle" mode="bibliomixed.mode">
914 <xsl:variable name="relation" select="../@relation"/>
916 <xsl:when test="$relation='article' or @pubwork='article'">
917 <xsl:call-template name="gentext.startquote"/>
918 <xsl:apply-templates/>
919 <xsl:call-template name="gentext.endquote"/>
922 <em xmlns:xslo="http://www.w3.org/1999/XSL/Transform"><xsl:apply-templates/></em>
927 <!-- ================================================== -->
929 <xsl:template match="biblioset" mode="bibliomixed.mode">
931 <xsl:call-template name="common.html.attributes"/>
932 <xsl:apply-templates mode="bibliomixed.mode"/>
936 <xsl:template match="citetitle" mode="bibliomixed.mode">
938 <xsl:call-template name="common.html.attributes"/>
940 <xsl:when test="@pubwork = 'article'">
941 <xsl:call-template name="gentext.startquote"/>
942 <xsl:call-template name="inline.charseq"/>
943 <xsl:call-template name="gentext.endquote"/>
946 <xsl:call-template name="inline.italicseq"/>
953 <xsl:template match="collab" mode="bibliomixed.mode">
955 <xsl:call-template name="common.html.attributes"/>
956 <xsl:apply-templates mode="bibliomixed.mode"/>
960 <xsl:template match="confgroup" mode="bibliomixed.mode">
962 <xsl:call-template name="common.html.attributes"/>
963 <xsl:apply-templates mode="bibliomixed.mode"/>
967 <xsl:template match="contractnum" mode="bibliomixed.mode">
969 <xsl:call-template name="common.html.attributes"/>
970 <xsl:apply-templates mode="bibliomixed.mode"/>
974 <xsl:template match="contractsponsor" mode="bibliomixed.mode">
976 <xsl:call-template name="common.html.attributes"/>
977 <xsl:apply-templates mode="bibliomixed.mode"/>
981 <xsl:template match="contrib" mode="bibliomixed.mode">
983 <xsl:call-template name="common.html.attributes"/>
984 <xsl:apply-templates mode="bibliomixed.mode"/>
988 <xsl:template match="copyright" mode="bibliomixed.mode">
990 <xsl:call-template name="common.html.attributes"/>
991 <xsl:apply-templates mode="bibliomixed.mode"/>
995 <xsl:template match="corpauthor" mode="bibliomixed.mode">
997 <xsl:call-template name="common.html.attributes"/>
998 <xsl:apply-templates mode="bibliomixed.mode"/>
1002 <xsl:template match="corpcredit" mode="bibliomixed.mode">
1004 <xsl:call-template name="common.html.attributes"/>
1005 <xsl:apply-templates mode="bibliomixed.mode"/>
1009 <xsl:template match="corpname" mode="bibliomixed.mode">
1011 <xsl:call-template name="common.html.attributes"/>
1012 <xsl:apply-templates mode="bibliomixed.mode"/>
1016 <xsl:template match="date" mode="bibliomixed.mode">
1018 <xsl:call-template name="common.html.attributes"/>
1019 <xsl:apply-templates mode="bibliomixed.mode"/>
1023 <xsl:template match="edition" mode="bibliomixed.mode">
1025 <xsl:call-template name="common.html.attributes"/>
1026 <xsl:apply-templates mode="bibliomixed.mode"/>
1030 <xsl:template match="editor" mode="bibliomixed.mode">
1032 <xsl:call-template name="common.html.attributes"/>
1033 <xsl:apply-templates mode="bibliomixed.mode"/>
1037 <xsl:template match="firstname" mode="bibliomixed.mode">
1039 <xsl:call-template name="common.html.attributes"/>
1040 <xsl:apply-templates mode="bibliomixed.mode"/>
1044 <xsl:template match="honorific" mode="bibliomixed.mode">
1046 <xsl:call-template name="common.html.attributes"/>
1047 <xsl:apply-templates mode="bibliomixed.mode"/>
1051 <xsl:template match="indexterm" mode="bibliomixed.mode">
1053 <xsl:call-template name="common.html.attributes"/>
1054 <xsl:apply-templates mode="bibliomixed.mode"/>
1058 <xsl:template match="invpartnumber" mode="bibliomixed.mode">
1060 <xsl:call-template name="common.html.attributes"/>
1061 <xsl:apply-templates mode="bibliomixed.mode"/>
1065 <xsl:template match="isbn" mode="bibliomixed.mode">
1067 <xsl:call-template name="common.html.attributes"/>
1068 <xsl:apply-templates mode="bibliomixed.mode"/>
1072 <xsl:template match="issn" mode="bibliomixed.mode">
1074 <xsl:call-template name="common.html.attributes"/>
1075 <xsl:apply-templates mode="bibliomixed.mode"/>
1079 <xsl:template match="issuenum" mode="bibliomixed.mode">
1081 <xsl:call-template name="common.html.attributes"/>
1082 <xsl:apply-templates mode="bibliomixed.mode"/>
1086 <xsl:template match="lineage" mode="bibliomixed.mode">
1088 <xsl:call-template name="common.html.attributes"/>
1089 <xsl:apply-templates mode="bibliomixed.mode"/>
1093 <xsl:template match="orgname" mode="bibliomixed.mode">
1095 <xsl:call-template name="common.html.attributes"/>
1096 <xsl:apply-templates mode="bibliomixed.mode"/>
1100 <xsl:template match="othercredit" mode="bibliomixed.mode">
1102 <xsl:call-template name="common.html.attributes"/>
1103 <xsl:apply-templates mode="bibliomixed.mode"/>
1107 <xsl:template match="othername" mode="bibliomixed.mode">
1109 <xsl:call-template name="common.html.attributes"/>
1110 <xsl:apply-templates mode="bibliomixed.mode"/>
1114 <xsl:template match="pagenums" mode="bibliomixed.mode">
1116 <xsl:call-template name="common.html.attributes"/>
1117 <xsl:apply-templates mode="bibliomixed.mode"/>
1121 <xsl:template match="printhistory" mode="bibliomixed.mode">
1123 <xsl:call-template name="common.html.attributes"/>
1124 <xsl:apply-templates mode="bibliomixed.mode"/>
1128 <xsl:template match="productname" mode="bibliomixed.mode">
1130 <xsl:call-template name="common.html.attributes"/>
1131 <xsl:apply-templates mode="bibliomixed.mode"/>
1135 <xsl:template match="productnumber" mode="bibliomixed.mode">
1137 <xsl:call-template name="common.html.attributes"/>
1138 <xsl:apply-templates mode="bibliomixed.mode"/>
1142 <xsl:template match="pubdate" mode="bibliomixed.mode">
1144 <xsl:call-template name="common.html.attributes"/>
1145 <xsl:apply-templates mode="bibliomixed.mode"/>
1149 <xsl:template match="publisher" mode="bibliomixed.mode">
1151 <xsl:call-template name="common.html.attributes"/>
1152 <xsl:apply-templates mode="bibliomixed.mode"/>
1156 <xsl:template match="publishername" mode="bibliomixed.mode">
1158 <xsl:call-template name="common.html.attributes"/>
1159 <xsl:apply-templates mode="bibliomixed.mode"/>
1163 <xsl:template match="pubsnumber" mode="bibliomixed.mode">
1165 <xsl:call-template name="common.html.attributes"/>
1166 <xsl:apply-templates mode="bibliomixed.mode"/>
1170 <xsl:template match="releaseinfo" mode="bibliomixed.mode">
1172 <xsl:call-template name="common.html.attributes"/>
1173 <xsl:apply-templates mode="bibliomixed.mode"/>
1177 <xsl:template match="revhistory" mode="bibliomixed.mode">
1178 <!-- suppressed; how could this be represented? -->
1181 <xsl:template match="seriesvolnums" mode="bibliomixed.mode">
1183 <xsl:call-template name="common.html.attributes"/>
1184 <xsl:apply-templates mode="bibliomixed.mode"/>
1188 <xsl:template match="subtitle" mode="bibliomixed.mode">
1190 <xsl:call-template name="common.html.attributes"/>
1191 <xsl:apply-templates mode="bibliomixed.mode"/>
1195 <xsl:template match="surname" mode="bibliomixed.mode">
1197 <xsl:call-template name="common.html.attributes"/>
1198 <xsl:apply-templates mode="bibliomixed.mode"/>
1202 <xsl:template match="title" mode="bibliomixed.mode">
1204 <xsl:call-template name="common.html.attributes"/>
1205 <xsl:apply-templates mode="bibliomixed.mode"/>
1209 <xsl:template match="titleabbrev" mode="bibliomixed.mode">
1211 <xsl:call-template name="common.html.attributes"/>
1212 <xsl:apply-templates mode="bibliomixed.mode"/>
1216 <xsl:template match="volumenum" mode="bibliomixed.mode">
1218 <xsl:call-template name="common.html.attributes"/>
1219 <xsl:apply-templates mode="bibliomixed.mode"/>
1223 <xsl:template match="bibliocoverage|biblioid|bibliorelation|bibliosource" mode="bibliomixed.mode">
1225 <xsl:call-template name="common.html.attributes"/>
1226 <xsl:apply-templates mode="bibliomixed.mode"/>
1230 <!-- See FR #1934434 and http://doi.org -->
1231 <xsl:template match="biblioid[@class='doi']" mode="bibliomixed.mode">
1233 <xsl:call-template name="common.html.attributes"/>
1234 <a href="{concat('http://dx.doi.org/', .)}">doi:<xsl:value-of select="."/></a>
1238 <!-- ==================================================================== -->