1 <?xml version="1.0" encoding="UTF-8"?>
3 This file has been automatically generated from a Koha index definition file
4 with the stylesheet koha-indexdefs-to-zebra.xsl. Do not manually edit this file,
5 as it may be overwritten. To regenerate, edit the appropriate Koha index
6 definition file (probably something like {biblio,authority}-koha-indexdefs.xml) and run:
7 `xsltproc koha-indexdefs-to-zebra.xsl {biblio,authority}-koha-indexdefs.xml >
8 {biblio,authority}-zebra-indexdefs.xsl` (substituting the appropriate file names).
10 <xslo:stylesheet xmlns:xslo="http://www.w3.org/1999/XSL/Transform" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:z="http://indexdata.com/zebra-2.0" xmlns:kohaidx="http://www.koha-community.org/schemas/index-defs" version="1.0">
11 <xslo:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/>
12 <xslo:template match="text()"/>
13 <xslo:template match="text()" mode="index_subfields"/>
14 <xslo:template match="text()" mode="index_data_field"/>
15 <xslo:template match="text()" mode="index_heading"/>
16 <xslo:template match="text()" mode="index_heading_conditional"/>
17 <xslo:template match="text()" mode="index_match_heading"/>
18 <xslo:template match="text()" mode="index_subject_thesaurus"/>
19 <xslo:template match="/">
20 <xslo:if test="marc:collection">
22 <xslo:apply-templates select="marc:collection/marc:record"/>
25 <xslo:if test="marc:record">
26 <xslo:apply-templates select="marc:record"/>
29 <xslo:template match="marc:record">
30 <xslo:variable name="idfield" select="normalize-space(marc:controlfield[@tag='001'])"/>
31 <z:record type="update">
32 <xslo:attribute name="z:id">
33 <xslo:value-of select="$idfield"/>
35 <xslo:apply-templates/>
36 <xslo:apply-templates mode="index_subfields"/>
37 <xslo:apply-templates mode="index_data_field"/>
38 <xslo:apply-templates mode="index_heading"/>
39 <xslo:apply-templates mode="index_heading_conditional"/>
40 <xslo:apply-templates mode="index_match_heading"/>
41 <xslo:apply-templates mode="index_subject_thesaurus"/>
42 <xslo:apply-templates mode="index_all"/>
45 <xslo:template match="marc:controlfield[@tag='001']">
46 <z:index name="Local-number:w">
47 <xslo:value-of select="."/>
49 <z:index name="Local-number:n">
50 <xslo:value-of select="."/>
53 <xslo:template match="marc:controlfield[@tag='009']">
54 <z:index name="Identifier-standard:w">
55 <xslo:value-of select="."/>
57 <z:index name="Identifier-standard:n">
58 <xslo:value-of select="."/>
61 <xslo:template mode="index_subfields" match="marc:datafield[@tag='090']">
62 <xslo:for-each select="marc:subfield">
63 <xslo:if test="contains('9', @code)">
64 <z:index name="Local-number:w Local-number:n">
65 <xslo:value-of select="."/>
70 <xslo:template mode="index_subfields" match="marc:datafield[@tag='099']">
71 <xslo:for-each select="marc:subfield">
72 <xslo:if test="contains('c', @code)">
73 <z:index name="date-entered-on-file:s date-entered-on-file:n date-entered-on-file:y Date-of-acquisition:w Date-of-acquisition:d Date-of-acquisition:s">
74 <xslo:value-of select="."/>
78 <xslo:for-each select="marc:subfield">
79 <xslo:if test="contains('d', @code)">
80 <z:index name="Date/time-last-modified:s Date/time-last-modified:n Date/time-last-modified:y">
81 <xslo:value-of select="."/>
85 <xslo:for-each select="marc:subfield">
86 <xslo:if test="contains('t', @code)">
87 <z:index name="ccode:w">
88 <xslo:value-of select="."/>
93 <xslo:template mode="index_subfields" match="marc:datafield[@tag='010']">
94 <xslo:for-each select="marc:subfield">
95 <xslo:if test="contains('a', @code)">
96 <z:index name="ISBN:w">
97 <xslo:value-of select="."/>
101 <xslo:for-each select="marc:subfield">
102 <xslo:if test="contains('z', @code)">
103 <z:index name="ISBN:w Identifier-standard:w">
104 <xslo:value-of select="."/>
109 <xslo:template mode="index_subfields" match="marc:datafield[@tag='011']">
110 <xslo:for-each select="marc:subfield">
111 <xslo:if test="contains('a', @code)">
112 <z:index name="ISSN:w Identifier-standard:w">
113 <xslo:value-of select="."/>
117 <xslo:for-each select="marc:subfield">
118 <xslo:if test="contains('y', @code)">
119 <z:index name="ISSN:w Identifier-standard:w">
120 <xslo:value-of select="."/>
124 <xslo:for-each select="marc:subfield">
125 <xslo:if test="contains('z', @code)">
126 <z:index name="ISSN:w Identifier-standard:w">
127 <xslo:value-of select="."/>
131 <xslo:for-each select="marc:subfield">
132 <xslo:if test="contains('f', @code)">
133 <z:index name="Identifier-standard:w">
134 <xslo:value-of select="."/>
138 <xslo:for-each select="marc:subfield">
139 <xslo:if test="contains('g', @code)">
140 <z:index name="Identifier-standard:w">
141 <xslo:value-of select="."/>
146 <xslo:template mode="index_subfields" match="marc:datafield[@tag='012']">
147 <xslo:for-each select="marc:subfield">
148 <xslo:if test="contains('a', @code)">
149 <z:index name="Identifier-standard:w">
150 <xslo:value-of select="."/>
155 <xslo:template mode="index_subfields" match="marc:datafield[@tag='013']">
156 <xslo:for-each select="marc:subfield">
157 <xslo:if test="contains('a', @code)">
158 <z:index name="Identifier-standard:w">
159 <xslo:value-of select="."/>
163 <xslo:for-each select="marc:subfield">
164 <xslo:if test="contains('z', @code)">
165 <z:index name="Identifier-standard:w">
166 <xslo:value-of select="."/>
171 <xslo:template mode="index_subfields" match="marc:datafield[@tag='014']">
172 <xslo:for-each select="marc:subfield">
173 <xslo:if test="contains('a', @code)">
174 <z:index name="Identifier-standard:w">
175 <xslo:value-of select="."/>
179 <xslo:for-each select="marc:subfield">
180 <xslo:if test="contains('z', @code)">
181 <z:index name="Identifier-standard:w">
182 <xslo:value-of select="."/>
187 <xslo:template mode="index_subfields" match="marc:datafield[@tag='015']">
188 <xslo:for-each select="marc:subfield">
189 <xslo:if test="contains('a', @code)">
190 <z:index name="Identifier-standard:w">
191 <xslo:value-of select="."/>
195 <xslo:for-each select="marc:subfield">
196 <xslo:if test="contains('z', @code)">
197 <z:index name="Identifier-standard:w">
198 <xslo:value-of select="."/>
203 <xslo:template mode="index_subfields" match="marc:datafield[@tag='016']">
204 <xslo:for-each select="marc:subfield">
205 <xslo:if test="contains('a', @code)">
206 <z:index name="Identifier-standard:w">
207 <xslo:value-of select="."/>
211 <xslo:for-each select="marc:subfield">
212 <xslo:if test="contains('z', @code)">
213 <z:index name="Identifier-standard:w">
214 <xslo:value-of select="."/>
219 <xslo:template mode="index_subfields" match="marc:datafield[@tag='017']">
220 <xslo:for-each select="marc:subfield">
221 <xslo:if test="contains('a', @code)">
222 <z:index name="Identifier-standard:w">
223 <xslo:value-of select="."/>
227 <xslo:for-each select="marc:subfield">
228 <xslo:if test="contains('z', @code)">
229 <z:index name="Identifier-standard:w">
230 <xslo:value-of select="."/>
235 <xslo:template mode="index_subfields" match="marc:datafield[@tag='040']">
236 <xslo:for-each select="marc:subfield">
237 <xslo:if test="contains('a', @code)">
238 <z:index name="Identifier-standard:w">
239 <xslo:value-of select="."/>
243 <xslo:for-each select="marc:subfield">
244 <xslo:if test="contains('z', @code)">
245 <z:index name="Identifier-standard:w">
246 <xslo:value-of select="."/>
251 <xslo:template mode="index_subfields" match="marc:datafield[@tag='071']">
252 <xslo:for-each select="marc:subfield">
253 <xslo:if test="contains('a', @code)">
254 <z:index name="Identifier-publisher-for-music:w Identifier-standard:w">
255 <xslo:value-of select="."/>
259 <xslo:for-each select="marc:subfield">
260 <xslo:if test="contains('z', @code)">
261 <z:index name="Identifier-publisher-for-music:w Identifier-standard:w">
262 <xslo:value-of select="."/>
266 <xslo:for-each select="marc:subfield">
267 <xslo:if test="contains('b', @code)">
268 <z:index name="Publisher:w Publisher:p">
269 <xslo:value-of select="."/>
274 <xslo:template mode="index_subfields" match="marc:datafield[@tag='072']">
275 <xslo:for-each select="marc:subfield">
276 <xslo:if test="contains('a', @code)">
277 <z:index name="UPC:w Identifier-standard:w">
278 <xslo:value-of select="."/>
282 <xslo:for-each select="marc:subfield">
283 <xslo:if test="contains('z', @code)">
284 <z:index name="UPC:w Identifier-standard:w">
285 <xslo:value-of select="."/>
290 <xslo:template mode="index_subfields" match="marc:datafield[@tag='073']">
291 <xslo:for-each select="marc:subfield">
292 <xslo:if test="contains('a', @code)">
293 <z:index name="EAN:w Identifier-standard:w">
294 <xslo:value-of select="."/>
298 <xslo:for-each select="marc:subfield">
299 <xslo:if test="contains('z', @code)">
300 <z:index name="EAN:w Identifier-standard:w">
301 <xslo:value-of select="."/>
306 <xslo:template mode="index_subfields" match="marc:datafield[@tag='200']">
307 <xslo:for-each select="marc:subfield">
308 <xslo:if test="contains('b', @code)">
309 <z:index name="itemtype:w itemtype:p itype:w itype:p Material-type:w Material-type:p">
310 <xslo:value-of select="."/>
314 <xslo:for-each select="marc:subfield">
315 <xslo:if test="contains('f', @code)">
316 <z:index name="Author:w Author:p">
317 <xslo:value-of select="."/>
321 <xslo:for-each select="marc:subfield">
322 <xslo:if test="contains('g', @code)">
323 <z:index name="Author:w Author:p">
324 <xslo:value-of select="."/>
328 <xslo:for-each select="marc:subfield">
329 <xslo:if test="contains('a', @code)">
330 <z:index name="Title:w Title:p Title:s Title-cover:w Title-cover:p Title-cover:s">
331 <xslo:value-of select="."/>
335 <xslo:for-each select="marc:subfield">
336 <xslo:if test="contains('c', @code)">
337 <z:index name="Title:w Title:p">
338 <xslo:value-of select="."/>
342 <xslo:for-each select="marc:subfield">
343 <xslo:if test="contains('d', @code)">
344 <z:index name="Title:w Title:p">
345 <xslo:value-of select="."/>
349 <xslo:for-each select="marc:subfield">
350 <xslo:if test="contains('e', @code)">
351 <z:index name="Title:w Title:p Title-cover:w Title-cover:p">
352 <xslo:value-of select="."/>
356 <xslo:for-each select="marc:subfield">
357 <xslo:if test="contains('i', @code)">
358 <z:index name="Title:w Title:p Title-cover:w Title-cover:p">
359 <xslo:value-of select="."/>
364 <xslo:template mode="index_subfields" match="marc:datafield[@tag='995']">
365 <xslo:for-each select="marc:subfield">
366 <xslo:if test="contains('r', @code)">
367 <z:index name="itemtype:w itemtype:p itype:w itype:p">
368 <xslo:value-of select="."/>
372 <xslo:for-each select="marc:subfield">
373 <xslo:if test="contains('2', @code)">
374 <z:index name="lost:w lost:n item:w">
375 <xslo:value-of select="."/>
379 <xslo:for-each select="marc:subfield">
380 <xslo:if test="contains('a', @code)">
381 <z:index name="homebranch:w Host-item:w item:w">
382 <xslo:value-of select="."/>
386 <xslo:for-each select="marc:subfield">
387 <xslo:if test="contains('b', @code)">
388 <z:index name="homebranch:w Host-item:w item:w">
389 <xslo:value-of select="."/>
393 <xslo:for-each select="marc:subfield">
394 <xslo:if test="contains('c', @code)">
395 <z:index name="holdingbranch:w Record-Source:w item:w">
396 <xslo:value-of select="."/>
400 <xslo:for-each select="marc:subfield">
401 <xslo:if test="contains('d', @code)">
402 <z:index name="holdingbranch:w Record-Source:w item:w">
403 <xslo:value-of select="."/>
407 <xslo:for-each select="marc:subfield">
408 <xslo:if test="contains('e', @code)">
409 <z:index name="location:w item:w">
410 <xslo:value-of select="."/>
414 <xslo:for-each select="marc:subfield">
415 <xslo:if test="contains('f', @code)">
416 <z:index name="barcode:w item:w">
417 <xslo:value-of select="."/>
421 <xslo:for-each select="marc:subfield">
422 <xslo:if test="contains('h', @code)">
423 <z:index name="ccode:w item:w">
424 <xslo:value-of select="."/>
428 <xslo:for-each select="marc:subfield">
429 <xslo:if test="contains('j', @code)">
430 <z:index name="LC-card-number:s item:w">
431 <xslo:value-of select="."/>
435 <xslo:for-each select="marc:subfield">
436 <xslo:if test="contains('k', @code)">
437 <z:index name="Call-Number:w Local-classification:w lcn:w Call-Number:p Local-classification:p lcn:p item:w Local-classification:s">
438 <xslo:value-of select="."/>
442 <xslo:for-each select="marc:subfield">
443 <xslo:if test="contains('n', @code)">
444 <z:index name="onloan:d onloan:n onloan:s onloan:w item:w">
445 <xslo:value-of select="."/>
449 <xslo:for-each select="marc:subfield">
450 <xslo:if test="contains('u', @code)">
451 <z:index name="Note:w Note:p item:w">
452 <xslo:value-of select="."/>
457 <xslo:template mode="index_subfields" match="marc:datafield[@tag='100']">
458 <xslo:for-each select="marc:subfield">
459 <xslo:if test="contains('a', @code)">
460 <z:index name="tpubdate:s">
461 <xslo:value-of select="substring(., 9, 1)"/>
465 <xslo:for-each select="marc:subfield">
466 <xslo:if test="contains('a', @code)">
467 <z:index name="ta:w">
468 <xslo:value-of select="substring(., 18, 1)"/>
472 <xslo:for-each select="marc:subfield">
473 <xslo:if test="contains('a', @code)">
474 <z:index name="ta:w">
475 <xslo:value-of select="substring(., 19, 1)"/>
479 <xslo:for-each select="marc:subfield">
480 <xslo:if test="contains('a', @code)">
481 <z:index name="ta:w">
482 <xslo:value-of select="substring(., 20, 1)"/>
486 <xslo:for-each select="marc:subfield">
487 <xslo:if test="contains('a', @code)">
488 <z:index name="Modified-code:n">
489 <xslo:value-of select="substring(., 22, 1)"/>
493 <xslo:for-each select="marc:subfield">
494 <xslo:if test="contains('a', @code)">
495 <z:index name="char-encoding:n">
496 <xslo:value-of select="substring(., 27, 2)"/>
500 <xslo:for-each select="marc:subfield">
501 <xslo:if test="contains('a', @code)">
502 <z:index name="char-encoding:n">
503 <xslo:value-of select="substring(., 29, 2)"/>
507 <xslo:for-each select="marc:subfield">
508 <xslo:if test="contains('a', @code)">
509 <z:index name="char-encoding:n">
510 <xslo:value-of select="substring(., 31, 2)"/>
514 <xslo:for-each select="marc:subfield">
515 <xslo:if test="contains('a', @code)">
516 <z:index name="script-Title:n">
517 <xslo:value-of select="substring(., 35, 2)"/>
522 <xslo:template mode="index_subfields" match="marc:datafield[@tag='101']">
523 <xslo:for-each select="marc:subfield">
524 <xslo:if test="contains('a', @code)">
525 <z:index name="ln:w">
526 <xslo:value-of select="."/>
531 <xslo:template mode="index_subfields" match="marc:datafield[@tag='102']">
532 <xslo:for-each select="marc:subfield">
533 <xslo:if test="contains('a', @code)">
534 <z:index name="Country-publication:w">
535 <xslo:value-of select="."/>
540 <xslo:template mode="index_subfields" match="marc:datafield[@tag='105']">
541 <xslo:for-each select="marc:subfield">
542 <xslo:if test="contains('a', @code)">
543 <z:index name="ff8-18-21:w">
544 <xslo:value-of select="substring(., 1, 1)"/>
548 <xslo:for-each select="marc:subfield">
549 <xslo:if test="contains('a', @code)">
550 <z:index name="ff8-18-21:w">
551 <xslo:value-of select="substring(., 2, 1)"/>
555 <xslo:for-each select="marc:subfield">
556 <xslo:if test="contains('a', @code)">
557 <z:index name="ff8-18-21:w">
558 <xslo:value-of select="substring(., 3, 1)"/>
562 <xslo:for-each select="marc:subfield">
563 <xslo:if test="contains('a', @code)">
564 <z:index name="ff8-18-21:w">
565 <xslo:value-of select="substring(., 4, 1)"/>
569 <xslo:for-each select="marc:subfield">
570 <xslo:if test="contains('a', @code)">
571 <z:index name="ctype:w">
572 <xslo:value-of select="substring(., 5, 1)"/>
576 <xslo:for-each select="marc:subfield">
577 <xslo:if test="contains('a', @code)">
578 <z:index name="ctype:w">
579 <xslo:value-of select="substring(., 6, 1)"/>
583 <xslo:for-each select="marc:subfield">
584 <xslo:if test="contains('a', @code)">
585 <z:index name="ctype:w">
586 <xslo:value-of select="substring(., 7, 1)"/>
590 <xslo:for-each select="marc:subfield">
591 <xslo:if test="contains('a', @code)">
592 <z:index name="ctype:w">
593 <xslo:value-of select="substring(., 8, 1)"/>
597 <xslo:for-each select="marc:subfield">
598 <xslo:if test="contains('a', @code)">
599 <z:index name="ff8-29:w">
600 <xslo:value-of select="substring(., 9, 1)"/>
604 <xslo:for-each select="marc:subfield">
605 <xslo:if test="contains('a', @code)">
606 <z:index name="ff8-30:w">
607 <xslo:value-of select="substring(., 10, 1)"/>
611 <xslo:for-each select="marc:subfield">
612 <xslo:if test="contains('a', @code)">
613 <z:index name="ff8-31:w">
614 <xslo:value-of select="substring(., 11, 1)"/>
618 <xslo:for-each select="marc:subfield">
619 <xslo:if test="contains('a', @code)">
620 <z:index name="lf:w">
621 <xslo:value-of select="substring(., 12, 1)"/>
625 <xslo:for-each select="marc:subfield">
626 <xslo:if test="contains('a', @code)">
627 <z:index name="bio:w">
628 <xslo:value-of select="substring(., 13, 1)"/>
633 <xslo:template mode="index_subfields" match="marc:datafield[@tag='106']">
634 <xslo:for-each select="marc:subfield">
635 <xslo:if test="contains('a', @code)">
636 <z:index name="ff8-23:w ff8-23:p">
637 <xslo:value-of select="."/>
642 <xslo:template mode="index_subfields" match="marc:datafield[@tag='110']">
643 <xslo:for-each select="marc:subfield">
644 <xslo:if test="contains('a', @code)">
645 <z:index name="ff8-21:w">
646 <xslo:value-of select="substring(., 1, 1)"/>
650 <xslo:for-each select="marc:subfield">
651 <xslo:if test="contains('a', @code)">
652 <z:index name="ff8-18:w">
653 <xslo:value-of select="substring(., 2, 1)"/>
657 <xslo:for-each select="marc:subfield">
658 <xslo:if test="contains('a', @code)">
659 <z:index name="ff8-19:w">
660 <xslo:value-of select="substring(., 3, 1)"/>
664 <xslo:for-each select="marc:subfield">
665 <xslo:if test="contains('a', @code)">
666 <z:index name="ctype:w">
667 <xslo:value-of select="substring(., 4, 1)"/>
671 <xslo:for-each select="marc:subfield">
672 <xslo:if test="contains('a', @code)">
673 <z:index name="ctype:w">
674 <xslo:value-of select="substring(., 5, 1)"/>
678 <xslo:for-each select="marc:subfield">
679 <xslo:if test="contains('a', @code)">
680 <z:index name="ff8-29:w">
681 <xslo:value-of select="substring(., 8, 1)"/>
685 <xslo:for-each select="marc:subfield">
686 <xslo:if test="contains('a', @code)">
687 <z:index name="Title-page-availability:w">
688 <xslo:value-of select="substring(., 9, 1)"/>
692 <xslo:for-each select="marc:subfield">
693 <xslo:if test="contains('a', @code)">
694 <z:index name="ff8-31:w">
695 <xslo:value-of select="substring(., 10, 1)"/>
699 <xslo:for-each select="marc:subfield">
700 <xslo:if test="contains('a', @code)">
701 <z:index name="Cumulative-index-availability:w">
702 <xslo:value-of select="substring(., 11, 1)"/>
707 <xslo:template mode="index_subfields" match="marc:datafield[@tag='115']">
708 <xslo:for-each select="marc:subfield">
709 <xslo:if test="contains('a', @code)">
710 <z:index name="Video-mt:w">
711 <xslo:value-of select="substring(., 1, 1)"/>
716 <xslo:template mode="index_subfields" match="marc:datafield[@tag='116']">
717 <xslo:for-each select="marc:subfield">
718 <xslo:if test="contains('a', @code)">
719 <z:index name="Graphics-type:w">
720 <xslo:value-of select="substring(., 1, 1)"/>
724 <xslo:for-each select="marc:subfield">
725 <xslo:if test="contains('a', @code)">
726 <z:index name="Graphics-support:w">
727 <xslo:value-of select="substring(., 2, 1)"/>
731 <xslo:for-each select="marc:subfield">
732 <xslo:if test="contains('a', @code)">
733 <z:index name="Graphics-support:w">
734 <xslo:value-of select="substring(., 3, 1)"/>
739 <xslo:template mode="index_subfields" match="marc:datafield[@tag='700']">
740 <xslo:for-each select="marc:subfield">
741 <xslo:if test="contains('9', @code)">
742 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
743 <xslo:value-of select="."/>
747 <xslo:for-each select="marc:subfield">
748 <xslo:if test="contains('a', @code)">
749 <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:w Author:s">
750 <xslo:value-of select="."/>
755 <xslo:template mode="index_subfields" match="marc:datafield[@tag='701']">
756 <xslo:for-each select="marc:subfield">
757 <xslo:if test="contains('9', @code)">
758 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
759 <xslo:value-of select="."/>
764 <xslo:template mode="index_subfields" match="marc:datafield[@tag='702']">
765 <xslo:for-each select="marc:subfield">
766 <xslo:if test="contains('9', @code)">
767 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
768 <xslo:value-of select="."/>
773 <xslo:template mode="index_subfields" match="marc:datafield[@tag='710']">
774 <xslo:for-each select="marc:subfield">
775 <xslo:if test="contains('9', @code)">
776 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
777 <xslo:value-of select="."/>
782 <xslo:template mode="index_subfields" match="marc:datafield[@tag='711']">
783 <xslo:for-each select="marc:subfield">
784 <xslo:if test="contains('9', @code)">
785 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
786 <xslo:value-of select="."/>
791 <xslo:template mode="index_subfields" match="marc:datafield[@tag='712']">
792 <xslo:for-each select="marc:subfield">
793 <xslo:if test="contains('9', @code)">
794 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
795 <xslo:value-of select="."/>
800 <xslo:template mode="index_subfields" match="marc:datafield[@tag='716']">
801 <xslo:for-each select="marc:subfield">
802 <xslo:if test="contains('9', @code)">
803 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
804 <xslo:value-of select="."/>
809 <xslo:template mode="index_subfields" match="marc:datafield[@tag='720']">
810 <xslo:for-each select="marc:subfield">
811 <xslo:if test="contains('9', @code)">
812 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
813 <xslo:value-of select="."/>
818 <xslo:template mode="index_subfields" match="marc:datafield[@tag='721']">
819 <xslo:for-each select="marc:subfield">
820 <xslo:if test="contains('9', @code)">
821 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
822 <xslo:value-of select="."/>
827 <xslo:template mode="index_subfields" match="marc:datafield[@tag='722']">
828 <xslo:for-each select="marc:subfield">
829 <xslo:if test="contains('9', @code)">
830 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
831 <xslo:value-of select="."/>
836 <xslo:template mode="index_subfields" match="marc:datafield[@tag='730']">
837 <xslo:for-each select="marc:subfield">
838 <xslo:if test="contains('9', @code)">
839 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
840 <xslo:value-of select="."/>
845 <xslo:template mode="index_subfields" match="marc:datafield[@tag='230']">
846 <xslo:for-each select="marc:subfield">
847 <xslo:if test="contains('a', @code)">
848 <z:index name="Electronic-ressource:w">
849 <xslo:value-of select="."/>
854 <xslo:template mode="index_subfields" match="marc:datafield[@tag='210']">
855 <xslo:for-each select="marc:subfield">
856 <xslo:if test="contains('a', @code)">
857 <z:index name="pl:w pl:p">
858 <xslo:value-of select="."/>
862 <xslo:for-each select="marc:subfield">
863 <xslo:if test="contains('c', @code)">
864 <z:index name="Publisher:w Publisher:p">
865 <xslo:value-of select="."/>
869 <xslo:for-each select="marc:subfield">
870 <xslo:if test="contains('d', @code)">
871 <z:index name="pubdate:n pubdate:y pubdate:s">
872 <xslo:value-of select="."/>
877 <xslo:template mode="index_subfields" match="marc:datafield[@tag='225']">
878 <xslo:for-each select="marc:subfield">
879 <xslo:if test="contains('a', @code)">
880 <z:index name="Title-series:w Title-series:p">
881 <xslo:value-of select="."/>
885 <xslo:for-each select="marc:subfield">
886 <xslo:if test="contains('d', @code)">
887 <z:index name="Title-series:w Title-series:p">
888 <xslo:value-of select="."/>
892 <xslo:for-each select="marc:subfield">
893 <xslo:if test="contains('e', @code)">
894 <z:index name="Title-series:w Title-series:p">
895 <xslo:value-of select="."/>
899 <xslo:for-each select="marc:subfield">
900 <xslo:if test="contains('f', @code)">
901 <z:index name="Author:w Author:p Name-and-title:w Name-and-title:p">
902 <xslo:value-of select="."/>
906 <xslo:for-each select="marc:subfield">
907 <xslo:if test="contains('h', @code)">
908 <z:index name="Title-series:w Title-series:p">
909 <xslo:value-of select="."/>
913 <xslo:for-each select="marc:subfield">
914 <xslo:if test="contains('i', @code)">
915 <z:index name="Title-series:w Title-series:p">
916 <xslo:value-of select="."/>
920 <xslo:for-each select="marc:subfield">
921 <xslo:if test="contains('v', @code)">
922 <z:index name="Title-series:w Title-series:p">
923 <xslo:value-of select="."/>
927 <xslo:for-each select="marc:subfield">
928 <xslo:if test="contains('x', @code)">
929 <z:index name="ISSN:w">
930 <xslo:value-of select="."/>
935 <xslo:template mode="index_subfields" match="marc:datafield[@tag='300']">
936 <xslo:for-each select="marc:subfield">
937 <xslo:if test="contains('a', @code)">
938 <z:index name="Note:w Note:p">
939 <xslo:value-of select="."/>
944 <xslo:template mode="index_subfields" match="marc:datafield[@tag='301']">
945 <xslo:for-each select="marc:subfield">
946 <xslo:if test="contains('a', @code)">
947 <z:index name="Note:w Note:p">
948 <xslo:value-of select="."/>
953 <xslo:template mode="index_subfields" match="marc:datafield[@tag='302']">
954 <xslo:for-each select="marc:subfield">
955 <xslo:if test="contains('a', @code)">
956 <z:index name="Note:w Note:p">
957 <xslo:value-of select="."/>
962 <xslo:template mode="index_subfields" match="marc:datafield[@tag='303']">
963 <xslo:for-each select="marc:subfield">
964 <xslo:if test="contains('a', @code)">
965 <z:index name="Note:w Note:p">
966 <xslo:value-of select="."/>
971 <xslo:template mode="index_subfields" match="marc:datafield[@tag='304']">
972 <xslo:for-each select="marc:subfield">
973 <xslo:if test="contains('a', @code)">
974 <z:index name="Note:w Note:p">
975 <xslo:value-of select="."/>
980 <xslo:template mode="index_subfields" match="marc:datafield[@tag='305']">
981 <xslo:for-each select="marc:subfield">
982 <xslo:if test="contains('a', @code)">
983 <z:index name="Note:w Note:p">
984 <xslo:value-of select="."/>
989 <xslo:template mode="index_subfields" match="marc:datafield[@tag='306']">
990 <xslo:for-each select="marc:subfield">
991 <xslo:if test="contains('a', @code)">
992 <z:index name="Note:w Note:p">
993 <xslo:value-of select="."/>
998 <xslo:template mode="index_subfields" match="marc:datafield[@tag='307']">
999 <xslo:for-each select="marc:subfield">
1000 <xslo:if test="contains('a', @code)">
1001 <z:index name="Note:w Note:p">
1002 <xslo:value-of select="."/>
1007 <xslo:template mode="index_subfields" match="marc:datafield[@tag='310']">
1008 <xslo:for-each select="marc:subfield">
1009 <xslo:if test="contains('a', @code)">
1010 <z:index name="Note:w Note:p">
1011 <xslo:value-of select="."/>
1016 <xslo:template mode="index_subfields" match="marc:datafield[@tag='311']">
1017 <xslo:for-each select="marc:subfield">
1018 <xslo:if test="contains('a', @code)">
1019 <z:index name="Note:w Note:p">
1020 <xslo:value-of select="."/>
1025 <xslo:template mode="index_subfields" match="marc:datafield[@tag='312']">
1026 <xslo:for-each select="marc:subfield">
1027 <xslo:if test="contains('a', @code)">
1028 <z:index name="Note:w Note:p">
1029 <xslo:value-of select="."/>
1034 <xslo:template mode="index_subfields" match="marc:datafield[@tag='313']">
1035 <xslo:for-each select="marc:subfield">
1036 <xslo:if test="contains('a', @code)">
1037 <z:index name="Note:w Note:p">
1038 <xslo:value-of select="."/>
1043 <xslo:template mode="index_subfields" match="marc:datafield[@tag='314']">
1044 <xslo:for-each select="marc:subfield">
1045 <xslo:if test="contains('a', @code)">
1046 <z:index name="Note:w Note:p">
1047 <xslo:value-of select="."/>
1052 <xslo:template mode="index_subfields" match="marc:datafield[@tag='315']">
1053 <xslo:for-each select="marc:subfield">
1054 <xslo:if test="contains('a', @code)">
1055 <z:index name="Note:w Note:p">
1056 <xslo:value-of select="."/>
1061 <xslo:template mode="index_subfields" match="marc:datafield[@tag='316']">
1062 <xslo:for-each select="marc:subfield">
1063 <xslo:if test="contains('a', @code)">
1064 <z:index name="Note:w Note:p">
1065 <xslo:value-of select="."/>
1070 <xslo:template mode="index_subfields" match="marc:datafield[@tag='317']">
1071 <xslo:for-each select="marc:subfield">
1072 <xslo:if test="contains('a', @code)">
1073 <z:index name="Note:w Note:p">
1074 <xslo:value-of select="."/>
1079 <xslo:template mode="index_subfields" match="marc:datafield[@tag='318']">
1080 <xslo:for-each select="marc:subfield">
1081 <xslo:if test="contains('a', @code)">
1082 <z:index name="Note:w Note:p">
1083 <xslo:value-of select="."/>
1088 <xslo:template mode="index_subfields" match="marc:datafield[@tag='320']">
1089 <xslo:for-each select="marc:subfield">
1090 <xslo:if test="contains('a', @code)">
1091 <z:index name="Note:w Note:p">
1092 <xslo:value-of select="."/>
1097 <xslo:template mode="index_subfields" match="marc:datafield[@tag='321']">
1098 <xslo:for-each select="marc:subfield">
1099 <xslo:if test="contains('a', @code)">
1100 <z:index name="Note:w Note:p">
1101 <xslo:value-of select="."/>
1106 <xslo:template mode="index_subfields" match="marc:datafield[@tag='322']">
1107 <xslo:for-each select="marc:subfield">
1108 <xslo:if test="contains('a', @code)">
1109 <z:index name="Note:w Note:p">
1110 <xslo:value-of select="."/>
1115 <xslo:template mode="index_subfields" match="marc:datafield[@tag='323']">
1116 <xslo:for-each select="marc:subfield">
1117 <xslo:if test="contains('a', @code)">
1118 <z:index name="Note:w Note:p">
1119 <xslo:value-of select="."/>
1124 <xslo:template mode="index_subfields" match="marc:datafield[@tag='324']">
1125 <xslo:for-each select="marc:subfield">
1126 <xslo:if test="contains('a', @code)">
1127 <z:index name="Note:w Note:p">
1128 <xslo:value-of select="."/>
1133 <xslo:template mode="index_subfields" match="marc:datafield[@tag='325']">
1134 <xslo:for-each select="marc:subfield">
1135 <xslo:if test="contains('a', @code)">
1136 <z:index name="Note:w Note:p">
1137 <xslo:value-of select="."/>
1142 <xslo:template mode="index_subfields" match="marc:datafield[@tag='326']">
1143 <xslo:for-each select="marc:subfield">
1144 <xslo:if test="contains('a', @code)">
1145 <z:index name="Note:w Note:p">
1146 <xslo:value-of select="."/>
1151 <xslo:template mode="index_subfields" match="marc:datafield[@tag='327']">
1152 <xslo:for-each select="marc:subfield">
1153 <xslo:if test="contains('a', @code)">
1154 <z:index name="Note:w Note:p">
1155 <xslo:value-of select="."/>
1160 <xslo:template mode="index_subfields" match="marc:datafield[@tag='330']">
1161 <xslo:for-each select="marc:subfield">
1162 <xslo:if test="contains('a', @code)">
1163 <z:index name="Abstract:w Note:w Abstract:p Note:p">
1164 <xslo:value-of select="."/>
1169 <xslo:template mode="index_subfields" match="marc:datafield[@tag='332']">
1170 <xslo:for-each select="marc:subfield">
1171 <xslo:if test="contains('a', @code)">
1172 <z:index name="Note:w Note:p">
1173 <xslo:value-of select="."/>
1178 <xslo:template mode="index_subfields" match="marc:datafield[@tag='333']">
1179 <xslo:for-each select="marc:subfield">
1180 <xslo:if test="contains('a', @code)">
1181 <z:index name="Note:w Note:p">
1182 <xslo:value-of select="."/>
1187 <xslo:template mode="index_subfields" match="marc:datafield[@tag='334']">
1188 <xslo:for-each select="marc:subfield">
1189 <xslo:if test="contains('a', @code)">
1190 <z:index name="Note:w Note:p">
1191 <xslo:value-of select="."/>
1196 <xslo:template mode="index_subfields" match="marc:datafield[@tag='336']">
1197 <xslo:for-each select="marc:subfield">
1198 <xslo:if test="contains('a', @code)">
1199 <z:index name="Note:w Note:p">
1200 <xslo:value-of select="."/>
1205 <xslo:template mode="index_subfields" match="marc:datafield[@tag='337']">
1206 <xslo:for-each select="marc:subfield">
1207 <xslo:if test="contains('a', @code)">
1208 <z:index name="Note:w Note:p">
1209 <xslo:value-of select="."/>
1214 <xslo:template mode="index_subfields" match="marc:datafield[@tag='345']">
1215 <xslo:for-each select="marc:subfield">
1216 <xslo:if test="contains('a', @code)">
1217 <z:index name="Note:w Note:p">
1218 <xslo:value-of select="."/>
1223 <xslo:template mode="index_subfields" match="marc:datafield[@tag='410']">
1224 <xslo:for-each select="marc:subfield">
1225 <xslo:if test="contains('t', @code)">
1226 <z:index name="Title-series:w Title-series:p">
1227 <xslo:value-of select="."/>
1231 <xslo:for-each select="marc:subfield">
1232 <xslo:if test="contains('d', @code)">
1233 <z:index name="pubdate:n">
1234 <xslo:value-of select="."/>
1239 <xslo:template mode="index_subfields" match="marc:datafield[@tag='411']">
1240 <xslo:for-each select="marc:subfield">
1241 <xslo:if test="contains('t', @code)">
1242 <z:index name="Title:w Title:p">
1243 <xslo:value-of select="."/>
1248 <xslo:template mode="index_subfields" match="marc:datafield[@tag='412']">
1249 <xslo:for-each select="marc:subfield">
1250 <xslo:if test="contains('t', @code)">
1251 <z:index name="Title:w Title:p">
1252 <xslo:value-of select="."/>
1256 <xslo:for-each select="marc:subfield">
1257 <xslo:if test="contains('d', @code)">
1258 <z:index name="pubdate:n">
1259 <xslo:value-of select="."/>
1264 <xslo:template mode="index_subfields" match="marc:datafield[@tag='413']">
1265 <xslo:for-each select="marc:subfield">
1266 <xslo:if test="contains('t', @code)">
1267 <z:index name="Title:w Title:p">
1268 <xslo:value-of select="."/>
1272 <xslo:for-each select="marc:subfield">
1273 <xslo:if test="contains('d', @code)">
1274 <z:index name="pubdate:n">
1275 <xslo:value-of select="."/>
1280 <xslo:template mode="index_subfields" match="marc:datafield[@tag='421']">
1281 <xslo:for-each select="marc:subfield">
1282 <xslo:if test="contains('t', @code)">
1283 <z:index name="Title:w Title:p">
1284 <xslo:value-of select="."/>
1289 <xslo:template mode="index_subfields" match="marc:datafield[@tag='422']">
1290 <xslo:for-each select="marc:subfield">
1291 <xslo:if test="contains('t', @code)">
1292 <z:index name="Title:w Title:p">
1293 <xslo:value-of select="."/>
1298 <xslo:template mode="index_subfields" match="marc:datafield[@tag='423']">
1299 <xslo:for-each select="marc:subfield">
1300 <xslo:if test="contains('t', @code)">
1301 <z:index name="Title:w Title:p">
1302 <xslo:value-of select="."/>
1307 <xslo:template mode="index_subfields" match="marc:datafield[@tag='424']">
1308 <xslo:for-each select="marc:subfield">
1309 <xslo:if test="contains('t', @code)">
1310 <z:index name="Title:w Title:p">
1311 <xslo:value-of select="."/>
1316 <xslo:template mode="index_subfields" match="marc:datafield[@tag='425']">
1317 <xslo:for-each select="marc:subfield">
1318 <xslo:if test="contains('t', @code)">
1319 <z:index name="Title:w Title:p">
1320 <xslo:value-of select="."/>
1325 <xslo:template mode="index_subfields" match="marc:datafield[@tag='430']">
1326 <xslo:for-each select="marc:subfield">
1327 <xslo:if test="contains('t', @code)">
1328 <z:index name="Title:w Title:p">
1329 <xslo:value-of select="."/>
1333 <xslo:for-each select="marc:subfield">
1334 <xslo:if test="contains('d', @code)">
1335 <z:index name="pubdate:n">
1336 <xslo:value-of select="."/>
1341 <xslo:template mode="index_subfields" match="marc:datafield[@tag='431']">
1342 <xslo:for-each select="marc:subfield">
1343 <xslo:if test="contains('t', @code)">
1344 <z:index name="Title:w Title:p">
1345 <xslo:value-of select="."/>
1349 <xslo:for-each select="marc:subfield">
1350 <xslo:if test="contains('d', @code)">
1351 <z:index name="pubdate:n">
1352 <xslo:value-of select="."/>
1357 <xslo:template mode="index_subfields" match="marc:datafield[@tag='432']">
1358 <xslo:for-each select="marc:subfield">
1359 <xslo:if test="contains('t', @code)">
1360 <z:index name="Title:w Title:p">
1361 <xslo:value-of select="."/>
1365 <xslo:for-each select="marc:subfield">
1366 <xslo:if test="contains('d', @code)">
1367 <z:index name="pubdate:n">
1368 <xslo:value-of select="."/>
1373 <xslo:template mode="index_subfields" match="marc:datafield[@tag='433']">
1374 <xslo:for-each select="marc:subfield">
1375 <xslo:if test="contains('t', @code)">
1376 <z:index name="Title:w Title:p">
1377 <xslo:value-of select="."/>
1382 <xslo:template mode="index_subfields" match="marc:datafield[@tag='434']">
1383 <xslo:for-each select="marc:subfield">
1384 <xslo:if test="contains('t', @code)">
1385 <z:index name="Title:w Title:p">
1386 <xslo:value-of select="."/>
1391 <xslo:template mode="index_subfields" match="marc:datafield[@tag='435']">
1392 <xslo:for-each select="marc:subfield">
1393 <xslo:if test="contains('t', @code)">
1394 <z:index name="Title:w Title:p">
1395 <xslo:value-of select="."/>
1400 <xslo:template mode="index_subfields" match="marc:datafield[@tag='436']">
1401 <xslo:for-each select="marc:subfield">
1402 <xslo:if test="contains('t', @code)">
1403 <z:index name="Title:w Title:p">
1404 <xslo:value-of select="."/>
1409 <xslo:template mode="index_subfields" match="marc:datafield[@tag='437']">
1410 <xslo:for-each select="marc:subfield">
1411 <xslo:if test="contains('t', @code)">
1412 <z:index name="Title:w Title:p">
1413 <xslo:value-of select="."/>
1418 <xslo:template mode="index_subfields" match="marc:datafield[@tag='440']">
1419 <xslo:for-each select="marc:subfield">
1420 <xslo:if test="contains('t', @code)">
1421 <z:index name="Title:w Title:p">
1422 <xslo:value-of select="."/>
1426 <xslo:for-each select="marc:subfield">
1427 <xslo:if test="contains('d', @code)">
1428 <z:index name="pubdate:n">
1429 <xslo:value-of select="."/>
1434 <xslo:template mode="index_subfields" match="marc:datafield[@tag='441']">
1435 <xslo:for-each select="marc:subfield">
1436 <xslo:if test="contains('t', @code)">
1437 <z:index name="Title:w Title:p">
1438 <xslo:value-of select="."/>
1442 <xslo:for-each select="marc:subfield">
1443 <xslo:if test="contains('d', @code)">
1444 <z:index name="pubdate:n">
1445 <xslo:value-of select="."/>
1450 <xslo:template mode="index_subfields" match="marc:datafield[@tag='442']">
1451 <xslo:for-each select="marc:subfield">
1452 <xslo:if test="contains('t', @code)">
1453 <z:index name="Title:w Title:p">
1454 <xslo:value-of select="."/>
1459 <xslo:template mode="index_subfields" match="marc:datafield[@tag='443']">
1460 <xslo:for-each select="marc:subfield">
1461 <xslo:if test="contains('t', @code)">
1462 <z:index name="Title:w Title:p">
1463 <xslo:value-of select="."/>
1468 <xslo:template mode="index_subfields" match="marc:datafield[@tag='444']">
1469 <xslo:for-each select="marc:subfield">
1470 <xslo:if test="contains('t', @code)">
1471 <z:index name="Title:w Title:p">
1472 <xslo:value-of select="."/>
1477 <xslo:template mode="index_subfields" match="marc:datafield[@tag='445']">
1478 <xslo:for-each select="marc:subfield">
1479 <xslo:if test="contains('t', @code)">
1480 <z:index name="Title:w Title:p">
1481 <xslo:value-of select="."/>
1485 <xslo:for-each select="marc:subfield">
1486 <xslo:if test="contains('d', @code)">
1487 <z:index name="pubdate:n">
1488 <xslo:value-of select="."/>
1493 <xslo:template mode="index_subfields" match="marc:datafield[@tag='446']">
1494 <xslo:for-each select="marc:subfield">
1495 <xslo:if test="contains('t', @code)">
1496 <z:index name="Title:w Title:p">
1497 <xslo:value-of select="."/>
1502 <xslo:template mode="index_subfields" match="marc:datafield[@tag='447']">
1503 <xslo:for-each select="marc:subfield">
1504 <xslo:if test="contains('t', @code)">
1505 <z:index name="Title:w Title:p">
1506 <xslo:value-of select="."/>
1511 <xslo:template mode="index_subfields" match="marc:datafield[@tag='448']">
1512 <xslo:for-each select="marc:subfield">
1513 <xslo:if test="contains('t', @code)">
1514 <z:index name="Title:w Title:p">
1515 <xslo:value-of select="."/>
1520 <xslo:template mode="index_subfields" match="marc:datafield[@tag='451']">
1521 <xslo:for-each select="marc:subfield">
1522 <xslo:if test="contains('t', @code)">
1523 <z:index name="Title:w Title:p">
1524 <xslo:value-of select="."/>
1529 <xslo:template mode="index_subfields" match="marc:datafield[@tag='452']">
1530 <xslo:for-each select="marc:subfield">
1531 <xslo:if test="contains('t', @code)">
1532 <z:index name="Title:w Title:p">
1533 <xslo:value-of select="."/>
1538 <xslo:template mode="index_subfields" match="marc:datafield[@tag='453']">
1539 <xslo:for-each select="marc:subfield">
1540 <xslo:if test="contains('t', @code)">
1541 <z:index name="Title:w Title:p">
1542 <xslo:value-of select="."/>
1547 <xslo:template mode="index_subfields" match="marc:datafield[@tag='454']">
1548 <xslo:for-each select="marc:subfield">
1549 <xslo:if test="contains('t', @code)">
1550 <z:index name="Title:w Title:p">
1551 <xslo:value-of select="."/>
1556 <xslo:template mode="index_subfields" match="marc:datafield[@tag='455']">
1557 <xslo:for-each select="marc:subfield">
1558 <xslo:if test="contains('t', @code)">
1559 <z:index name="Title:w Title:p">
1560 <xslo:value-of select="."/>
1565 <xslo:template mode="index_subfields" match="marc:datafield[@tag='456']">
1566 <xslo:for-each select="marc:subfield">
1567 <xslo:if test="contains('t', @code)">
1568 <z:index name="Title:w Title:p">
1569 <xslo:value-of select="."/>
1574 <xslo:template mode="index_subfields" match="marc:datafield[@tag='461']">
1575 <xslo:for-each select="marc:subfield">
1576 <xslo:if test="contains('t', @code)">
1577 <z:index name="Title:w Title-host:w title-host:p">
1578 <xslo:value-of select="."/>
1582 <xslo:for-each select="marc:subfield">
1583 <xslo:if test="contains('9', @code)">
1584 <z:index name="Host-Item-Number:w">
1585 <xslo:value-of select="."/>
1589 <xslo:for-each select="marc:subfield">
1590 <xslo:if test="contains('d', @code)">
1591 <z:index name="pubdate:n">
1592 <xslo:value-of select="."/>
1596 <xslo:for-each select="marc:subfield">
1597 <xslo:if test="contains('9', @code)">
1598 <z:index name="Host-Item-Number:w">
1599 <xslo:value-of select="."/>
1604 <xslo:template mode="index_subfields" match="marc:datafield[@tag='462']">
1605 <xslo:for-each select="marc:subfield">
1606 <xslo:if test="contains('t', @code)">
1607 <z:index name="Title:w Title:p">
1608 <xslo:value-of select="."/>
1613 <xslo:template mode="index_subfields" match="marc:datafield[@tag='463']">
1614 <xslo:for-each select="marc:subfield">
1615 <xslo:if test="contains('t', @code)">
1616 <z:index name="Title:w Title:p">
1617 <xslo:value-of select="."/>
1622 <xslo:template mode="index_subfields" match="marc:datafield[@tag='464']">
1623 <xslo:for-each select="marc:subfield">
1624 <xslo:if test="contains('t', @code)">
1625 <z:index name="Title:w Title-host:w title-host:p Title:p">
1626 <xslo:value-of select="."/>
1631 <xslo:template mode="index_subfields" match="marc:datafield[@tag='470']">
1632 <xslo:for-each select="marc:subfield">
1633 <xslo:if test="contains('t', @code)">
1634 <z:index name="Title:w Title:p">
1635 <xslo:value-of select="."/>
1640 <xslo:template mode="index_subfields" match="marc:datafield[@tag='481']">
1641 <xslo:for-each select="marc:subfield">
1642 <xslo:if test="contains('t', @code)">
1643 <z:index name="Title:w Title:p">
1644 <xslo:value-of select="."/>
1649 <xslo:template mode="index_subfields" match="marc:datafield[@tag='482']">
1650 <xslo:for-each select="marc:subfield">
1651 <xslo:if test="contains('t', @code)">
1652 <z:index name="Title:w Title:p">
1653 <xslo:value-of select="."/>
1658 <xslo:template mode="index_subfields" match="marc:datafield[@tag='488']">
1659 <xslo:for-each select="marc:subfield">
1660 <xslo:if test="contains('t', @code)">
1661 <z:index name="Title:w Title:p">
1662 <xslo:value-of select="."/>
1667 <xslo:template mode="index_subfields" match="marc:datafield[@tag='400']">
1668 <xslo:for-each select="marc:subfield">
1669 <xslo:if test="contains('t', @code)">
1670 <z:index name="Title:w Title:p">
1671 <xslo:value-of select="."/>
1675 <xslo:for-each select="marc:subfield">
1676 <xslo:if test="contains('d', @code)">
1677 <z:index name="pubdate:n">
1678 <xslo:value-of select="."/>
1683 <xslo:template mode="index_subfields" match="marc:datafield[@tag='401']">
1684 <xslo:for-each select="marc:subfield">
1685 <xslo:if test="contains('t', @code)">
1686 <z:index name="Title:w Title:p">
1687 <xslo:value-of select="."/>
1691 <xslo:for-each select="marc:subfield">
1692 <xslo:if test="contains('d', @code)">
1693 <z:index name="pubdate:n">
1694 <xslo:value-of select="."/>
1699 <xslo:template mode="index_subfields" match="marc:datafield[@tag='403']">
1700 <xslo:for-each select="marc:subfield">
1701 <xslo:if test="contains('t', @code)">
1702 <z:index name="Title:w Title:p Title-Uniform:w Title-Uniform:p">
1703 <xslo:value-of select="."/>
1707 <xslo:for-each select="marc:subfield">
1708 <xslo:if test="contains('d', @code)">
1709 <z:index name="pubdate:n">
1710 <xslo:value-of select="."/>
1715 <xslo:template mode="index_subfields" match="marc:datafield[@tag='414']">
1716 <xslo:for-each select="marc:subfield">
1717 <xslo:if test="contains('t', @code)">
1718 <z:index name="Title:w Title:p">
1719 <xslo:value-of select="."/>
1723 <xslo:for-each select="marc:subfield">
1724 <xslo:if test="contains('d', @code)">
1725 <z:index name="pubdate:n">
1726 <xslo:value-of select="."/>
1731 <xslo:template mode="index_subfields" match="marc:datafield[@tag='415']">
1732 <xslo:for-each select="marc:subfield">
1733 <xslo:if test="contains('t', @code)">
1734 <z:index name="Title:w Title:p">
1735 <xslo:value-of select="."/>
1739 <xslo:for-each select="marc:subfield">
1740 <xslo:if test="contains('d', @code)">
1741 <z:index name="pubdate:n">
1742 <xslo:value-of select="."/>
1747 <xslo:template mode="index_subfields" match="marc:datafield[@tag='416']">
1748 <xslo:for-each select="marc:subfield">
1749 <xslo:if test="contains('t', @code)">
1750 <z:index name="Title:w Title:p">
1751 <xslo:value-of select="."/>
1755 <xslo:for-each select="marc:subfield">
1756 <xslo:if test="contains('d', @code)">
1757 <z:index name="pubdate:n">
1758 <xslo:value-of select="."/>
1763 <xslo:template mode="index_subfields" match="marc:datafield[@tag='417']">
1764 <xslo:for-each select="marc:subfield">
1765 <xslo:if test="contains('t', @code)">
1766 <z:index name="Title:w Title:p">
1767 <xslo:value-of select="."/>
1771 <xslo:for-each select="marc:subfield">
1772 <xslo:if test="contains('d', @code)">
1773 <z:index name="pubdate:n">
1774 <xslo:value-of select="."/>
1779 <xslo:template mode="index_subfields" match="marc:datafield[@tag='418']">
1780 <xslo:for-each select="marc:subfield">
1781 <xslo:if test="contains('t', @code)">
1782 <z:index name="Title:w Title:p">
1783 <xslo:value-of select="."/>
1787 <xslo:for-each select="marc:subfield">
1788 <xslo:if test="contains('d', @code)">
1789 <z:index name="pubdate:n">
1790 <xslo:value-of select="."/>
1795 <xslo:template mode="index_subfields" match="marc:datafield[@tag='419']">
1796 <xslo:for-each select="marc:subfield">
1797 <xslo:if test="contains('t', @code)">
1798 <z:index name="Title:w Title:p">
1799 <xslo:value-of select="."/>
1803 <xslo:for-each select="marc:subfield">
1804 <xslo:if test="contains('d', @code)">
1805 <z:index name="pubdate:n">
1806 <xslo:value-of select="."/>
1811 <xslo:template mode="index_subfields" match="marc:datafield[@tag='420']">
1812 <xslo:for-each select="marc:subfield">
1813 <xslo:if test="contains('t', @code)">
1814 <z:index name="Title:w Title:p">
1815 <xslo:value-of select="."/>
1819 <xslo:for-each select="marc:subfield">
1820 <xslo:if test="contains('d', @code)">
1821 <z:index name="pubdate:n">
1822 <xslo:value-of select="."/>
1827 <xslo:template mode="index_subfields" match="marc:datafield[@tag='500']">
1828 <xslo:for-each select="marc:subfield">
1829 <xslo:if test="contains('9', @code)">
1830 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1831 <xslo:value-of select="."/>
1836 <xslo:template mode="index_subfields" match="marc:datafield[@tag='501']">
1837 <xslo:for-each select="marc:subfield">
1838 <xslo:if test="contains('9', @code)">
1839 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1840 <xslo:value-of select="."/>
1845 <xslo:template mode="index_subfields" match="marc:datafield[@tag='503']">
1846 <xslo:for-each select="marc:subfield">
1847 <xslo:if test="contains('9', @code)">
1848 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1849 <xslo:value-of select="."/>
1854 <xslo:template mode="index_subfields" match="marc:datafield[@tag='510']">
1855 <xslo:for-each select="marc:subfield">
1856 <xslo:if test="contains('9', @code)">
1857 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1858 <xslo:value-of select="."/>
1863 <xslo:template mode="index_subfields" match="marc:datafield[@tag='512']">
1864 <xslo:for-each select="marc:subfield">
1865 <xslo:if test="contains('9', @code)">
1866 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1867 <xslo:value-of select="."/>
1872 <xslo:template mode="index_subfields" match="marc:datafield[@tag='513']">
1873 <xslo:for-each select="marc:subfield">
1874 <xslo:if test="contains('9', @code)">
1875 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1876 <xslo:value-of select="."/>
1881 <xslo:template mode="index_subfields" match="marc:datafield[@tag='514']">
1882 <xslo:for-each select="marc:subfield">
1883 <xslo:if test="contains('9', @code)">
1884 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1885 <xslo:value-of select="."/>
1890 <xslo:template mode="index_subfields" match="marc:datafield[@tag='515']">
1891 <xslo:for-each select="marc:subfield">
1892 <xslo:if test="contains('9', @code)">
1893 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1894 <xslo:value-of select="."/>
1899 <xslo:template mode="index_subfields" match="marc:datafield[@tag='516']">
1900 <xslo:for-each select="marc:subfield">
1901 <xslo:if test="contains('9', @code)">
1902 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1903 <xslo:value-of select="."/>
1908 <xslo:template mode="index_subfields" match="marc:datafield[@tag='517']">
1909 <xslo:for-each select="marc:subfield">
1910 <xslo:if test="contains('9', @code)">
1911 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1912 <xslo:value-of select="."/>
1917 <xslo:template mode="index_subfields" match="marc:datafield[@tag='518']">
1918 <xslo:for-each select="marc:subfield">
1919 <xslo:if test="contains('9', @code)">
1920 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1921 <xslo:value-of select="."/>
1926 <xslo:template mode="index_subfields" match="marc:datafield[@tag='519']">
1927 <xslo:for-each select="marc:subfield">
1928 <xslo:if test="contains('9', @code)">
1929 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1930 <xslo:value-of select="."/>
1935 <xslo:template mode="index_subfields" match="marc:datafield[@tag='520']">
1936 <xslo:for-each select="marc:subfield">
1937 <xslo:if test="contains('9', @code)">
1938 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1939 <xslo:value-of select="."/>
1944 <xslo:template mode="index_subfields" match="marc:datafield[@tag='530']">
1945 <xslo:for-each select="marc:subfield">
1946 <xslo:if test="contains('9', @code)">
1947 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1948 <xslo:value-of select="."/>
1953 <xslo:template mode="index_subfields" match="marc:datafield[@tag='531']">
1954 <xslo:for-each select="marc:subfield">
1955 <xslo:if test="contains('9', @code)">
1956 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1957 <xslo:value-of select="."/>
1962 <xslo:template mode="index_subfields" match="marc:datafield[@tag='532']">
1963 <xslo:for-each select="marc:subfield">
1964 <xslo:if test="contains('9', @code)">
1965 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1966 <xslo:value-of select="."/>
1971 <xslo:template mode="index_subfields" match="marc:datafield[@tag='540']">
1972 <xslo:for-each select="marc:subfield">
1973 <xslo:if test="contains('9', @code)">
1974 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1975 <xslo:value-of select="."/>
1980 <xslo:template mode="index_subfields" match="marc:datafield[@tag='541']">
1981 <xslo:for-each select="marc:subfield">
1982 <xslo:if test="contains('9', @code)">
1983 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1984 <xslo:value-of select="."/>
1989 <xslo:template mode="index_subfields" match="marc:datafield[@tag='545']">
1990 <xslo:for-each select="marc:subfield">
1991 <xslo:if test="contains('9', @code)">
1992 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
1993 <xslo:value-of select="."/>
1998 <xslo:template mode="index_subfields" match="marc:datafield[@tag='560']">
1999 <xslo:for-each select="marc:subfield">
2000 <xslo:if test="contains('9', @code)">
2001 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2002 <xslo:value-of select="."/>
2007 <xslo:template mode="index_subfields" match="marc:datafield[@tag='600']">
2008 <xslo:for-each select="marc:subfield">
2009 <xslo:if test="contains('9', @code)">
2010 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2011 <xslo:value-of select="."/>
2015 <xslo:for-each select="marc:subfield">
2016 <xslo:if test="contains('a', @code)">
2017 <z:index name="Personal-name:w Personal-name:p Subject:w Subject:p">
2018 <xslo:value-of select="."/>
2023 <xslo:template mode="index_subfields" match="marc:datafield[@tag='601']">
2024 <xslo:for-each select="marc:subfield">
2025 <xslo:if test="contains('9', @code)">
2026 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2027 <xslo:value-of select="."/>
2031 <xslo:for-each select="marc:subfield">
2032 <xslo:if test="contains('a', @code)">
2033 <z:index name="Corporate-name:w Conference-name:w Corporate-name:p Conference-name:p">
2034 <xslo:value-of select="."/>
2039 <xslo:template mode="index_subfields" match="marc:datafield[@tag='602']">
2040 <xslo:for-each select="marc:subfield">
2041 <xslo:if test="contains('9', @code)">
2042 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2043 <xslo:value-of select="."/>
2047 <xslo:for-each select="marc:subfield">
2048 <xslo:if test="contains('a', @code)">
2049 <z:index name="Personal-name:w Personal-name:p">
2050 <xslo:value-of select="."/>
2055 <xslo:template mode="index_subfields" match="marc:datafield[@tag='603']">
2056 <xslo:for-each select="marc:subfield">
2057 <xslo:if test="contains('9', @code)">
2058 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2059 <xslo:value-of select="."/>
2064 <xslo:template mode="index_subfields" match="marc:datafield[@tag='604']">
2065 <xslo:for-each select="marc:subfield">
2066 <xslo:if test="contains('9', @code)">
2067 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2068 <xslo:value-of select="."/>
2073 <xslo:template mode="index_subfields" match="marc:datafield[@tag='605']">
2074 <xslo:for-each select="marc:subfield">
2075 <xslo:if test="contains('9', @code)">
2076 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2077 <xslo:value-of select="."/>
2082 <xslo:template mode="index_subfields" match="marc:datafield[@tag='606']">
2083 <xslo:for-each select="marc:subfield">
2084 <xslo:if test="contains('9', @code)">
2085 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2086 <xslo:value-of select="."/>
2091 <xslo:template mode="index_subfields" match="marc:datafield[@tag='607']">
2092 <xslo:for-each select="marc:subfield">
2093 <xslo:if test="contains('9', @code)">
2094 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2095 <xslo:value-of select="."/>
2100 <xslo:template mode="index_subfields" match="marc:datafield[@tag='608']">
2101 <xslo:for-each select="marc:subfield">
2102 <xslo:if test="contains('9', @code)">
2103 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2104 <xslo:value-of select="."/>
2109 <xslo:template mode="index_subfields" match="marc:datafield[@tag='610']">
2110 <xslo:for-each select="marc:subfield">
2111 <xslo:if test="contains('9', @code)">
2112 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2113 <xslo:value-of select="."/>
2118 <xslo:template mode="index_subfields" match="marc:datafield[@tag='615']">
2119 <xslo:for-each select="marc:subfield">
2120 <xslo:if test="contains('9', @code)">
2121 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2122 <xslo:value-of select="."/>
2127 <xslo:template mode="index_subfields" match="marc:datafield[@tag='616']">
2128 <xslo:for-each select="marc:subfield">
2129 <xslo:if test="contains('9', @code)">
2130 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2131 <xslo:value-of select="."/>
2136 <xslo:template mode="index_subfields" match="marc:datafield[@tag='617']">
2137 <xslo:for-each select="marc:subfield">
2138 <xslo:if test="contains('9', @code)">
2139 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2140 <xslo:value-of select="."/>
2145 <xslo:template mode="index_subfields" match="marc:datafield[@tag='620']">
2146 <xslo:for-each select="marc:subfield">
2147 <xslo:if test="contains('9', @code)">
2148 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2149 <xslo:value-of select="."/>
2154 <xslo:template mode="index_subfields" match="marc:datafield[@tag='621']">
2155 <xslo:for-each select="marc:subfield">
2156 <xslo:if test="contains('9', @code)">
2157 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2158 <xslo:value-of select="."/>
2163 <xslo:template mode="index_subfields" match="marc:datafield[@tag='630']">
2164 <xslo:for-each select="marc:subfield">
2165 <xslo:if test="contains('9', @code)">
2166 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2167 <xslo:value-of select="."/>
2172 <xslo:template mode="index_subfields" match="marc:datafield[@tag='631']">
2173 <xslo:for-each select="marc:subfield">
2174 <xslo:if test="contains('9', @code)">
2175 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2176 <xslo:value-of select="."/>
2181 <xslo:template mode="index_subfields" match="marc:datafield[@tag='632']">
2182 <xslo:for-each select="marc:subfield">
2183 <xslo:if test="contains('9', @code)">
2184 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2185 <xslo:value-of select="."/>
2190 <xslo:template mode="index_subfields" match="marc:datafield[@tag='633']">
2191 <xslo:for-each select="marc:subfield">
2192 <xslo:if test="contains('9', @code)">
2193 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2194 <xslo:value-of select="."/>
2199 <xslo:template mode="index_subfields" match="marc:datafield[@tag='634']">
2200 <xslo:for-each select="marc:subfield">
2201 <xslo:if test="contains('9', @code)">
2202 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2203 <xslo:value-of select="."/>
2208 <xslo:template mode="index_subfields" match="marc:datafield[@tag='635']">
2209 <xslo:for-each select="marc:subfield">
2210 <xslo:if test="contains('9', @code)">
2211 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2212 <xslo:value-of select="."/>
2217 <xslo:template mode="index_subfields" match="marc:datafield[@tag='636']">
2218 <xslo:for-each select="marc:subfield">
2219 <xslo:if test="contains('9', @code)">
2220 <z:index name="Koha-Auth-Number:w Koha-Auth-Number:n">
2221 <xslo:value-of select="."/>
2226 <xslo:template mode="index_subfields" match="marc:datafield[@tag='675']">
2227 <xslo:for-each select="marc:subfield">
2228 <xslo:if test="contains('a', @code)">
2229 <z:index name="UDC-classification:w UDC-classification:p UDC-classification:s">
2230 <xslo:value-of select="."/>
2235 <xslo:template mode="index_subfields" match="marc:datafield[@tag='676']">
2236 <xslo:for-each select="marc:subfield">
2237 <xslo:if test="contains('a', @code)">
2238 <z:index name="Dewey-classification:w Dewey-classification:p Dewey-classification:s">
2239 <xslo:value-of select="."/>
2244 <xslo:template mode="index_subfields" match="marc:datafield[@tag='680']">
2245 <xslo:for-each select="marc:subfield">
2246 <xslo:if test="contains('b', @code)">
2247 <z:index name="LC-call-number:s">
2248 <xslo:value-of select="."/>
2253 <xslo:template mode="index_subfields" match="marc:datafield[@tag='942']">
2254 <xslo:for-each select="marc:subfield">
2255 <xslo:if test="contains('0', @code)">
2256 <z:index name="totalissues:n totalissues:s">
2257 <xslo:value-of select="."/>
2262 <xslo:template mode="index_data_field" match="marc:datafield[@tag='700']">
2263 <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:p">
2264 <xslo:variable name="raw_heading">
2265 <xslo:for-each select="marc:subfield">
2266 <xslo:if test="position() > 1">
2267 <xslo:value-of select="substring(' ', 1, 1)"/>
2269 <xslo:value-of select="."/>
2272 <xslo:value-of select="normalize-space($raw_heading)"/>
2275 <xslo:template mode="index_data_field" match="marc:datafield[@tag='701']">
2276 <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:p">
2277 <xslo:variable name="raw_heading">
2278 <xslo:for-each select="marc:subfield">
2279 <xslo:if test="position() > 1">
2280 <xslo:value-of select="substring(' ', 1, 1)"/>
2282 <xslo:value-of select="."/>
2285 <xslo:value-of select="normalize-space($raw_heading)"/>
2288 <xslo:template mode="index_data_field" match="marc:datafield[@tag='702']">
2289 <z:index name="Author:w Personal-name:w Author:p Personal-name:p Personal-name:p">
2290 <xslo:variable name="raw_heading">
2291 <xslo:for-each select="marc:subfield">
2292 <xslo:if test="position() > 1">
2293 <xslo:value-of select="substring(' ', 1, 1)"/>
2295 <xslo:value-of select="."/>
2298 <xslo:value-of select="normalize-space($raw_heading)"/>
2301 <xslo:template mode="index_data_field" match="marc:datafield[@tag='710']">
2302 <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p">
2303 <xslo:variable name="raw_heading">
2304 <xslo:for-each select="marc:subfield">
2305 <xslo:if test="position() > 1">
2306 <xslo:value-of select="substring(' ', 1, 1)"/>
2308 <xslo:value-of select="."/>
2311 <xslo:value-of select="normalize-space($raw_heading)"/>
2314 <xslo:template mode="index_data_field" match="marc:datafield[@tag='711']">
2315 <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p">
2316 <xslo:variable name="raw_heading">
2317 <xslo:for-each select="marc:subfield">
2318 <xslo:if test="position() > 1">
2319 <xslo:value-of select="substring(' ', 1, 1)"/>
2321 <xslo:value-of select="."/>
2324 <xslo:value-of select="normalize-space($raw_heading)"/>
2327 <xslo:template mode="index_data_field" match="marc:datafield[@tag='712']">
2328 <z:index name="Author:w Author-name-corporate:w Author-name-conference:w Corporate-name:w Conference-name:w Author:p Author-name-corporate:p Author-name-conference:p Corporate-name:p Conference-name:p">
2329 <xslo:variable name="raw_heading">
2330 <xslo:for-each select="marc:subfield">
2331 <xslo:if test="position() > 1">
2332 <xslo:value-of select="substring(' ', 1, 1)"/>
2334 <xslo:value-of select="."/>
2337 <xslo:value-of select="normalize-space($raw_heading)"/>
2340 <xslo:template mode="index_data_field" match="marc:datafield[@tag='716']">
2341 <z:index name="Author:w Author:p">
2342 <xslo:variable name="raw_heading">
2343 <xslo:for-each select="marc:subfield">
2344 <xslo:if test="position() > 1">
2345 <xslo:value-of select="substring(' ', 1, 1)"/>
2347 <xslo:value-of select="."/>
2350 <xslo:value-of select="normalize-space($raw_heading)"/>
2353 <xslo:template mode="index_data_field" match="marc:datafield[@tag='720']">
2354 <z:index name="Author:w Author:p">
2355 <xslo:variable name="raw_heading">
2356 <xslo:for-each select="marc:subfield">
2357 <xslo:if test="position() > 1">
2358 <xslo:value-of select="substring(' ', 1, 1)"/>
2360 <xslo:value-of select="."/>
2363 <xslo:value-of select="normalize-space($raw_heading)"/>
2366 <xslo:template mode="index_data_field" match="marc:datafield[@tag='721']">
2367 <z:index name="Author:w Author:p">
2368 <xslo:variable name="raw_heading">
2369 <xslo:for-each select="marc:subfield">
2370 <xslo:if test="position() > 1">
2371 <xslo:value-of select="substring(' ', 1, 1)"/>
2373 <xslo:value-of select="."/>
2376 <xslo:value-of select="normalize-space($raw_heading)"/>
2379 <xslo:template mode="index_data_field" match="marc:datafield[@tag='722']">
2380 <z:index name="Author:w Author:p">
2381 <xslo:variable name="raw_heading">
2382 <xslo:for-each select="marc:subfield">
2383 <xslo:if test="position() > 1">
2384 <xslo:value-of select="substring(' ', 1, 1)"/>
2386 <xslo:value-of select="."/>
2389 <xslo:value-of select="normalize-space($raw_heading)"/>
2392 <xslo:template mode="index_data_field" match="marc:datafield[@tag='730']">
2393 <z:index name="Author:w Author:p">
2394 <xslo:variable name="raw_heading">
2395 <xslo:for-each select="marc:subfield">
2396 <xslo:if test="position() > 1">
2397 <xslo:value-of select="substring(' ', 1, 1)"/>
2399 <xslo:value-of select="."/>
2402 <xslo:value-of select="normalize-space($raw_heading)"/>
2405 <xslo:template mode="index_data_field" match="marc:datafield[@tag='205']">
2406 <z:index name="Title:w Title:p">
2407 <xslo:variable name="raw_heading">
2408 <xslo:for-each select="marc:subfield">
2409 <xslo:if test="position() > 1">
2410 <xslo:value-of select="substring(' ', 1, 1)"/>
2412 <xslo:value-of select="."/>
2415 <xslo:value-of select="normalize-space($raw_heading)"/>
2418 <xslo:template mode="index_data_field" match="marc:datafield[@tag='207']">
2419 <z:index name="Serials:w Serials:p">
2420 <xslo:variable name="raw_heading">
2421 <xslo:for-each select="marc:subfield">
2422 <xslo:if test="position() > 1">
2423 <xslo:value-of select="substring(' ', 1, 1)"/>
2425 <xslo:value-of select="."/>
2428 <xslo:value-of select="normalize-space($raw_heading)"/>
2431 <xslo:template mode="index_data_field" match="marc:datafield[@tag='208']">
2432 <z:index name="Printed-music:w Printed-music:p">
2433 <xslo:variable name="raw_heading">
2434 <xslo:for-each select="marc:subfield">
2435 <xslo:if test="position() > 1">
2436 <xslo:value-of select="substring(' ', 1, 1)"/>
2438 <xslo:value-of select="."/>
2441 <xslo:value-of select="normalize-space($raw_heading)"/>
2444 <xslo:template mode="index_data_field" match="marc:datafield[@tag='215']">
2445 <z:index name="Extent:w">
2446 <xslo:variable name="raw_heading">
2447 <xslo:for-each select="marc:subfield">
2448 <xslo:if test="position() > 1">
2449 <xslo:value-of select="substring(' ', 1, 1)"/>
2451 <xslo:value-of select="."/>
2454 <xslo:value-of select="normalize-space($raw_heading)"/>
2457 <xslo:template mode="index_data_field" match="marc:datafield[@tag='308']">
2458 <z:index name="Note:w Note:p">
2459 <xslo:variable name="raw_heading">
2460 <xslo:for-each select="marc:subfield">
2461 <xslo:if test="position() > 1">
2462 <xslo:value-of select="substring(' ', 1, 1)"/>
2464 <xslo:value-of select="."/>
2467 <xslo:value-of select="normalize-space($raw_heading)"/>
2470 <xslo:template mode="index_data_field" match="marc:datafield[@tag='328']">
2471 <z:index name="Note:w Note:p">
2472 <xslo:variable name="raw_heading">
2473 <xslo:for-each select="marc:subfield">
2474 <xslo:if test="position() > 1">
2475 <xslo:value-of select="substring(' ', 1, 1)"/>
2477 <xslo:value-of select="."/>
2480 <xslo:value-of select="normalize-space($raw_heading)"/>
2483 <xslo:template mode="index_data_field" match="marc:datafield[@tag='500']">
2484 <z:index name="Title:w Title:p">
2485 <xslo:variable name="raw_heading">
2486 <xslo:for-each select="marc:subfield">
2487 <xslo:if test="position() > 1">
2488 <xslo:value-of select="substring(' ', 1, 1)"/>
2490 <xslo:value-of select="."/>
2493 <xslo:value-of select="normalize-space($raw_heading)"/>
2496 <xslo:template mode="index_data_field" match="marc:datafield[@tag='501']">
2497 <z:index name="Title:w Title:p">
2498 <xslo:variable name="raw_heading">
2499 <xslo:for-each select="marc:subfield">
2500 <xslo:if test="position() > 1">
2501 <xslo:value-of select="substring(' ', 1, 1)"/>
2503 <xslo:value-of select="."/>
2506 <xslo:value-of select="normalize-space($raw_heading)"/>
2509 <xslo:template mode="index_data_field" match="marc:datafield[@tag='503']">
2510 <z:index name="Title:w Title:p">
2511 <xslo:variable name="raw_heading">
2512 <xslo:for-each select="marc:subfield">
2513 <xslo:if test="position() > 1">
2514 <xslo:value-of select="substring(' ', 1, 1)"/>
2516 <xslo:value-of select="."/>
2519 <xslo:value-of select="normalize-space($raw_heading)"/>
2522 <xslo:template mode="index_data_field" match="marc:datafield[@tag='510']">
2523 <z:index name="Title:w Title:p">
2524 <xslo:variable name="raw_heading">
2525 <xslo:for-each select="marc:subfield">
2526 <xslo:if test="position() > 1">
2527 <xslo:value-of select="substring(' ', 1, 1)"/>
2529 <xslo:value-of select="."/>
2532 <xslo:value-of select="normalize-space($raw_heading)"/>
2535 <xslo:template mode="index_data_field" match="marc:datafield[@tag='512']">
2536 <z:index name="Title:w Title:p">
2537 <xslo:variable name="raw_heading">
2538 <xslo:for-each select="marc:subfield">
2539 <xslo:if test="position() > 1">
2540 <xslo:value-of select="substring(' ', 1, 1)"/>
2542 <xslo:value-of select="."/>
2545 <xslo:value-of select="normalize-space($raw_heading)"/>
2548 <xslo:template mode="index_data_field" match="marc:datafield[@tag='513']">
2549 <z:index name="Title:w Title:p">
2550 <xslo:variable name="raw_heading">
2551 <xslo:for-each select="marc:subfield">
2552 <xslo:if test="position() > 1">
2553 <xslo:value-of select="substring(' ', 1, 1)"/>
2555 <xslo:value-of select="."/>
2558 <xslo:value-of select="normalize-space($raw_heading)"/>
2561 <xslo:template mode="index_data_field" match="marc:datafield[@tag='514']">
2562 <z:index name="Title:w Title:p">
2563 <xslo:variable name="raw_heading">
2564 <xslo:for-each select="marc:subfield">
2565 <xslo:if test="position() > 1">
2566 <xslo:value-of select="substring(' ', 1, 1)"/>
2568 <xslo:value-of select="."/>
2571 <xslo:value-of select="normalize-space($raw_heading)"/>
2574 <xslo:template mode="index_data_field" match="marc:datafield[@tag='515']">
2575 <z:index name="Title:w Title:p">
2576 <xslo:variable name="raw_heading">
2577 <xslo:for-each select="marc:subfield">
2578 <xslo:if test="position() > 1">
2579 <xslo:value-of select="substring(' ', 1, 1)"/>
2581 <xslo:value-of select="."/>
2584 <xslo:value-of select="normalize-space($raw_heading)"/>
2587 <xslo:template mode="index_data_field" match="marc:datafield[@tag='516']">
2588 <z:index name="Title:w Title:p">
2589 <xslo:variable name="raw_heading">
2590 <xslo:for-each select="marc:subfield">
2591 <xslo:if test="position() > 1">
2592 <xslo:value-of select="substring(' ', 1, 1)"/>
2594 <xslo:value-of select="."/>
2597 <xslo:value-of select="normalize-space($raw_heading)"/>
2600 <xslo:template mode="index_data_field" match="marc:datafield[@tag='517']">
2601 <z:index name="Title:w Title:p">
2602 <xslo:variable name="raw_heading">
2603 <xslo:for-each select="marc:subfield">
2604 <xslo:if test="position() > 1">
2605 <xslo:value-of select="substring(' ', 1, 1)"/>
2607 <xslo:value-of select="."/>
2610 <xslo:value-of select="normalize-space($raw_heading)"/>
2613 <xslo:template mode="index_data_field" match="marc:datafield[@tag='518']">
2614 <z:index name="Title:w Title:p">
2615 <xslo:variable name="raw_heading">
2616 <xslo:for-each select="marc:subfield">
2617 <xslo:if test="position() > 1">
2618 <xslo:value-of select="substring(' ', 1, 1)"/>
2620 <xslo:value-of select="."/>
2623 <xslo:value-of select="normalize-space($raw_heading)"/>
2626 <xslo:template mode="index_data_field" match="marc:datafield[@tag='519']">
2627 <z:index name="Title:w Title:p">
2628 <xslo:variable name="raw_heading">
2629 <xslo:for-each select="marc:subfield">
2630 <xslo:if test="position() > 1">
2631 <xslo:value-of select="substring(' ', 1, 1)"/>
2633 <xslo:value-of select="."/>
2636 <xslo:value-of select="normalize-space($raw_heading)"/>
2639 <xslo:template mode="index_data_field" match="marc:datafield[@tag='520']">
2640 <z:index name="Title:w Title:p">
2641 <xslo:variable name="raw_heading">
2642 <xslo:for-each select="marc:subfield">
2643 <xslo:if test="position() > 1">
2644 <xslo:value-of select="substring(' ', 1, 1)"/>
2646 <xslo:value-of select="."/>
2649 <xslo:value-of select="normalize-space($raw_heading)"/>
2652 <xslo:template mode="index_data_field" match="marc:datafield[@tag='530']">
2653 <z:index name="Title:w Title:p">
2654 <xslo:variable name="raw_heading">
2655 <xslo:for-each select="marc:subfield">
2656 <xslo:if test="position() > 1">
2657 <xslo:value-of select="substring(' ', 1, 1)"/>
2659 <xslo:value-of select="."/>
2662 <xslo:value-of select="normalize-space($raw_heading)"/>
2665 <xslo:template mode="index_data_field" match="marc:datafield[@tag='531']">
2666 <z:index name="Title:w Title:p">
2667 <xslo:variable name="raw_heading">
2668 <xslo:for-each select="marc:subfield">
2669 <xslo:if test="position() > 1">
2670 <xslo:value-of select="substring(' ', 1, 1)"/>
2672 <xslo:value-of select="."/>
2675 <xslo:value-of select="normalize-space($raw_heading)"/>
2678 <xslo:template mode="index_data_field" match="marc:datafield[@tag='532']">
2679 <z:index name="Title:w Title:p">
2680 <xslo:variable name="raw_heading">
2681 <xslo:for-each select="marc:subfield">
2682 <xslo:if test="position() > 1">
2683 <xslo:value-of select="substring(' ', 1, 1)"/>
2685 <xslo:value-of select="."/>
2688 <xslo:value-of select="normalize-space($raw_heading)"/>
2691 <xslo:template mode="index_data_field" match="marc:datafield[@tag='540']">
2692 <z:index name="Title:w Title:p">
2693 <xslo:variable name="raw_heading">
2694 <xslo:for-each select="marc:subfield">
2695 <xslo:if test="position() > 1">
2696 <xslo:value-of select="substring(' ', 1, 1)"/>
2698 <xslo:value-of select="."/>
2701 <xslo:value-of select="normalize-space($raw_heading)"/>
2704 <xslo:template mode="index_data_field" match="marc:datafield[@tag='541']">
2705 <z:index name="Title:w Title:p">
2706 <xslo:variable name="raw_heading">
2707 <xslo:for-each select="marc:subfield">
2708 <xslo:if test="position() > 1">
2709 <xslo:value-of select="substring(' ', 1, 1)"/>
2711 <xslo:value-of select="."/>
2714 <xslo:value-of select="normalize-space($raw_heading)"/>
2717 <xslo:template mode="index_data_field" match="marc:datafield[@tag='545']">
2718 <z:index name="Title:w Title:p">
2719 <xslo:variable name="raw_heading">
2720 <xslo:for-each select="marc:subfield">
2721 <xslo:if test="position() > 1">
2722 <xslo:value-of select="substring(' ', 1, 1)"/>
2724 <xslo:value-of select="."/>
2727 <xslo:value-of select="normalize-space($raw_heading)"/>
2730 <xslo:template mode="index_data_field" match="marc:datafield[@tag='560']">
2731 <z:index name="Title:w Title:p">
2732 <xslo:variable name="raw_heading">
2733 <xslo:for-each select="marc:subfield">
2734 <xslo:if test="position() > 1">
2735 <xslo:value-of select="substring(' ', 1, 1)"/>
2737 <xslo:value-of select="."/>
2740 <xslo:value-of select="normalize-space($raw_heading)"/>
2743 <xslo:template mode="index_data_field" match="marc:datafield[@tag='600']">
2744 <z:index name="Subject:w Subject:p">
2745 <xslo:variable name="raw_heading">
2746 <xslo:for-each select="marc:subfield">
2747 <xslo:if test="position() > 1">
2748 <xslo:value-of select="substring(' ', 1, 1)"/>
2750 <xslo:value-of select="."/>
2753 <xslo:value-of select="normalize-space($raw_heading)"/>
2756 <xslo:template mode="index_data_field" match="marc:datafield[@tag='601']">
2757 <z:index name="Subject:w Subject:p">
2758 <xslo:variable name="raw_heading">
2759 <xslo:for-each select="marc:subfield">
2760 <xslo:if test="position() > 1">
2761 <xslo:value-of select="substring(' ', 1, 1)"/>
2763 <xslo:value-of select="."/>
2766 <xslo:value-of select="normalize-space($raw_heading)"/>
2769 <xslo:template mode="index_data_field" match="marc:datafield[@tag='602']">
2770 <z:index name="Subject:w Subject:p">
2771 <xslo:variable name="raw_heading">
2772 <xslo:for-each select="marc:subfield">
2773 <xslo:if test="position() > 1">
2774 <xslo:value-of select="substring(' ', 1, 1)"/>
2776 <xslo:value-of select="."/>
2779 <xslo:value-of select="normalize-space($raw_heading)"/>
2782 <xslo:template mode="index_data_field" match="marc:datafield[@tag='604']">
2783 <z:index name="Subject:w Subject:p">
2784 <xslo:variable name="raw_heading">
2785 <xslo:for-each select="marc:subfield">
2786 <xslo:if test="position() > 1">
2787 <xslo:value-of select="substring(' ', 1, 1)"/>
2789 <xslo:value-of select="."/>
2792 <xslo:value-of select="normalize-space($raw_heading)"/>
2795 <xslo:template mode="index_data_field" match="marc:datafield[@tag='605']">
2796 <z:index name="Subject:w Subject:p">
2797 <xslo:variable name="raw_heading">
2798 <xslo:for-each select="marc:subfield">
2799 <xslo:if test="position() > 1">
2800 <xslo:value-of select="substring(' ', 1, 1)"/>
2802 <xslo:value-of select="."/>
2805 <xslo:value-of select="normalize-space($raw_heading)"/>
2808 <xslo:template mode="index_data_field" match="marc:datafield[@tag='606']">
2809 <z:index name="Subject:w Subject:p">
2810 <xslo:variable name="raw_heading">
2811 <xslo:for-each select="marc:subfield">
2812 <xslo:if test="position() > 1">
2813 <xslo:value-of select="substring(' ', 1, 1)"/>
2815 <xslo:value-of select="."/>
2818 <xslo:value-of select="normalize-space($raw_heading)"/>
2821 <xslo:template mode="index_data_field" match="marc:datafield[@tag='607']">
2822 <z:index name="Subject:w Subject:p">
2823 <xslo:variable name="raw_heading">
2824 <xslo:for-each select="marc:subfield">
2825 <xslo:if test="position() > 1">
2826 <xslo:value-of select="substring(' ', 1, 1)"/>
2828 <xslo:value-of select="."/>
2831 <xslo:value-of select="normalize-space($raw_heading)"/>
2834 <xslo:template mode="index_data_field" match="marc:datafield[@tag='608']">
2835 <z:index name="Subject:w Subject:p">
2836 <xslo:variable name="raw_heading">
2837 <xslo:for-each select="marc:subfield">
2838 <xslo:if test="position() > 1">
2839 <xslo:value-of select="substring(' ', 1, 1)"/>
2841 <xslo:value-of select="."/>
2844 <xslo:value-of select="normalize-space($raw_heading)"/>
2847 <xslo:template mode="index_data_field" match="marc:datafield[@tag='610']">
2848 <z:index name="Subject:w Subject:p">
2849 <xslo:variable name="raw_heading">
2850 <xslo:for-each select="marc:subfield">
2851 <xslo:if test="position() > 1">
2852 <xslo:value-of select="substring(' ', 1, 1)"/>
2854 <xslo:value-of select="."/>
2857 <xslo:value-of select="normalize-space($raw_heading)"/>
2860 <xslo:template mode="index_data_field" match="marc:datafield[@tag='615']">
2861 <z:index name="Subject:w Subject:p">
2862 <xslo:variable name="raw_heading">
2863 <xslo:for-each select="marc:subfield">
2864 <xslo:if test="position() > 1">
2865 <xslo:value-of select="substring(' ', 1, 1)"/>
2867 <xslo:value-of select="."/>
2870 <xslo:value-of select="normalize-space($raw_heading)"/>
2873 <xslo:template mode="index_data_field" match="marc:datafield[@tag='616']">
2874 <z:index name="Subject:w Subject:p">
2875 <xslo:variable name="raw_heading">
2876 <xslo:for-each select="marc:subfield">
2877 <xslo:if test="position() > 1">
2878 <xslo:value-of select="substring(' ', 1, 1)"/>
2880 <xslo:value-of select="."/>
2883 <xslo:value-of select="normalize-space($raw_heading)"/>
2886 <xslo:template mode="index_data_field" match="marc:datafield[@tag='617']">
2887 <z:index name="Subject:w Subject:p">
2888 <xslo:variable name="raw_heading">
2889 <xslo:for-each select="marc:subfield">
2890 <xslo:if test="position() > 1">
2891 <xslo:value-of select="substring(' ', 1, 1)"/>
2893 <xslo:value-of select="."/>
2896 <xslo:value-of select="normalize-space($raw_heading)"/>
2899 <xslo:template mode="index_data_field" match="marc:datafield[@tag='620']">
2900 <z:index name="Subject:w Subject:p">
2901 <xslo:variable name="raw_heading">
2902 <xslo:for-each select="marc:subfield">
2903 <xslo:if test="position() > 1">
2904 <xslo:value-of select="substring(' ', 1, 1)"/>
2906 <xslo:value-of select="."/>
2909 <xslo:value-of select="normalize-space($raw_heading)"/>
2912 <xslo:template mode="index_data_field" match="marc:datafield[@tag='621']">
2913 <z:index name="Subject:w Subject:p">
2914 <xslo:variable name="raw_heading">
2915 <xslo:for-each select="marc:subfield">
2916 <xslo:if test="position() > 1">
2917 <xslo:value-of select="substring(' ', 1, 1)"/>
2919 <xslo:value-of select="."/>
2922 <xslo:value-of select="normalize-space($raw_heading)"/>
2925 <xslo:template mode="index_data_field" match="marc:datafield[@tag='603']">
2926 <z:index name="Subject:w Subject:p">
2927 <xslo:variable name="raw_heading">
2928 <xslo:for-each select="marc:subfield">
2929 <xslo:if test="position() > 1">
2930 <xslo:value-of select="substring(' ', 1, 1)"/>
2932 <xslo:value-of select="."/>
2935 <xslo:value-of select="normalize-space($raw_heading)"/>
2938 <xslo:template mode="index_data_field" match="marc:datafield[@tag='630']">
2939 <z:index name="Subject:w Subject:p">
2940 <xslo:variable name="raw_heading">
2941 <xslo:for-each select="marc:subfield">
2942 <xslo:if test="position() > 1">
2943 <xslo:value-of select="substring(' ', 1, 1)"/>
2945 <xslo:value-of select="."/>
2948 <xslo:value-of select="normalize-space($raw_heading)"/>
2951 <xslo:template mode="index_data_field" match="marc:datafield[@tag='631']">
2952 <z:index name="Subject:w Subject:p">
2953 <xslo:variable name="raw_heading">
2954 <xslo:for-each select="marc:subfield">
2955 <xslo:if test="position() > 1">
2956 <xslo:value-of select="substring(' ', 1, 1)"/>
2958 <xslo:value-of select="."/>
2961 <xslo:value-of select="normalize-space($raw_heading)"/>
2964 <xslo:template mode="index_data_field" match="marc:datafield[@tag='632']">
2965 <z:index name="Subject:w Subject:p">
2966 <xslo:variable name="raw_heading">
2967 <xslo:for-each select="marc:subfield">
2968 <xslo:if test="position() > 1">
2969 <xslo:value-of select="substring(' ', 1, 1)"/>
2971 <xslo:value-of select="."/>
2974 <xslo:value-of select="normalize-space($raw_heading)"/>
2977 <xslo:template mode="index_data_field" match="marc:datafield[@tag='633']">
2978 <z:index name="Subject:w Subject:p">
2979 <xslo:variable name="raw_heading">
2980 <xslo:for-each select="marc:subfield">
2981 <xslo:if test="position() > 1">
2982 <xslo:value-of select="substring(' ', 1, 1)"/>
2984 <xslo:value-of select="."/>
2987 <xslo:value-of select="normalize-space($raw_heading)"/>
2990 <xslo:template mode="index_data_field" match="marc:datafield[@tag='634']">
2991 <z:index name="Subject:w Subject:p">
2992 <xslo:variable name="raw_heading">
2993 <xslo:for-each select="marc:subfield">
2994 <xslo:if test="position() > 1">
2995 <xslo:value-of select="substring(' ', 1, 1)"/>
2997 <xslo:value-of select="."/>
3000 <xslo:value-of select="normalize-space($raw_heading)"/>
3003 <xslo:template mode="index_data_field" match="marc:datafield[@tag='635']">
3004 <z:index name="Subject:w Subject:p">
3005 <xslo:variable name="raw_heading">
3006 <xslo:for-each select="marc:subfield">
3007 <xslo:if test="position() > 1">
3008 <xslo:value-of select="substring(' ', 1, 1)"/>
3010 <xslo:value-of select="."/>
3013 <xslo:value-of select="normalize-space($raw_heading)"/>
3016 <xslo:template mode="index_data_field" match="marc:datafield[@tag='636']">
3017 <z:index name="Subject:w Subject:p">
3018 <xslo:variable name="raw_heading">
3019 <xslo:for-each select="marc:subfield">
3020 <xslo:if test="position() > 1">
3021 <xslo:value-of select="substring(' ', 1, 1)"/>
3023 <xslo:value-of select="."/>
3026 <xslo:value-of select="normalize-space($raw_heading)"/>
3029 <xslo:template mode="index_data_field" match="marc:datafield[@tag='646']">
3030 <z:index name="Subject:w Subject:p">
3031 <xslo:variable name="raw_heading">
3032 <xslo:for-each select="marc:subfield">
3033 <xslo:if test="position() > 1">
3034 <xslo:value-of select="substring(' ', 1, 1)"/>
3036 <xslo:value-of select="."/>
3039 <xslo:value-of select="normalize-space($raw_heading)"/>
3042 <xslo:template mode="index_data_field" match="marc:datafield[@tag='670']">
3043 <z:index name="Subject-precis:w Subject-precis:p">
3044 <xslo:variable name="raw_heading">
3045 <xslo:for-each select="marc:subfield">
3046 <xslo:if test="position() > 1">
3047 <xslo:value-of select="substring(' ', 1, 1)"/>
3049 <xslo:value-of select="."/>
3052 <xslo:value-of select="normalize-space($raw_heading)"/>
3055 <xslo:template mode="index_data_field" match="marc:datafield[@tag='680']">
3056 <z:index name="LC-call-number:w LC-call-number:p">
3057 <xslo:variable name="raw_heading">
3058 <xslo:for-each select="marc:subfield">
3059 <xslo:if test="position() > 1">
3060 <xslo:value-of select="substring(' ', 1, 1)"/>
3062 <xslo:value-of select="."/>
3065 <xslo:value-of select="normalize-space($raw_heading)"/>
3068 <xslo:template mode="index_data_field" match="marc:datafield[@tag='686']">
3069 <z:index name="Local-classification:w Local-classification:p">
3070 <xslo:variable name="raw_heading">
3071 <xslo:for-each select="marc:subfield">
3072 <xslo:if test="position() > 1">
3073 <xslo:value-of select="substring(' ', 1, 1)"/>
3075 <xslo:value-of select="."/>
3078 <xslo:value-of select="normalize-space($raw_heading)"/>
3081 <xslo:template mode="index_data_field" match="marc:datafield[@tag='995']">
3082 <z:index name="item:w">
3083 <xslo:variable name="raw_heading">
3084 <xslo:for-each select="marc:subfield">
3085 <xslo:if test="position() > 1">
3086 <xslo:value-of select="substring(' ', 1, 1)"/>
3088 <xslo:value-of select="."/>
3091 <xslo:value-of select="normalize-space($raw_heading)"/>
3094 <xslo:template mode="index_all" match="text()">
3095 <z:index name="Any:w Any:p">
3096 <xslo:value-of select="."/>
3099 <xslo:template name="chopPunctuation">
3100 <xslo:param name="chopString"/>
3101 <xslo:variable name="length" select="string-length($chopString)"/>
3103 <xslo:when test="$length=0"/>
3104 <xslo:when test="contains('-,.:=;!%/', substring($chopString,$length,1))">
3105 <xslo:call-template name="chopPunctuation">
3106 <xslo:with-param name="chopString" select="substring($chopString,1,$length - 1)"/>
3107 </xslo:call-template>
3109 <xslo:when test="not($chopString)"/>
3111 <xslo:value-of select="$chopString"/>