Lines 161-166
Link Here
|
161 |
</xslo:variable> |
161 |
</xslo:variable> |
162 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
162 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
163 |
</z:index> |
163 |
</z:index> |
|
|
164 |
<z:index name="Heading-Main:w Heading-Main:p Heading-Main:s"> |
165 |
<xslo:variable name="raw_heading"> |
166 |
<xslo:for-each select="marc:subfield"> |
167 |
<xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s"> |
168 |
<xslo:if test="position() > 1"> |
169 |
<xslo:choose> |
170 |
<xslo:when test="contains('', @code)"> |
171 |
<xslo:text>--</xslo:text> |
172 |
</xslo:when> |
173 |
<xslo:otherwise> |
174 |
<xslo:value-of select="substring(' ', 1, 1)"/> |
175 |
</xslo:otherwise> |
176 |
</xslo:choose> |
177 |
</xslo:if> |
178 |
<xslo:value-of select="."/> |
179 |
</xslo:if> |
180 |
</xslo:for-each> |
181 |
</xslo:variable> |
182 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
183 |
</z:index> |
164 |
</xslo:template> |
184 |
</xslo:template> |
165 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='400']"> |
185 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='400']"> |
166 |
<z:index name="Personal-name-see-from:w Personal-name-see-from:p Personal-name-see-from:s See-from:w See-from:p See-from:s"> |
186 |
<z:index name="Personal-name-see-from:w Personal-name-see-from:p Personal-name-see-from:s See-from:w See-from:p See-from:s"> |
Lines 227-232
Link Here
|
227 |
</xslo:variable> |
247 |
</xslo:variable> |
228 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
248 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
229 |
</z:index> |
249 |
</z:index> |
|
|
250 |
<z:index name="Heading-Main:w Heading-Main:p Heading-Main:s"> |
251 |
<xslo:variable name="raw_heading"> |
252 |
<xslo:for-each select="marc:subfield"> |
253 |
<xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s"> |
254 |
<xslo:if test="position() > 1"> |
255 |
<xslo:choose> |
256 |
<xslo:when test="contains('', @code)"> |
257 |
<xslo:text>--</xslo:text> |
258 |
</xslo:when> |
259 |
<xslo:otherwise> |
260 |
<xslo:value-of select="substring(' ', 1, 1)"/> |
261 |
</xslo:otherwise> |
262 |
</xslo:choose> |
263 |
</xslo:if> |
264 |
<xslo:value-of select="."/> |
265 |
</xslo:if> |
266 |
</xslo:for-each> |
267 |
</xslo:variable> |
268 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
269 |
</z:index> |
230 |
</xslo:template> |
270 |
</xslo:template> |
231 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='410']"> |
271 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='410']"> |
232 |
<z:index name="Corporate-name-see-from:w Corporate-name-see-from:p Corporate-name-see-from:s See-from:w See-from:p See-from:s"> |
272 |
<z:index name="Corporate-name-see-from:w Corporate-name-see-from:p Corporate-name-see-from:s See-from:w See-from:p See-from:s"> |
Lines 293-298
Link Here
|
293 |
</xslo:variable> |
333 |
</xslo:variable> |
294 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
334 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
295 |
</z:index> |
335 |
</z:index> |
|
|
336 |
<z:index name="Heading-Main:w Heading-Main:p Heading-Main:s"> |
337 |
<xslo:variable name="raw_heading"> |
338 |
<xslo:for-each select="marc:subfield"> |
339 |
<xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s"> |
340 |
<xslo:if test="position() > 1"> |
341 |
<xslo:choose> |
342 |
<xslo:when test="contains('', @code)"> |
343 |
<xslo:text>--</xslo:text> |
344 |
</xslo:when> |
345 |
<xslo:otherwise> |
346 |
<xslo:value-of select="substring(' ', 1, 1)"/> |
347 |
</xslo:otherwise> |
348 |
</xslo:choose> |
349 |
</xslo:if> |
350 |
<xslo:value-of select="."/> |
351 |
</xslo:if> |
352 |
</xslo:for-each> |
353 |
</xslo:variable> |
354 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
355 |
</z:index> |
296 |
</xslo:template> |
356 |
</xslo:template> |
297 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='411']"> |
357 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='411']"> |
298 |
<z:index name="Meeting-name-see-from:w Meeting-name-see-from:p Meeting-name-see-from:s See-from:w See-from:p See-from:s"> |
358 |
<z:index name="Meeting-name-see-from:w Meeting-name-see-from:p Meeting-name-see-from:s See-from:w See-from:p See-from:s"> |
Lines 359-364
Link Here
|
359 |
</xslo:variable> |
419 |
</xslo:variable> |
360 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
420 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
361 |
</z:index> |
421 |
</z:index> |
|
|
422 |
<z:index name="Heading-Main:w Heading-Main:p Heading-Main:s"> |
423 |
<xslo:variable name="raw_heading"> |
424 |
<xslo:for-each select="marc:subfield"> |
425 |
<xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s"> |
426 |
<xslo:if test="position() > 1"> |
427 |
<xslo:choose> |
428 |
<xslo:when test="contains('', @code)"> |
429 |
<xslo:text>--</xslo:text> |
430 |
</xslo:when> |
431 |
<xslo:otherwise> |
432 |
<xslo:value-of select="substring(' ', 1, 1)"/> |
433 |
</xslo:otherwise> |
434 |
</xslo:choose> |
435 |
</xslo:if> |
436 |
<xslo:value-of select="."/> |
437 |
</xslo:if> |
438 |
</xslo:for-each> |
439 |
</xslo:variable> |
440 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
441 |
</z:index> |
362 |
</xslo:template> |
442 |
</xslo:template> |
363 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='430']"> |
443 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='430']"> |
364 |
<z:index name="Title-uniform-see-from:w Title-uniform-see-from:p Title-uniform-see-from:s See-from:w See-from:p See-from:s"> |
444 |
<z:index name="Title-uniform-see-from:w Title-uniform-see-from:p Title-uniform-see-from:s See-from:w See-from:p See-from:s"> |
Lines 425-430
Link Here
|
425 |
</xslo:variable> |
505 |
</xslo:variable> |
426 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
506 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
427 |
</z:index> |
507 |
</z:index> |
|
|
508 |
<z:index name="Heading-Main:w Heading-Main:p Heading-Main:s"> |
509 |
<xslo:variable name="raw_heading"> |
510 |
<xslo:for-each select="marc:subfield"> |
511 |
<xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s"> |
512 |
<xslo:if test="position() > 1"> |
513 |
<xslo:choose> |
514 |
<xslo:when test="contains('', @code)"> |
515 |
<xslo:text>--</xslo:text> |
516 |
</xslo:when> |
517 |
<xslo:otherwise> |
518 |
<xslo:value-of select="substring(' ', 1, 1)"/> |
519 |
</xslo:otherwise> |
520 |
</xslo:choose> |
521 |
</xslo:if> |
522 |
<xslo:value-of select="."/> |
523 |
</xslo:if> |
524 |
</xslo:for-each> |
525 |
</xslo:variable> |
526 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
527 |
</z:index> |
428 |
</xslo:template> |
528 |
</xslo:template> |
429 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='448']"> |
529 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='448']"> |
430 |
<z:index name="Chronological-term-see-from:w Chronological-term-see-from:p Chronological-term-see-from:s See-from:w See-from:p See-from:s"> |
530 |
<z:index name="Chronological-term-see-from:w Chronological-term-see-from:p Chronological-term-see-from:s See-from:w See-from:p See-from:s"> |
Lines 491-496
Link Here
|
491 |
</xslo:variable> |
591 |
</xslo:variable> |
492 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
592 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
493 |
</z:index> |
593 |
</z:index> |
|
|
594 |
<z:index name="Heading-Main:w Heading-Main:p Heading-Main:s"> |
595 |
<xslo:variable name="raw_heading"> |
596 |
<xslo:for-each select="marc:subfield"> |
597 |
<xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s"> |
598 |
<xslo:if test="position() > 1"> |
599 |
<xslo:choose> |
600 |
<xslo:when test="contains('', @code)"> |
601 |
<xslo:text>--</xslo:text> |
602 |
</xslo:when> |
603 |
<xslo:otherwise> |
604 |
<xslo:value-of select="substring(' ', 1, 1)"/> |
605 |
</xslo:otherwise> |
606 |
</xslo:choose> |
607 |
</xslo:if> |
608 |
<xslo:value-of select="."/> |
609 |
</xslo:if> |
610 |
</xslo:for-each> |
611 |
</xslo:variable> |
612 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
613 |
</z:index> |
494 |
</xslo:template> |
614 |
</xslo:template> |
495 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='450']"> |
615 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='450']"> |
496 |
<z:index name="Subject-topical-see-from:w Subject-topical-see-from:p Subject-topical-see-from:s See-from:w See-from:p See-from:s"> |
616 |
<z:index name="Subject-topical-see-from:w Subject-topical-see-from:p Subject-topical-see-from:s See-from:w See-from:p See-from:s"> |
Lines 557-562
Link Here
|
557 |
</xslo:variable> |
677 |
</xslo:variable> |
558 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
678 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
559 |
</z:index> |
679 |
</z:index> |
|
|
680 |
<z:index name="Heading-Main:w Heading-Main:p Heading-Main:s"> |
681 |
<xslo:variable name="raw_heading"> |
682 |
<xslo:for-each select="marc:subfield"> |
683 |
<xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s"> |
684 |
<xslo:if test="position() > 1"> |
685 |
<xslo:choose> |
686 |
<xslo:when test="contains('', @code)"> |
687 |
<xslo:text>--</xslo:text> |
688 |
</xslo:when> |
689 |
<xslo:otherwise> |
690 |
<xslo:value-of select="substring(' ', 1, 1)"/> |
691 |
</xslo:otherwise> |
692 |
</xslo:choose> |
693 |
</xslo:if> |
694 |
<xslo:value-of select="."/> |
695 |
</xslo:if> |
696 |
</xslo:for-each> |
697 |
</xslo:variable> |
698 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
699 |
</z:index> |
560 |
</xslo:template> |
700 |
</xslo:template> |
561 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='451']"> |
701 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='451']"> |
562 |
<z:index name="Name-geographic-see-from:w Name-geographic-see-from:p Name-geographic-see-from:s See-from:w See-from:p See-from:s"> |
702 |
<z:index name="Name-geographic-see-from:w Name-geographic-see-from:p Name-geographic-see-from:s See-from:w See-from:p See-from:s"> |
Lines 623-628
Link Here
|
623 |
</xslo:variable> |
763 |
</xslo:variable> |
624 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
764 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
625 |
</z:index> |
765 |
</z:index> |
|
|
766 |
<z:index name="Heading-Main:w Heading-Main:p Heading-Main:s"> |
767 |
<xslo:variable name="raw_heading"> |
768 |
<xslo:for-each select="marc:subfield"> |
769 |
<xslo:if test="contains('a', @code)" name="Heading-Main:w Heading-Main:p Heading-Main:s"> |
770 |
<xslo:if test="position() > 1"> |
771 |
<xslo:choose> |
772 |
<xslo:when test="contains('', @code)"> |
773 |
<xslo:text>--</xslo:text> |
774 |
</xslo:when> |
775 |
<xslo:otherwise> |
776 |
<xslo:value-of select="substring(' ', 1, 1)"/> |
777 |
</xslo:otherwise> |
778 |
</xslo:choose> |
779 |
</xslo:if> |
780 |
<xslo:value-of select="."/> |
781 |
</xslo:if> |
782 |
</xslo:for-each> |
783 |
</xslo:variable> |
784 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
785 |
</z:index> |
626 |
</xslo:template> |
786 |
</xslo:template> |
627 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='455']"> |
787 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='455']"> |
628 |
<z:index name="Term-genre-form-see-from:w Term-genre-form-see-from:p Term-genre-form-see-from:s See-from:w See-from:p See-from:s"> |
788 |
<z:index name="Term-genre-form-see-from:w Term-genre-form-see-from:p Term-genre-form-see-from:s See-from:w See-from:p See-from:s"> |
Lines 1826-1829
Link Here
|
1826 |
<xslo:value-of select="$full_thesaurus_code"/> |
1986 |
<xslo:value-of select="$full_thesaurus_code"/> |
1827 |
</z:index> |
1987 |
</z:index> |
1828 |
</xslo:template> |
1988 |
</xslo:template> |
|
|
1989 |
<xslo:template match="*"> |
1990 |
<z:index name="Any:w Any:p"> |
1991 |
<xslo:value-of select="."/> |
1992 |
</z:index> |
1993 |
</xslo:template> |
1829 |
</xslo:stylesheet> |
1994 |
</xslo:stylesheet> |