|
Lines 213-222
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 213 |
</z:index> |
213 |
</z:index> |
| 214 |
</xslo:template> |
214 |
</xslo:template> |
| 215 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='500']"> |
215 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='500']"> |
| 216 |
<z:index name="Personal-name-see-also-from:w Personal-name-see-also-from:p Personal-name-see-also-from:s See-also-from:w See-also-from:p See-also-from:s Match:w Match:p"> |
216 |
<z:index name="Personal-name-see-also-from:w Personal-name-see-also-from:p Personal-name-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> |
| 217 |
<xslo:variable name="raw_heading"> |
217 |
<xslo:variable name="raw_heading"> |
| 218 |
<xslo:for-each select="marc:subfield"> |
218 |
<xslo:for-each select="marc:subfield"> |
| 219 |
<xslo:if test="contains('abcdefghjklmnopqrstvxyz', @code)" name="Personal-name-see-also-from:w Personal-name-see-also-from:p Personal-name-see-also-from:s See-also-from:w See-also-from:p See-also-from:s Match:w Match:p"> |
219 |
<xslo:if test="contains('abcdefghjklmnopqrstvxyz', @code)" name="Personal-name-see-also-from:w Personal-name-see-also-from:p Personal-name-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> |
| 220 |
<xslo:if test="position() > 1"> |
220 |
<xslo:if test="position() > 1"> |
| 221 |
<xslo:choose> |
221 |
<xslo:choose> |
| 222 |
<xslo:when test="contains('vxyz', @code)"> |
222 |
<xslo:when test="contains('vxyz', @code)"> |
|
Lines 299-308
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 299 |
</z:index> |
299 |
</z:index> |
| 300 |
</xslo:template> |
300 |
</xslo:template> |
| 301 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='510']"> |
301 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='510']"> |
| 302 |
<z:index name="Corporate-name-see-also-from:w Corporate-name-see-also-from:p Corporate-name-see-also-from:s See-also-from:w See-also-from:p See-also-from:s Match:w Match:p"> |
302 |
<z:index name="Corporate-name-see-also-from:w Corporate-name-see-also-from:p Corporate-name-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> |
| 303 |
<xslo:variable name="raw_heading"> |
303 |
<xslo:variable name="raw_heading"> |
| 304 |
<xslo:for-each select="marc:subfield"> |
304 |
<xslo:for-each select="marc:subfield"> |
| 305 |
<xslo:if test="contains('abcdefghklmnoprstvxyz', @code)" name="Corporate-name-see-also-from:w Corporate-name-see-also-from:p Corporate-name-see-also-from:s See-also-from:w See-also-from:p See-also-from:s Match:w Match:p"> |
305 |
<xslo:if test="contains('abcdefghklmnoprstvxyz', @code)" name="Corporate-name-see-also-from:w Corporate-name-see-also-from:p Corporate-name-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> |
| 306 |
<xslo:if test="position() > 1"> |
306 |
<xslo:if test="position() > 1"> |
| 307 |
<xslo:choose> |
307 |
<xslo:choose> |
| 308 |
<xslo:when test="contains('vxyz', @code)"> |
308 |
<xslo:when test="contains('vxyz', @code)"> |
|
Lines 385-394
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 385 |
</z:index> |
385 |
</z:index> |
| 386 |
</xslo:template> |
386 |
</xslo:template> |
| 387 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='511']"> |
387 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='511']"> |
| 388 |
<z:index name="Meeting-name-see-also-from:w Meeting-name-see-also-from:p Meeting-name-see-also-from:s See-also-from:w See-also-from:p See-also-from:s Match:w Match:p"> |
388 |
<z:index name="Meeting-name-see-also-from:w Meeting-name-see-also-from:p Meeting-name-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> |
| 389 |
<xslo:variable name="raw_heading"> |
389 |
<xslo:variable name="raw_heading"> |
| 390 |
<xslo:for-each select="marc:subfield"> |
390 |
<xslo:for-each select="marc:subfield"> |
| 391 |
<xslo:if test="contains('acdefghjklnpqstvxyz', @code)" name="Meeting-name-see-also-from:w Meeting-name-see-also-from:p Meeting-name-see-also-from:s See-also-from:w See-also-from:p See-also-from:s Match:w Match:p"> |
391 |
<xslo:if test="contains('acdefghjklnpqstvxyz', @code)" name="Meeting-name-see-also-from:w Meeting-name-see-also-from:p Meeting-name-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> |
| 392 |
<xslo:if test="position() > 1"> |
392 |
<xslo:if test="position() > 1"> |
| 393 |
<xslo:choose> |
393 |
<xslo:choose> |
| 394 |
<xslo:when test="contains('vxyz', @code)"> |
394 |
<xslo:when test="contains('vxyz', @code)"> |
|
Lines 471-480
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 471 |
</z:index> |
471 |
</z:index> |
| 472 |
</xslo:template> |
472 |
</xslo:template> |
| 473 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='530']"> |
473 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='530']"> |
| 474 |
<z:index name="Title-uniform-see-also-from:w Title-uniform-see-also-from:p Title-uniform-see-also-from:s See-also-from:w See-also-from:p See-also-from:s Match:w Match:p"> |
474 |
<z:index name="Title-uniform-see-also-from:w Title-uniform-see-also-from:p Title-uniform-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> |
| 475 |
<xslo:variable name="raw_heading"> |
475 |
<xslo:variable name="raw_heading"> |
| 476 |
<xslo:for-each select="marc:subfield"> |
476 |
<xslo:for-each select="marc:subfield"> |
| 477 |
<xslo:if test="contains('adfghklmnoprstvxyz', @code)" name="Title-uniform-see-also-from:w Title-uniform-see-also-from:p Title-uniform-see-also-from:s See-also-from:w See-also-from:p See-also-from:s Match:w Match:p"> |
477 |
<xslo:if test="contains('adfghklmnoprstvxyz', @code)" name="Title-uniform-see-also-from:w Title-uniform-see-also-from:p Title-uniform-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> |
| 478 |
<xslo:if test="position() > 1"> |
478 |
<xslo:if test="position() > 1"> |
| 479 |
<xslo:choose> |
479 |
<xslo:choose> |
| 480 |
<xslo:when test="contains('vxyz', @code)"> |
480 |
<xslo:when test="contains('vxyz', @code)"> |
|
Lines 557-566
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 557 |
</z:index> |
557 |
</z:index> |
| 558 |
</xslo:template> |
558 |
</xslo:template> |
| 559 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='548']"> |
559 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='548']"> |
| 560 |
<z:index name="Chronological-term-see-also-from:w Chronological-term-see-also-from:p Chronological-term-see-also-from:s See-also-from:w See-also-from:p See-also-from:s Match:w Match:p"> |
560 |
<z:index name="Chronological-term-see-also-from:w Chronological-term-see-also-from:p Chronological-term-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> |
| 561 |
<xslo:variable name="raw_heading"> |
561 |
<xslo:variable name="raw_heading"> |
| 562 |
<xslo:for-each select="marc:subfield"> |
562 |
<xslo:for-each select="marc:subfield"> |
| 563 |
<xslo:if test="contains('avxyz', @code)" name="Chronological-term-see-also-from:w Chronological-term-see-also-from:p Chronological-term-see-also-from:s See-also-from:w See-also-from:p See-also-from:s Match:w Match:p"> |
563 |
<xslo:if test="contains('avxyz', @code)" name="Chronological-term-see-also-from:w Chronological-term-see-also-from:p Chronological-term-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> |
| 564 |
<xslo:if test="position() > 1"> |
564 |
<xslo:if test="position() > 1"> |
| 565 |
<xslo:choose> |
565 |
<xslo:choose> |
| 566 |
<xslo:when test="contains('vxyz', @code)"> |
566 |
<xslo:when test="contains('vxyz', @code)"> |
|
Lines 643-652
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 643 |
</z:index> |
643 |
</z:index> |
| 644 |
</xslo:template> |
644 |
</xslo:template> |
| 645 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='550']"> |
645 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='550']"> |
| 646 |
<z:index name="Subject-topical-see-also-from:w Subject-topical-see-also-from:p Subject-topical-see-also-from:s See-also-from:w See-also-from:p See-also-from:s Match:w Match:p"> |
646 |
<z:index name="Subject-topical-see-also-from:w Subject-topical-see-also-from:p Subject-topical-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> |
| 647 |
<xslo:variable name="raw_heading"> |
647 |
<xslo:variable name="raw_heading"> |
| 648 |
<xslo:for-each select="marc:subfield"> |
648 |
<xslo:for-each select="marc:subfield"> |
| 649 |
<xslo:if test="contains('abvxyz', @code)" name="Subject-topical-see-also-from:w Subject-topical-see-also-from:p Subject-topical-see-also-from:s See-also-from:w See-also-from:p See-also-from:s Match:w Match:p"> |
649 |
<xslo:if test="contains('abvxyz', @code)" name="Subject-topical-see-also-from:w Subject-topical-see-also-from:p Subject-topical-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> |
| 650 |
<xslo:if test="position() > 1"> |
650 |
<xslo:if test="position() > 1"> |
| 651 |
<xslo:choose> |
651 |
<xslo:choose> |
| 652 |
<xslo:when test="contains('vxyz', @code)"> |
652 |
<xslo:when test="contains('vxyz', @code)"> |
|
Lines 729-738
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 729 |
</z:index> |
729 |
</z:index> |
| 730 |
</xslo:template> |
730 |
</xslo:template> |
| 731 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='551']"> |
731 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='551']"> |
| 732 |
<z:index name="Name-geographic-see-also-from:w Name-geographic-see-also-from:p Name-geographic-see-also-from:s See-also-from:w See-also-from:p See-also-from:s Match:w Match:p"> |
732 |
<z:index name="Name-geographic-see-also-from:w Name-geographic-see-also-from:p Name-geographic-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> |
| 733 |
<xslo:variable name="raw_heading"> |
733 |
<xslo:variable name="raw_heading"> |
| 734 |
<xslo:for-each select="marc:subfield"> |
734 |
<xslo:for-each select="marc:subfield"> |
| 735 |
<xslo:if test="contains('avxyz', @code)" name="Name-geographic-see-also-from:w Name-geographic-see-also-from:p Name-geographic-see-also-from:s See-also-from:w See-also-from:p See-also-from:s Match:w Match:p"> |
735 |
<xslo:if test="contains('avxyz', @code)" name="Name-geographic-see-also-from:w Name-geographic-see-also-from:p Name-geographic-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> |
| 736 |
<xslo:if test="position() > 1"> |
736 |
<xslo:if test="position() > 1"> |
| 737 |
<xslo:choose> |
737 |
<xslo:choose> |
| 738 |
<xslo:when test="contains('vxyz', @code)"> |
738 |
<xslo:when test="contains('vxyz', @code)"> |
|
Lines 815-824
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 815 |
</z:index> |
815 |
</z:index> |
| 816 |
</xslo:template> |
816 |
</xslo:template> |
| 817 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='555']"> |
817 |
<xslo:template mode="index_heading" match="marc:datafield[@tag='555']"> |
| 818 |
<z:index name="Term-genre-form-see-also-from:w Term-genre-form-see-also-from:p Term-genre-form-see-also-from:s See-also-from:w See-also-from:p See-also-from:s Match:w Match:p"> |
818 |
<z:index name="Term-genre-form-see-also-from:w Term-genre-form-see-also-from:p Term-genre-form-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> |
| 819 |
<xslo:variable name="raw_heading"> |
819 |
<xslo:variable name="raw_heading"> |
| 820 |
<xslo:for-each select="marc:subfield"> |
820 |
<xslo:for-each select="marc:subfield"> |
| 821 |
<xslo:if test="contains('avxyz', @code)" name="Term-genre-form-see-also-from:w Term-genre-form-see-also-from:p Term-genre-form-see-also-from:s See-also-from:w See-also-from:p See-also-from:s Match:w Match:p"> |
821 |
<xslo:if test="contains('avxyz', @code)" name="Term-genre-form-see-also-from:w Term-genre-form-see-also-from:p Term-genre-form-see-also-from:s See-also-from:w See-also-from:p See-also-from:s"> |
| 822 |
<xslo:if test="position() > 1"> |
822 |
<xslo:if test="position() > 1"> |
| 823 |
<xslo:choose> |
823 |
<xslo:choose> |
| 824 |
<xslo:when test="contains('vxyz', @code)"> |
824 |
<xslo:when test="contains('vxyz', @code)"> |
|
Lines 1128-1134
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1128 |
</xslo:otherwise> |
1128 |
</xslo:otherwise> |
| 1129 |
</xslo:choose> |
1129 |
</xslo:choose> |
| 1130 |
</xslo:if> |
1130 |
</xslo:if> |
| 1131 |
<xslo:value-of select="."/> |
1131 |
<xslo:call-template name="chopPunctuation"> |
|
|
1132 |
<xslo:with-param name="chopString"> |
| 1133 |
<xslo:value-of select="."/> |
| 1134 |
</xslo:with-param> |
| 1135 |
</xslo:call-template> |
| 1132 |
</xslo:if> |
1136 |
</xslo:if> |
| 1133 |
</xslo:for-each> |
1137 |
</xslo:for-each> |
| 1134 |
</xslo:variable> |
1138 |
</xslo:variable> |
|
Lines 1163-1169
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1163 |
</xslo:otherwise> |
1167 |
</xslo:otherwise> |
| 1164 |
</xslo:choose> |
1168 |
</xslo:choose> |
| 1165 |
</xslo:if> |
1169 |
</xslo:if> |
| 1166 |
<xslo:value-of select="."/> |
1170 |
<xslo:call-template name="chopPunctuation"> |
|
|
1171 |
<xslo:with-param name="chopString"> |
| 1172 |
<xslo:value-of select="."/> |
| 1173 |
</xslo:with-param> |
| 1174 |
</xslo:call-template> |
| 1175 |
</xslo:if> |
| 1176 |
</xslo:for-each> |
| 1177 |
</xslo:variable> |
| 1178 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
| 1179 |
</z:index> |
| 1180 |
</xslo:template> |
| 1181 |
<xslo:template mode="index_match_heading" match="marc:datafield[@tag='500']"> |
| 1182 |
<z:index name="Match:w Match:p"> |
| 1183 |
<xslo:variable name="raw_heading"> |
| 1184 |
<xslo:for-each select="marc:subfield"> |
| 1185 |
<xslo:if test="contains('abcdefghjklmnopqrstvxyz', @code)" name="Match:w Match:p"> |
| 1186 |
<xslo:if test="position() > 1"> |
| 1187 |
<xslo:choose> |
| 1188 |
<xslo:when test="contains('vxyz', @code)"> |
| 1189 |
<xslo:choose> |
| 1190 |
<xslo:when test="@code = $general_subdivision_subfield"> |
| 1191 |
<xslo:text> generalsubdiv </xslo:text> |
| 1192 |
</xslo:when> |
| 1193 |
<xslo:when test="@code = $form_subdivision_subfield"> |
| 1194 |
<xslo:text> formsubdiv </xslo:text> |
| 1195 |
</xslo:when> |
| 1196 |
<xslo:when test="@code = $chronological_subdivision_subfield"> |
| 1197 |
<xslo:text> chronologicalsubdiv </xslo:text> |
| 1198 |
</xslo:when> |
| 1199 |
<xslo:when test="@code = $geographic_subdivision_subfield"> |
| 1200 |
<xslo:text> geographicsubdiv </xslo:text> |
| 1201 |
</xslo:when> |
| 1202 |
</xslo:choose> |
| 1203 |
</xslo:when> |
| 1204 |
<xslo:otherwise> |
| 1205 |
<xslo:value-of select="substring(' ', 1, 1)"/> |
| 1206 |
</xslo:otherwise> |
| 1207 |
</xslo:choose> |
| 1208 |
</xslo:if> |
| 1209 |
<xslo:call-template name="chopPunctuation"> |
| 1210 |
<xslo:with-param name="chopString"> |
| 1211 |
<xslo:value-of select="."/> |
| 1212 |
</xslo:with-param> |
| 1213 |
</xslo:call-template> |
| 1167 |
</xslo:if> |
1214 |
</xslo:if> |
| 1168 |
</xslo:for-each> |
1215 |
</xslo:for-each> |
| 1169 |
</xslo:variable> |
1216 |
</xslo:variable> |
|
Lines 1198-1204
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1198 |
</xslo:otherwise> |
1245 |
</xslo:otherwise> |
| 1199 |
</xslo:choose> |
1246 |
</xslo:choose> |
| 1200 |
</xslo:if> |
1247 |
</xslo:if> |
| 1201 |
<xslo:value-of select="."/> |
1248 |
<xslo:call-template name="chopPunctuation"> |
|
|
1249 |
<xslo:with-param name="chopString"> |
| 1250 |
<xslo:value-of select="."/> |
| 1251 |
</xslo:with-param> |
| 1252 |
</xslo:call-template> |
| 1202 |
</xslo:if> |
1253 |
</xslo:if> |
| 1203 |
</xslo:for-each> |
1254 |
</xslo:for-each> |
| 1204 |
</xslo:variable> |
1255 |
</xslo:variable> |
|
Lines 1233-1239
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1233 |
</xslo:otherwise> |
1284 |
</xslo:otherwise> |
| 1234 |
</xslo:choose> |
1285 |
</xslo:choose> |
| 1235 |
</xslo:if> |
1286 |
</xslo:if> |
| 1236 |
<xslo:value-of select="."/> |
1287 |
<xslo:call-template name="chopPunctuation"> |
|
|
1288 |
<xslo:with-param name="chopString"> |
| 1289 |
<xslo:value-of select="."/> |
| 1290 |
</xslo:with-param> |
| 1291 |
</xslo:call-template> |
| 1292 |
</xslo:if> |
| 1293 |
</xslo:for-each> |
| 1294 |
</xslo:variable> |
| 1295 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
| 1296 |
</z:index> |
| 1297 |
</xslo:template> |
| 1298 |
<xslo:template mode="index_match_heading" match="marc:datafield[@tag='510']"> |
| 1299 |
<z:index name="Match:w Match:p"> |
| 1300 |
<xslo:variable name="raw_heading"> |
| 1301 |
<xslo:for-each select="marc:subfield"> |
| 1302 |
<xslo:if test="contains('abcdefghklmnoprstvxyz', @code)" name="Match:w Match:p"> |
| 1303 |
<xslo:if test="position() > 1"> |
| 1304 |
<xslo:choose> |
| 1305 |
<xslo:when test="contains('vxyz', @code)"> |
| 1306 |
<xslo:choose> |
| 1307 |
<xslo:when test="@code = $general_subdivision_subfield"> |
| 1308 |
<xslo:text> generalsubdiv </xslo:text> |
| 1309 |
</xslo:when> |
| 1310 |
<xslo:when test="@code = $form_subdivision_subfield"> |
| 1311 |
<xslo:text> formsubdiv </xslo:text> |
| 1312 |
</xslo:when> |
| 1313 |
<xslo:when test="@code = $chronological_subdivision_subfield"> |
| 1314 |
<xslo:text> chronologicalsubdiv </xslo:text> |
| 1315 |
</xslo:when> |
| 1316 |
<xslo:when test="@code = $geographic_subdivision_subfield"> |
| 1317 |
<xslo:text> geographicsubdiv </xslo:text> |
| 1318 |
</xslo:when> |
| 1319 |
</xslo:choose> |
| 1320 |
</xslo:when> |
| 1321 |
<xslo:otherwise> |
| 1322 |
<xslo:value-of select="substring(' ', 1, 1)"/> |
| 1323 |
</xslo:otherwise> |
| 1324 |
</xslo:choose> |
| 1325 |
</xslo:if> |
| 1326 |
<xslo:call-template name="chopPunctuation"> |
| 1327 |
<xslo:with-param name="chopString"> |
| 1328 |
<xslo:value-of select="."/> |
| 1329 |
</xslo:with-param> |
| 1330 |
</xslo:call-template> |
| 1237 |
</xslo:if> |
1331 |
</xslo:if> |
| 1238 |
</xslo:for-each> |
1332 |
</xslo:for-each> |
| 1239 |
</xslo:variable> |
1333 |
</xslo:variable> |
|
Lines 1268-1274
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1268 |
</xslo:otherwise> |
1362 |
</xslo:otherwise> |
| 1269 |
</xslo:choose> |
1363 |
</xslo:choose> |
| 1270 |
</xslo:if> |
1364 |
</xslo:if> |
| 1271 |
<xslo:value-of select="."/> |
1365 |
<xslo:call-template name="chopPunctuation"> |
|
|
1366 |
<xslo:with-param name="chopString"> |
| 1367 |
<xslo:value-of select="."/> |
| 1368 |
</xslo:with-param> |
| 1369 |
</xslo:call-template> |
| 1272 |
</xslo:if> |
1370 |
</xslo:if> |
| 1273 |
</xslo:for-each> |
1371 |
</xslo:for-each> |
| 1274 |
</xslo:variable> |
1372 |
</xslo:variable> |
|
Lines 1303-1309
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1303 |
</xslo:otherwise> |
1401 |
</xslo:otherwise> |
| 1304 |
</xslo:choose> |
1402 |
</xslo:choose> |
| 1305 |
</xslo:if> |
1403 |
</xslo:if> |
| 1306 |
<xslo:value-of select="."/> |
1404 |
<xslo:call-template name="chopPunctuation"> |
|
|
1405 |
<xslo:with-param name="chopString"> |
| 1406 |
<xslo:value-of select="."/> |
| 1407 |
</xslo:with-param> |
| 1408 |
</xslo:call-template> |
| 1409 |
</xslo:if> |
| 1410 |
</xslo:for-each> |
| 1411 |
</xslo:variable> |
| 1412 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
| 1413 |
</z:index> |
| 1414 |
</xslo:template> |
| 1415 |
<xslo:template mode="index_match_heading" match="marc:datafield[@tag='511']"> |
| 1416 |
<z:index name="Match:w Match:p"> |
| 1417 |
<xslo:variable name="raw_heading"> |
| 1418 |
<xslo:for-each select="marc:subfield"> |
| 1419 |
<xslo:if test="contains('acdefghjklnpqstvxyz', @code)" name="Match:w Match:p"> |
| 1420 |
<xslo:if test="position() > 1"> |
| 1421 |
<xslo:choose> |
| 1422 |
<xslo:when test="contains('vxyz', @code)"> |
| 1423 |
<xslo:choose> |
| 1424 |
<xslo:when test="@code = $general_subdivision_subfield"> |
| 1425 |
<xslo:text> generalsubdiv </xslo:text> |
| 1426 |
</xslo:when> |
| 1427 |
<xslo:when test="@code = $form_subdivision_subfield"> |
| 1428 |
<xslo:text> formsubdiv </xslo:text> |
| 1429 |
</xslo:when> |
| 1430 |
<xslo:when test="@code = $chronological_subdivision_subfield"> |
| 1431 |
<xslo:text> chronologicalsubdiv </xslo:text> |
| 1432 |
</xslo:when> |
| 1433 |
<xslo:when test="@code = $geographic_subdivision_subfield"> |
| 1434 |
<xslo:text> geographicsubdiv </xslo:text> |
| 1435 |
</xslo:when> |
| 1436 |
</xslo:choose> |
| 1437 |
</xslo:when> |
| 1438 |
<xslo:otherwise> |
| 1439 |
<xslo:value-of select="substring(' ', 1, 1)"/> |
| 1440 |
</xslo:otherwise> |
| 1441 |
</xslo:choose> |
| 1442 |
</xslo:if> |
| 1443 |
<xslo:call-template name="chopPunctuation"> |
| 1444 |
<xslo:with-param name="chopString"> |
| 1445 |
<xslo:value-of select="."/> |
| 1446 |
</xslo:with-param> |
| 1447 |
</xslo:call-template> |
| 1307 |
</xslo:if> |
1448 |
</xslo:if> |
| 1308 |
</xslo:for-each> |
1449 |
</xslo:for-each> |
| 1309 |
</xslo:variable> |
1450 |
</xslo:variable> |
|
Lines 1338-1344
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1338 |
</xslo:otherwise> |
1479 |
</xslo:otherwise> |
| 1339 |
</xslo:choose> |
1480 |
</xslo:choose> |
| 1340 |
</xslo:if> |
1481 |
</xslo:if> |
| 1341 |
<xslo:value-of select="."/> |
1482 |
<xslo:call-template name="chopPunctuation"> |
|
|
1483 |
<xslo:with-param name="chopString"> |
| 1484 |
<xslo:value-of select="."/> |
| 1485 |
</xslo:with-param> |
| 1486 |
</xslo:call-template> |
| 1342 |
</xslo:if> |
1487 |
</xslo:if> |
| 1343 |
</xslo:for-each> |
1488 |
</xslo:for-each> |
| 1344 |
</xslo:variable> |
1489 |
</xslo:variable> |
|
Lines 1373-1379
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1373 |
</xslo:otherwise> |
1518 |
</xslo:otherwise> |
| 1374 |
</xslo:choose> |
1519 |
</xslo:choose> |
| 1375 |
</xslo:if> |
1520 |
</xslo:if> |
| 1376 |
<xslo:value-of select="."/> |
1521 |
<xslo:call-template name="chopPunctuation"> |
|
|
1522 |
<xslo:with-param name="chopString"> |
| 1523 |
<xslo:value-of select="."/> |
| 1524 |
</xslo:with-param> |
| 1525 |
</xslo:call-template> |
| 1526 |
</xslo:if> |
| 1527 |
</xslo:for-each> |
| 1528 |
</xslo:variable> |
| 1529 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
| 1530 |
</z:index> |
| 1531 |
</xslo:template> |
| 1532 |
<xslo:template mode="index_match_heading" match="marc:datafield[@tag='530']"> |
| 1533 |
<z:index name="Match:w Match:p"> |
| 1534 |
<xslo:variable name="raw_heading"> |
| 1535 |
<xslo:for-each select="marc:subfield"> |
| 1536 |
<xslo:if test="contains('adfghklmnoprstvxyz', @code)" name="Match:w Match:p"> |
| 1537 |
<xslo:if test="position() > 1"> |
| 1538 |
<xslo:choose> |
| 1539 |
<xslo:when test="contains('vxyz', @code)"> |
| 1540 |
<xslo:choose> |
| 1541 |
<xslo:when test="@code = $general_subdivision_subfield"> |
| 1542 |
<xslo:text> generalsubdiv </xslo:text> |
| 1543 |
</xslo:when> |
| 1544 |
<xslo:when test="@code = $form_subdivision_subfield"> |
| 1545 |
<xslo:text> formsubdiv </xslo:text> |
| 1546 |
</xslo:when> |
| 1547 |
<xslo:when test="@code = $chronological_subdivision_subfield"> |
| 1548 |
<xslo:text> chronologicalsubdiv </xslo:text> |
| 1549 |
</xslo:when> |
| 1550 |
<xslo:when test="@code = $geographic_subdivision_subfield"> |
| 1551 |
<xslo:text> geographicsubdiv </xslo:text> |
| 1552 |
</xslo:when> |
| 1553 |
</xslo:choose> |
| 1554 |
</xslo:when> |
| 1555 |
<xslo:otherwise> |
| 1556 |
<xslo:value-of select="substring(' ', 1, 1)"/> |
| 1557 |
</xslo:otherwise> |
| 1558 |
</xslo:choose> |
| 1559 |
</xslo:if> |
| 1560 |
<xslo:call-template name="chopPunctuation"> |
| 1561 |
<xslo:with-param name="chopString"> |
| 1562 |
<xslo:value-of select="."/> |
| 1563 |
</xslo:with-param> |
| 1564 |
</xslo:call-template> |
| 1377 |
</xslo:if> |
1565 |
</xslo:if> |
| 1378 |
</xslo:for-each> |
1566 |
</xslo:for-each> |
| 1379 |
</xslo:variable> |
1567 |
</xslo:variable> |
|
Lines 1408-1414
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1408 |
</xslo:otherwise> |
1596 |
</xslo:otherwise> |
| 1409 |
</xslo:choose> |
1597 |
</xslo:choose> |
| 1410 |
</xslo:if> |
1598 |
</xslo:if> |
| 1411 |
<xslo:value-of select="."/> |
1599 |
<xslo:call-template name="chopPunctuation"> |
|
|
1600 |
<xslo:with-param name="chopString"> |
| 1601 |
<xslo:value-of select="."/> |
| 1602 |
</xslo:with-param> |
| 1603 |
</xslo:call-template> |
| 1412 |
</xslo:if> |
1604 |
</xslo:if> |
| 1413 |
</xslo:for-each> |
1605 |
</xslo:for-each> |
| 1414 |
</xslo:variable> |
1606 |
</xslo:variable> |
|
Lines 1443-1449
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1443 |
</xslo:otherwise> |
1635 |
</xslo:otherwise> |
| 1444 |
</xslo:choose> |
1636 |
</xslo:choose> |
| 1445 |
</xslo:if> |
1637 |
</xslo:if> |
| 1446 |
<xslo:value-of select="."/> |
1638 |
<xslo:call-template name="chopPunctuation"> |
|
|
1639 |
<xslo:with-param name="chopString"> |
| 1640 |
<xslo:value-of select="."/> |
| 1641 |
</xslo:with-param> |
| 1642 |
</xslo:call-template> |
| 1643 |
</xslo:if> |
| 1644 |
</xslo:for-each> |
| 1645 |
</xslo:variable> |
| 1646 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
| 1647 |
</z:index> |
| 1648 |
</xslo:template> |
| 1649 |
<xslo:template mode="index_match_heading" match="marc:datafield[@tag='548']"> |
| 1650 |
<z:index name="Match:w Match:p"> |
| 1651 |
<xslo:variable name="raw_heading"> |
| 1652 |
<xslo:for-each select="marc:subfield"> |
| 1653 |
<xslo:if test="contains('avxyz', @code)" name="Match:w Match:p"> |
| 1654 |
<xslo:if test="position() > 1"> |
| 1655 |
<xslo:choose> |
| 1656 |
<xslo:when test="contains('vxyz', @code)"> |
| 1657 |
<xslo:choose> |
| 1658 |
<xslo:when test="@code = $general_subdivision_subfield"> |
| 1659 |
<xslo:text> generalsubdiv </xslo:text> |
| 1660 |
</xslo:when> |
| 1661 |
<xslo:when test="@code = $form_subdivision_subfield"> |
| 1662 |
<xslo:text> formsubdiv </xslo:text> |
| 1663 |
</xslo:when> |
| 1664 |
<xslo:when test="@code = $chronological_subdivision_subfield"> |
| 1665 |
<xslo:text> chronologicalsubdiv </xslo:text> |
| 1666 |
</xslo:when> |
| 1667 |
<xslo:when test="@code = $geographic_subdivision_subfield"> |
| 1668 |
<xslo:text> geographicsubdiv </xslo:text> |
| 1669 |
</xslo:when> |
| 1670 |
</xslo:choose> |
| 1671 |
</xslo:when> |
| 1672 |
<xslo:otherwise> |
| 1673 |
<xslo:value-of select="substring(' ', 1, 1)"/> |
| 1674 |
</xslo:otherwise> |
| 1675 |
</xslo:choose> |
| 1676 |
</xslo:if> |
| 1677 |
<xslo:call-template name="chopPunctuation"> |
| 1678 |
<xslo:with-param name="chopString"> |
| 1679 |
<xslo:value-of select="."/> |
| 1680 |
</xslo:with-param> |
| 1681 |
</xslo:call-template> |
| 1447 |
</xslo:if> |
1682 |
</xslo:if> |
| 1448 |
</xslo:for-each> |
1683 |
</xslo:for-each> |
| 1449 |
</xslo:variable> |
1684 |
</xslo:variable> |
|
Lines 1478-1484
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1478 |
</xslo:otherwise> |
1713 |
</xslo:otherwise> |
| 1479 |
</xslo:choose> |
1714 |
</xslo:choose> |
| 1480 |
</xslo:if> |
1715 |
</xslo:if> |
| 1481 |
<xslo:value-of select="."/> |
1716 |
<xslo:call-template name="chopPunctuation"> |
|
|
1717 |
<xslo:with-param name="chopString"> |
| 1718 |
<xslo:value-of select="."/> |
| 1719 |
</xslo:with-param> |
| 1720 |
</xslo:call-template> |
| 1482 |
</xslo:if> |
1721 |
</xslo:if> |
| 1483 |
</xslo:for-each> |
1722 |
</xslo:for-each> |
| 1484 |
</xslo:variable> |
1723 |
</xslo:variable> |
|
Lines 1513-1519
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1513 |
</xslo:otherwise> |
1752 |
</xslo:otherwise> |
| 1514 |
</xslo:choose> |
1753 |
</xslo:choose> |
| 1515 |
</xslo:if> |
1754 |
</xslo:if> |
| 1516 |
<xslo:value-of select="."/> |
1755 |
<xslo:call-template name="chopPunctuation"> |
|
|
1756 |
<xslo:with-param name="chopString"> |
| 1757 |
<xslo:value-of select="."/> |
| 1758 |
</xslo:with-param> |
| 1759 |
</xslo:call-template> |
| 1760 |
</xslo:if> |
| 1761 |
</xslo:for-each> |
| 1762 |
</xslo:variable> |
| 1763 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
| 1764 |
</z:index> |
| 1765 |
</xslo:template> |
| 1766 |
<xslo:template mode="index_match_heading" match="marc:datafield[@tag='550']"> |
| 1767 |
<z:index name="Match:w Match:p"> |
| 1768 |
<xslo:variable name="raw_heading"> |
| 1769 |
<xslo:for-each select="marc:subfield"> |
| 1770 |
<xslo:if test="contains('abvxyz', @code)" name="Match:w Match:p"> |
| 1771 |
<xslo:if test="position() > 1"> |
| 1772 |
<xslo:choose> |
| 1773 |
<xslo:when test="contains('vxyz', @code)"> |
| 1774 |
<xslo:choose> |
| 1775 |
<xslo:when test="@code = $general_subdivision_subfield"> |
| 1776 |
<xslo:text> generalsubdiv </xslo:text> |
| 1777 |
</xslo:when> |
| 1778 |
<xslo:when test="@code = $form_subdivision_subfield"> |
| 1779 |
<xslo:text> formsubdiv </xslo:text> |
| 1780 |
</xslo:when> |
| 1781 |
<xslo:when test="@code = $chronological_subdivision_subfield"> |
| 1782 |
<xslo:text> chronologicalsubdiv </xslo:text> |
| 1783 |
</xslo:when> |
| 1784 |
<xslo:when test="@code = $geographic_subdivision_subfield"> |
| 1785 |
<xslo:text> geographicsubdiv </xslo:text> |
| 1786 |
</xslo:when> |
| 1787 |
</xslo:choose> |
| 1788 |
</xslo:when> |
| 1789 |
<xslo:otherwise> |
| 1790 |
<xslo:value-of select="substring(' ', 1, 1)"/> |
| 1791 |
</xslo:otherwise> |
| 1792 |
</xslo:choose> |
| 1793 |
</xslo:if> |
| 1794 |
<xslo:call-template name="chopPunctuation"> |
| 1795 |
<xslo:with-param name="chopString"> |
| 1796 |
<xslo:value-of select="."/> |
| 1797 |
</xslo:with-param> |
| 1798 |
</xslo:call-template> |
| 1517 |
</xslo:if> |
1799 |
</xslo:if> |
| 1518 |
</xslo:for-each> |
1800 |
</xslo:for-each> |
| 1519 |
</xslo:variable> |
1801 |
</xslo:variable> |
|
Lines 1548-1554
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1548 |
</xslo:otherwise> |
1830 |
</xslo:otherwise> |
| 1549 |
</xslo:choose> |
1831 |
</xslo:choose> |
| 1550 |
</xslo:if> |
1832 |
</xslo:if> |
| 1551 |
<xslo:value-of select="."/> |
1833 |
<xslo:call-template name="chopPunctuation"> |
|
|
1834 |
<xslo:with-param name="chopString"> |
| 1835 |
<xslo:value-of select="."/> |
| 1836 |
</xslo:with-param> |
| 1837 |
</xslo:call-template> |
| 1552 |
</xslo:if> |
1838 |
</xslo:if> |
| 1553 |
</xslo:for-each> |
1839 |
</xslo:for-each> |
| 1554 |
</xslo:variable> |
1840 |
</xslo:variable> |
|
Lines 1583-1589
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1583 |
</xslo:otherwise> |
1869 |
</xslo:otherwise> |
| 1584 |
</xslo:choose> |
1870 |
</xslo:choose> |
| 1585 |
</xslo:if> |
1871 |
</xslo:if> |
| 1586 |
<xslo:value-of select="."/> |
1872 |
<xslo:call-template name="chopPunctuation"> |
|
|
1873 |
<xslo:with-param name="chopString"> |
| 1874 |
<xslo:value-of select="."/> |
| 1875 |
</xslo:with-param> |
| 1876 |
</xslo:call-template> |
| 1877 |
</xslo:if> |
| 1878 |
</xslo:for-each> |
| 1879 |
</xslo:variable> |
| 1880 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
| 1881 |
</z:index> |
| 1882 |
</xslo:template> |
| 1883 |
<xslo:template mode="index_match_heading" match="marc:datafield[@tag='551']"> |
| 1884 |
<z:index name="Match:w Match:p"> |
| 1885 |
<xslo:variable name="raw_heading"> |
| 1886 |
<xslo:for-each select="marc:subfield"> |
| 1887 |
<xslo:if test="contains('avxyz', @code)" name="Match:w Match:p"> |
| 1888 |
<xslo:if test="position() > 1"> |
| 1889 |
<xslo:choose> |
| 1890 |
<xslo:when test="contains('vxyz', @code)"> |
| 1891 |
<xslo:choose> |
| 1892 |
<xslo:when test="@code = $general_subdivision_subfield"> |
| 1893 |
<xslo:text> generalsubdiv </xslo:text> |
| 1894 |
</xslo:when> |
| 1895 |
<xslo:when test="@code = $form_subdivision_subfield"> |
| 1896 |
<xslo:text> formsubdiv </xslo:text> |
| 1897 |
</xslo:when> |
| 1898 |
<xslo:when test="@code = $chronological_subdivision_subfield"> |
| 1899 |
<xslo:text> chronologicalsubdiv </xslo:text> |
| 1900 |
</xslo:when> |
| 1901 |
<xslo:when test="@code = $geographic_subdivision_subfield"> |
| 1902 |
<xslo:text> geographicsubdiv </xslo:text> |
| 1903 |
</xslo:when> |
| 1904 |
</xslo:choose> |
| 1905 |
</xslo:when> |
| 1906 |
<xslo:otherwise> |
| 1907 |
<xslo:value-of select="substring(' ', 1, 1)"/> |
| 1908 |
</xslo:otherwise> |
| 1909 |
</xslo:choose> |
| 1910 |
</xslo:if> |
| 1911 |
<xslo:call-template name="chopPunctuation"> |
| 1912 |
<xslo:with-param name="chopString"> |
| 1913 |
<xslo:value-of select="."/> |
| 1914 |
</xslo:with-param> |
| 1915 |
</xslo:call-template> |
| 1587 |
</xslo:if> |
1916 |
</xslo:if> |
| 1588 |
</xslo:for-each> |
1917 |
</xslo:for-each> |
| 1589 |
</xslo:variable> |
1918 |
</xslo:variable> |
|
Lines 1618-1624
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1618 |
</xslo:otherwise> |
1947 |
</xslo:otherwise> |
| 1619 |
</xslo:choose> |
1948 |
</xslo:choose> |
| 1620 |
</xslo:if> |
1949 |
</xslo:if> |
| 1621 |
<xslo:value-of select="."/> |
1950 |
<xslo:call-template name="chopPunctuation"> |
|
|
1951 |
<xslo:with-param name="chopString"> |
| 1952 |
<xslo:value-of select="."/> |
| 1953 |
</xslo:with-param> |
| 1954 |
</xslo:call-template> |
| 1622 |
</xslo:if> |
1955 |
</xslo:if> |
| 1623 |
</xslo:for-each> |
1956 |
</xslo:for-each> |
| 1624 |
</xslo:variable> |
1957 |
</xslo:variable> |
|
Lines 1653-1659
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1653 |
</xslo:otherwise> |
1986 |
</xslo:otherwise> |
| 1654 |
</xslo:choose> |
1987 |
</xslo:choose> |
| 1655 |
</xslo:if> |
1988 |
</xslo:if> |
| 1656 |
<xslo:value-of select="."/> |
1989 |
<xslo:call-template name="chopPunctuation"> |
|
|
1990 |
<xslo:with-param name="chopString"> |
| 1991 |
<xslo:value-of select="."/> |
| 1992 |
</xslo:with-param> |
| 1993 |
</xslo:call-template> |
| 1994 |
</xslo:if> |
| 1995 |
</xslo:for-each> |
| 1996 |
</xslo:variable> |
| 1997 |
<xslo:value-of select="normalize-space($raw_heading)"/> |
| 1998 |
</z:index> |
| 1999 |
</xslo:template> |
| 2000 |
<xslo:template mode="index_match_heading" match="marc:datafield[@tag='555']"> |
| 2001 |
<z:index name="Match:w Match:p"> |
| 2002 |
<xslo:variable name="raw_heading"> |
| 2003 |
<xslo:for-each select="marc:subfield"> |
| 2004 |
<xslo:if test="contains('avxyz', @code)" name="Match:w Match:p"> |
| 2005 |
<xslo:if test="position() > 1"> |
| 2006 |
<xslo:choose> |
| 2007 |
<xslo:when test="contains('vxyz', @code)"> |
| 2008 |
<xslo:choose> |
| 2009 |
<xslo:when test="@code = $general_subdivision_subfield"> |
| 2010 |
<xslo:text> generalsubdiv </xslo:text> |
| 2011 |
</xslo:when> |
| 2012 |
<xslo:when test="@code = $form_subdivision_subfield"> |
| 2013 |
<xslo:text> formsubdiv </xslo:text> |
| 2014 |
</xslo:when> |
| 2015 |
<xslo:when test="@code = $chronological_subdivision_subfield"> |
| 2016 |
<xslo:text> chronologicalsubdiv </xslo:text> |
| 2017 |
</xslo:when> |
| 2018 |
<xslo:when test="@code = $geographic_subdivision_subfield"> |
| 2019 |
<xslo:text> geographicsubdiv </xslo:text> |
| 2020 |
</xslo:when> |
| 2021 |
</xslo:choose> |
| 2022 |
</xslo:when> |
| 2023 |
<xslo:otherwise> |
| 2024 |
<xslo:value-of select="substring(' ', 1, 1)"/> |
| 2025 |
</xslo:otherwise> |
| 2026 |
</xslo:choose> |
| 2027 |
</xslo:if> |
| 2028 |
<xslo:call-template name="chopPunctuation"> |
| 2029 |
<xslo:with-param name="chopString"> |
| 2030 |
<xslo:value-of select="."/> |
| 2031 |
</xslo:with-param> |
| 2032 |
</xslo:call-template> |
| 1657 |
</xslo:if> |
2033 |
</xslo:if> |
| 1658 |
</xslo:for-each> |
2034 |
</xslo:for-each> |
| 1659 |
</xslo:variable> |
2035 |
</xslo:variable> |
|
Lines 1688-1694
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1688 |
</xslo:otherwise> |
2064 |
</xslo:otherwise> |
| 1689 |
</xslo:choose> |
2065 |
</xslo:choose> |
| 1690 |
</xslo:if> |
2066 |
</xslo:if> |
| 1691 |
<xslo:value-of select="."/> |
2067 |
<xslo:call-template name="chopPunctuation"> |
|
|
2068 |
<xslo:with-param name="chopString"> |
| 2069 |
<xslo:value-of select="."/> |
| 2070 |
</xslo:with-param> |
| 2071 |
</xslo:call-template> |
| 1692 |
</xslo:if> |
2072 |
</xslo:if> |
| 1693 |
</xslo:for-each> |
2073 |
</xslo:for-each> |
| 1694 |
</xslo:variable> |
2074 |
</xslo:variable> |
|
Lines 1723-1729
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1723 |
</xslo:otherwise> |
2103 |
</xslo:otherwise> |
| 1724 |
</xslo:choose> |
2104 |
</xslo:choose> |
| 1725 |
</xslo:if> |
2105 |
</xslo:if> |
| 1726 |
<xslo:value-of select="."/> |
2106 |
<xslo:call-template name="chopPunctuation"> |
|
|
2107 |
<xslo:with-param name="chopString"> |
| 2108 |
<xslo:value-of select="."/> |
| 2109 |
</xslo:with-param> |
| 2110 |
</xslo:call-template> |
| 1727 |
</xslo:if> |
2111 |
</xslo:if> |
| 1728 |
</xslo:for-each> |
2112 |
</xslo:for-each> |
| 1729 |
</xslo:variable> |
2113 |
</xslo:variable> |
|
Lines 1758-1764
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1758 |
</xslo:otherwise> |
2142 |
</xslo:otherwise> |
| 1759 |
</xslo:choose> |
2143 |
</xslo:choose> |
| 1760 |
</xslo:if> |
2144 |
</xslo:if> |
| 1761 |
<xslo:value-of select="."/> |
2145 |
<xslo:call-template name="chopPunctuation"> |
|
|
2146 |
<xslo:with-param name="chopString"> |
| 2147 |
<xslo:value-of select="."/> |
| 2148 |
</xslo:with-param> |
| 2149 |
</xslo:call-template> |
| 1762 |
</xslo:if> |
2150 |
</xslo:if> |
| 1763 |
</xslo:for-each> |
2151 |
</xslo:for-each> |
| 1764 |
</xslo:variable> |
2152 |
</xslo:variable> |
|
Lines 1793-1799
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1793 |
</xslo:otherwise> |
2181 |
</xslo:otherwise> |
| 1794 |
</xslo:choose> |
2182 |
</xslo:choose> |
| 1795 |
</xslo:if> |
2183 |
</xslo:if> |
| 1796 |
<xslo:value-of select="."/> |
2184 |
<xslo:call-template name="chopPunctuation"> |
|
|
2185 |
<xslo:with-param name="chopString"> |
| 2186 |
<xslo:value-of select="."/> |
| 2187 |
</xslo:with-param> |
| 2188 |
</xslo:call-template> |
| 1797 |
</xslo:if> |
2189 |
</xslo:if> |
| 1798 |
</xslo:for-each> |
2190 |
</xslo:for-each> |
| 1799 |
</xslo:variable> |
2191 |
</xslo:variable> |
|
Lines 1828-1834
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1828 |
</xslo:otherwise> |
2220 |
</xslo:otherwise> |
| 1829 |
</xslo:choose> |
2221 |
</xslo:choose> |
| 1830 |
</xslo:if> |
2222 |
</xslo:if> |
| 1831 |
<xslo:value-of select="."/> |
2223 |
<xslo:call-template name="chopPunctuation"> |
|
|
2224 |
<xslo:with-param name="chopString"> |
| 2225 |
<xslo:value-of select="."/> |
| 2226 |
</xslo:with-param> |
| 2227 |
</xslo:call-template> |
| 1832 |
</xslo:if> |
2228 |
</xslo:if> |
| 1833 |
</xslo:for-each> |
2229 |
</xslo:for-each> |
| 1834 |
</xslo:variable> |
2230 |
</xslo:variable> |
|
Lines 1863-1869
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1863 |
</xslo:otherwise> |
2259 |
</xslo:otherwise> |
| 1864 |
</xslo:choose> |
2260 |
</xslo:choose> |
| 1865 |
</xslo:if> |
2261 |
</xslo:if> |
| 1866 |
<xslo:value-of select="."/> |
2262 |
<xslo:call-template name="chopPunctuation"> |
|
|
2263 |
<xslo:with-param name="chopString"> |
| 2264 |
<xslo:value-of select="."/> |
| 2265 |
</xslo:with-param> |
| 2266 |
</xslo:call-template> |
| 1867 |
</xslo:if> |
2267 |
</xslo:if> |
| 1868 |
</xslo:for-each> |
2268 |
</xslo:for-each> |
| 1869 |
</xslo:variable> |
2269 |
</xslo:variable> |
|
Lines 1898-1904
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1898 |
</xslo:otherwise> |
2298 |
</xslo:otherwise> |
| 1899 |
</xslo:choose> |
2299 |
</xslo:choose> |
| 1900 |
</xslo:if> |
2300 |
</xslo:if> |
| 1901 |
<xslo:value-of select="."/> |
2301 |
<xslo:call-template name="chopPunctuation"> |
|
|
2302 |
<xslo:with-param name="chopString"> |
| 2303 |
<xslo:value-of select="."/> |
| 2304 |
</xslo:with-param> |
| 2305 |
</xslo:call-template> |
| 1902 |
</xslo:if> |
2306 |
</xslo:if> |
| 1903 |
</xslo:for-each> |
2307 |
</xslo:for-each> |
| 1904 |
</xslo:variable> |
2308 |
</xslo:variable> |
|
Lines 1933-1939
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1933 |
</xslo:otherwise> |
2337 |
</xslo:otherwise> |
| 1934 |
</xslo:choose> |
2338 |
</xslo:choose> |
| 1935 |
</xslo:if> |
2339 |
</xslo:if> |
| 1936 |
<xslo:value-of select="."/> |
2340 |
<xslo:call-template name="chopPunctuation"> |
|
|
2341 |
<xslo:with-param name="chopString"> |
| 2342 |
<xslo:value-of select="."/> |
| 2343 |
</xslo:with-param> |
| 2344 |
</xslo:call-template> |
| 1937 |
</xslo:if> |
2345 |
</xslo:if> |
| 1938 |
</xslo:for-each> |
2346 |
</xslo:for-each> |
| 1939 |
</xslo:variable> |
2347 |
</xslo:variable> |
|
Lines 1999-2002
authority-zebra-indexdefs.xsl` (substituting the appropriate file names).
Link Here
|
| 1999 |
<xslo:value-of select="."/> |
2407 |
<xslo:value-of select="."/> |
| 2000 |
</z:index> |
2408 |
</z:index> |
| 2001 |
</xslo:template> |
2409 |
</xslo:template> |
|
|
2410 |
<xslo:template name="chopPunctuation"> |
| 2411 |
<xslo:param name="chopString"/> |
| 2412 |
<xslo:variable name="length" select="string-length($chopString)"/> |
| 2413 |
<xslo:choose> |
| 2414 |
<xslo:when test="$length=0"/> |
| 2415 |
<xslo:when test="contains('-,.:=;!%/', substring($chopString,$length,1))"> |
| 2416 |
<xslo:call-template name="chopPunctuation"> |
| 2417 |
<xslo:with-param name="chopString" select="substring($chopString,1,$length - 1)"/> |
| 2418 |
</xslo:call-template> |
| 2419 |
</xslo:when> |
| 2420 |
<xslo:when test="not($chopString)"/> |
| 2421 |
<xslo:otherwise> |
| 2422 |
<xslo:value-of select="$chopString"/> |
| 2423 |
</xslo:otherwise> |
| 2424 |
</xslo:choose> |
| 2425 |
<xslo:text/> |
| 2426 |
</xslo:template> |
| 2002 |
</xslo:stylesheet> |
2427 |
</xslo:stylesheet> |