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