| 
      
            Lines 1-1909
          
      
      
        Link Here
      
     | 
  
            
              | 1 | 
              <?xml version="1.0" encoding="UTF-8"?>  | 
               | 
               | 
            
            
              | 2 | 
              <!--  | 
            
            
              | 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). | 
            
            
              | 9 | 
              -->  | 
            
            
              | 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_facets"/>  | 
            
            
              | 16 | 
                <xslo:template match="text()" mode="index_heading"/>  | 
            
            
              | 17 | 
                <xslo:template match="text()" mode="index_heading_conditional"/>  | 
            
            
              | 18 | 
                <xslo:template match="text()" mode="index_match_heading"/>  | 
            
            
              | 19 | 
                <xslo:template match="text()" mode="index_subject_thesaurus"/>  | 
            
            
              | 20 | 
                <xslo:template match="text()" mode="index_sort_tit"/>  | 
            
            
              | 21 | 
                <xslo:template match="/">  | 
            
            
              | 22 | 
                  <xslo:if test="marc:collection">  | 
            
            
              | 23 | 
                    <collection>  | 
            
            
              | 24 | 
                      <xslo:apply-templates select="marc:collection/marc:record"/>  | 
            
            
              | 25 | 
                    </collection>  | 
            
            
              | 26 | 
                  </xslo:if>  | 
            
            
              | 27 | 
                  <xslo:if test="marc:record">  | 
            
            
              | 28 | 
                    <xslo:apply-templates select="marc:record"/>  | 
            
            
              | 29 | 
                  </xslo:if>  | 
            
            
              | 30 | 
                </xslo:template>  | 
            
            
              | 31 | 
                <xslo:template match="marc:record">  | 
            
            
              | 32 | 
                  <xslo:variable name="idfield" select="normalize-space(marc:datafield[@tag='999']/marc:subfield[@code='c'])"/>  | 
            
            
              | 33 | 
                  <z:record type="update">  | 
            
            
              | 34 | 
                    <xslo:attribute name="z:id">  | 
            
            
              | 35 | 
                      <xslo:value-of select="$idfield"/>  | 
            
            
              | 36 | 
                    </xslo:attribute>  | 
            
            
              | 37 | 
                    <xslo:apply-templates/>  | 
            
            
              | 38 | 
                    <xslo:apply-templates mode="index_subfields"/>  | 
            
            
              | 39 | 
                    <xslo:apply-templates mode="index_data_field"/>  | 
            
            
              | 40 | 
                    <xslo:apply-templates mode="index_facets"/>  | 
            
            
              | 41 | 
                    <xslo:apply-templates mode="index_heading"/>  | 
            
            
              | 42 | 
                    <xslo:apply-templates mode="index_heading_conditional"/>  | 
            
            
              | 43 | 
                    <xslo:apply-templates mode="index_match_heading"/>  | 
            
            
              | 44 | 
                    <xslo:apply-templates mode="index_subject_thesaurus"/>  | 
            
            
              | 45 | 
                    <xslo:apply-templates mode="index_all"/>  | 
            
            
              | 46 | 
                    <xslo:apply-templates mode="index_sort_tit"/>  | 
            
            
              | 47 | 
                  </z:record>  | 
            
            
              | 48 | 
                </xslo:template>  | 
            
            
              | 49 | 
                <xslo:template match="marc:leader">  | 
            
            
              | 50 | 
                  <z:index name="llength:w">  | 
            
            
              | 51 | 
                    <xslo:value-of select="substring(., 1, 5)"/>  | 
            
            
              | 52 | 
                  </z:index>  | 
            
            
              | 53 | 
                  <z:index name="rtype:w">  | 
            
            
              | 54 | 
                    <xslo:value-of select="substring(., 7, 1)"/>  | 
            
            
              | 55 | 
                  </z:index>  | 
            
            
              | 56 | 
                  <z:index name="Bib-level:w">  | 
            
            
              | 57 | 
                    <xslo:value-of select="substring(., 8, 1)"/>  | 
            
            
              | 58 | 
                  </z:index>  | 
            
            
              | 59 | 
                </xslo:template>  | 
            
            
              | 60 | 
                <xslo:template match="marc:controlfield[@tag='001']">  | 
            
            
              | 61 | 
                  <z:index name="Control-number:w">  | 
            
            
              | 62 | 
                    <xslo:value-of select="."/>  | 
            
            
              | 63 | 
                  </z:index>  | 
            
            
              | 64 | 
                </xslo:template>  | 
            
            
              | 65 | 
                <xslo:template match="marc:controlfield[@tag='007']">  | 
            
            
              | 66 | 
                  <z:index name="Microform-generation:n">  | 
            
            
              | 67 | 
                    <xslo:value-of select="substring(., 12, 1)"/>  | 
            
            
              | 68 | 
                  </z:index>  | 
            
            
              | 69 | 
                  <z:index name="Material-type:w">  | 
            
            
              | 70 | 
                    <xslo:value-of select="."/>  | 
            
            
              | 71 | 
                  </z:index>  | 
            
            
              | 72 | 
                  <z:index name="ff7-00:w">  | 
            
            
              | 73 | 
                    <xslo:value-of select="substring(., 1, 1)"/>  | 
            
            
              | 74 | 
                  </z:index>  | 
            
            
              | 75 | 
                  <z:index name="ff7-01:w">  | 
            
            
              | 76 | 
                    <xslo:value-of select="substring(., 2, 1)"/>  | 
            
            
              | 77 | 
                  </z:index>  | 
            
            
              | 78 | 
                  <z:index name="ff7-02:w">  | 
            
            
              | 79 | 
                    <xslo:value-of select="substring(., 3, 1)"/>  | 
            
            
              | 80 | 
                  </z:index>  | 
            
            
              | 81 | 
                  <z:index name="ff7-01-02:w">  | 
            
            
              | 82 | 
                    <xslo:value-of select="substring(., 1, 2)"/>  | 
            
            
              | 83 | 
                  </z:index>  | 
            
            
              | 84 | 
                </xslo:template>  | 
            
            
              | 85 | 
                <xslo:template match="marc:controlfield[@tag='008']">  | 
            
            
              | 86 | 
                  <z:index name="date-entered-on-file:n">  | 
            
            
              | 87 | 
                    <xslo:value-of select="substring(., 1, 5)"/>  | 
            
            
              | 88 | 
                  </z:index>  | 
            
            
              | 89 | 
                  <z:index name="date-entered-on-file:s">  | 
            
            
              | 90 | 
                    <xslo:value-of select="substring(., 1, 5)"/>  | 
            
            
              | 91 | 
                  </z:index>  | 
            
            
              | 92 | 
                  <z:index name="pubdate:w">  | 
            
            
              | 93 | 
                    <xslo:value-of select="substring(., 8, 4)"/>  | 
            
            
              | 94 | 
                  </z:index>  | 
            
            
              | 95 | 
                  <z:index name="pubdate:n">  | 
            
            
              | 96 | 
                    <xslo:value-of select="substring(., 8, 4)"/>  | 
            
            
              | 97 | 
                  </z:index>  | 
            
            
              | 98 | 
                  <z:index name="pubdate:y">  | 
            
            
              | 99 | 
                    <xslo:value-of select="substring(., 8, 4)"/>  | 
            
            
              | 100 | 
                  </z:index>  | 
            
            
              | 101 | 
                  <z:index name="pubdate:s">  | 
            
            
              | 102 | 
                    <xslo:value-of select="substring(., 8, 4)"/>  | 
            
            
              | 103 | 
                  </z:index>  | 
            
            
              | 104 | 
                  <z:index name="pl:w">  | 
            
            
              | 105 | 
                    <xslo:value-of select="substring(., 16, 3)"/>  | 
            
            
              | 106 | 
                  </z:index>  | 
            
            
              | 107 | 
                  <z:index name="ta:w">  | 
            
            
              | 108 | 
                    <xslo:value-of select="substring(., 23, 1)"/>  | 
            
            
              | 109 | 
                  </z:index>  | 
            
            
              | 110 | 
                  <z:index name="ff8-23:w">  | 
            
            
              | 111 | 
                    <xslo:value-of select="substring(., 24, 1)"/>  | 
            
            
              | 112 | 
                  </z:index>  | 
            
            
              | 113 | 
                  <z:index name="ff8-29:w">  | 
            
            
              | 114 | 
                    <xslo:value-of select="substring(., 30, 1)"/>  | 
            
            
              | 115 | 
                  </z:index>  | 
            
            
              | 116 | 
                  <z:index name="lf:w">  | 
            
            
              | 117 | 
                    <xslo:value-of select="substring(., 34, 1)"/>  | 
            
            
              | 118 | 
                  </z:index>  | 
            
            
              | 119 | 
                  <z:index name="bio:w">  | 
            
            
              | 120 | 
                    <xslo:value-of select="substring(., 35, 1)"/>  | 
            
            
              | 121 | 
                  </z:index>  | 
            
            
              | 122 | 
                  <z:index name="ln:w">  | 
            
            
              | 123 | 
                    <xslo:value-of select="substring(., 36, 3)"/>  | 
            
            
              | 124 | 
                  </z:index>  | 
            
            
              | 125 | 
                  <z:index name="ctype:w">  | 
            
            
              | 126 | 
                    <xslo:value-of select="substring(., 25, 4)"/>  | 
            
            
              | 127 | 
                  </z:index>  | 
            
            
              | 128 | 
                  <z:index name="Record-source:w">  | 
            
            
              | 129 | 
                    <xslo:value-of select="substring(., 40, 0)"/>  | 
            
            
              | 130 | 
                  </z:index>  | 
            
            
              | 131 | 
                </xslo:template>  | 
            
            
              | 132 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='020']">  | 
            
            
              | 133 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 134 | 
                    <xslo:if test="contains('a', @code)"> | 
            
            
              | 135 | 
                      <z:index name="ISBN:w Identifier-standard:w">  | 
            
            
              | 136 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 137 | 
                      </z:index>  | 
            
            
              | 138 | 
                    </xslo:if>  | 
            
            
              | 139 | 
                  </xslo:for-each>  | 
            
            
              | 140 | 
                </xslo:template>  | 
            
            
              | 141 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='022']">  | 
            
            
              | 142 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 143 | 
                    <xslo:if test="contains('a', @code)"> | 
            
            
              | 144 | 
                      <z:index name="ISSN:w ISBN:w">  | 
            
            
              | 145 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 146 | 
                      </z:index>  | 
            
            
              | 147 | 
                    </xslo:if>  | 
            
            
              | 148 | 
                  </xslo:for-each>  | 
            
            
              | 149 | 
                </xslo:template>  | 
            
            
              | 150 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='100']">  | 
            
            
              | 151 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 152 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 153 | 
                      <z:index name="Cross-Reference:w Koha-Auth-Number:w">  | 
            
            
              | 154 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 155 | 
                      </z:index>  | 
            
            
              | 156 | 
                    </xslo:if>  | 
            
            
              | 157 | 
                  </xslo:for-each>  | 
            
            
              | 158 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 159 | 
                    <xslo:if test="contains('a', @code)"> | 
            
            
              | 160 | 
                      <z:index name="Author:w Author:p Author:s Editor:w Author-personal-bibliography:w Author-personal-bibliography:p Author-personal-bibliography:s">  | 
            
            
              | 161 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 162 | 
                      </z:index>  | 
            
            
              | 163 | 
                    </xslo:if>  | 
            
            
              | 164 | 
                  </xslo:for-each>  | 
            
            
              | 165 | 
                </xslo:template>  | 
            
            
              | 166 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='110']">  | 
            
            
              | 167 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 168 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 169 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 170 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 171 | 
                      </z:index>  | 
            
            
              | 172 | 
                    </xslo:if>  | 
            
            
              | 173 | 
                  </xslo:for-each>  | 
            
            
              | 174 | 
                </xslo:template>  | 
            
            
              | 175 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='111']">  | 
            
            
              | 176 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 177 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 178 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 179 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 180 | 
                      </z:index>  | 
            
            
              | 181 | 
                    </xslo:if>  | 
            
            
              | 182 | 
                  </xslo:for-each>  | 
            
            
              | 183 | 
                </xslo:template>  | 
            
            
              | 184 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='130']">  | 
            
            
              | 185 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 186 | 
                    <xslo:if test="contains('i', @code)"> | 
            
            
              | 187 | 
                      <z:index name="Thematic-number:w">  | 
            
            
              | 188 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 189 | 
                      </z:index>  | 
            
            
              | 190 | 
                    </xslo:if>  | 
            
            
              | 191 | 
                  </xslo:for-each>  | 
            
            
              | 192 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 193 | 
                    <xslo:if test="contains('n', @code)"> | 
            
            
              | 194 | 
                      <z:index name="Thematic-number:w">  | 
            
            
              | 195 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 196 | 
                      </z:index>  | 
            
            
              | 197 | 
                    </xslo:if>  | 
            
            
              | 198 | 
                  </xslo:for-each>  | 
            
            
              | 199 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 200 | 
                    <xslo:if test="contains('r', @code)"> | 
            
            
              | 201 | 
                      <z:index name="Music-key:w">  | 
            
            
              | 202 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 203 | 
                      </z:index>  | 
            
            
              | 204 | 
                    </xslo:if>  | 
            
            
              | 205 | 
                  </xslo:for-each>  | 
            
            
              | 206 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 207 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 208 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 209 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 210 | 
                      </z:index>  | 
            
            
              | 211 | 
                    </xslo:if>  | 
            
            
              | 212 | 
                  </xslo:for-each>  | 
            
            
              | 213 | 
                </xslo:template>  | 
            
            
              | 214 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='240']">  | 
            
            
              | 215 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 216 | 
                    <xslo:if test="contains('i', @code)"> | 
            
            
              | 217 | 
                      <z:index name="Thematic-number:w">  | 
            
            
              | 218 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 219 | 
                      </z:index>  | 
            
            
              | 220 | 
                    </xslo:if>  | 
            
            
              | 221 | 
                  </xslo:for-each>  | 
            
            
              | 222 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 223 | 
                    <xslo:if test="contains('r', @code)"> | 
            
            
              | 224 | 
                      <z:index name="Music-key:w">  | 
            
            
              | 225 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 226 | 
                      </z:index>  | 
            
            
              | 227 | 
                    </xslo:if>  | 
            
            
              | 228 | 
                  </xslo:for-each>  | 
            
            
              | 229 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 230 | 
                    <xslo:if test="contains('n', @code)"> | 
            
            
              | 231 | 
                      <z:index name="Thematic-number:w">  | 
            
            
              | 232 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 233 | 
                      </z:index>  | 
            
            
              | 234 | 
                    </xslo:if>  | 
            
            
              | 235 | 
                  </xslo:for-each>  | 
            
            
              | 236 | 
                </xslo:template>  | 
            
            
              | 237 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='245']">  | 
            
            
              | 238 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 239 | 
                    <xslo:if test="contains('a', @code)"> | 
            
            
              | 240 | 
                      <z:index name="Title-cover:w Title-cover:p Title-cover:s Title:w Title:p Title:s">  | 
            
            
              | 241 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 242 | 
                      </z:index>  | 
            
            
              | 243 | 
                    </xslo:if>  | 
            
            
              | 244 | 
                  </xslo:for-each>  | 
            
            
              | 245 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 246 | 
                    <xslo:if test="contains('c', @code)"> | 
            
            
              | 247 | 
                      <z:index name="Author:w Author-in-order:w Author-in-order:p Author-in-order:s">  | 
            
            
              | 248 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 249 | 
                      </z:index>  | 
            
            
              | 250 | 
                    </xslo:if>  | 
            
            
              | 251 | 
                  </xslo:for-each>  | 
            
            
              | 252 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 253 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 254 | 
                      <z:index name="Cross-Reference:w Koha-Auth-Number:w">  | 
            
            
              | 255 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 256 | 
                      </z:index>  | 
            
            
              | 257 | 
                    </xslo:if>  | 
            
            
              | 258 | 
                  </xslo:for-each>  | 
            
            
              | 259 | 
                </xslo:template>  | 
            
            
              | 260 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='260']">  | 
            
            
              | 261 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 262 | 
                    <xslo:if test="contains('a', @code)"> | 
            
            
              | 263 | 
                      <z:index name="pl:w pl:p">  | 
            
            
              | 264 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 265 | 
                      </z:index>  | 
            
            
              | 266 | 
                    </xslo:if>  | 
            
            
              | 267 | 
                  </xslo:for-each>  | 
            
            
              | 268 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 269 | 
                    <xslo:if test="contains('b', @code)"> | 
            
            
              | 270 | 
                      <z:index name="Publisher:w Publisher:p">  | 
            
            
              | 271 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 272 | 
                      </z:index>  | 
            
            
              | 273 | 
                    </xslo:if>  | 
            
            
              | 274 | 
                  </xslo:for-each>  | 
            
            
              | 275 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 276 | 
                    <xslo:if test="contains('c', @code)"> | 
            
            
              | 277 | 
                      <z:index name="copydate:w copydate:s">  | 
            
            
              | 278 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 279 | 
                      </z:index>  | 
            
            
              | 280 | 
                    </xslo:if>  | 
            
            
              | 281 | 
                  </xslo:for-each>  | 
            
            
              | 282 | 
                </xslo:template>  | 
            
            
              | 283 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='440']">  | 
            
            
              | 284 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 285 | 
                    <xslo:if test="contains('a', @code)"> | 
            
            
              | 286 | 
                      <z:index name="Title-series:w Title-series:p">  | 
            
            
              | 287 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 288 | 
                      </z:index>  | 
            
            
              | 289 | 
                    </xslo:if>  | 
            
            
              | 290 | 
                  </xslo:for-each>  | 
            
            
              | 291 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 292 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 293 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 294 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 295 | 
                      </z:index>  | 
            
            
              | 296 | 
                    </xslo:if>  | 
            
            
              | 297 | 
                  </xslo:for-each>  | 
            
            
              | 298 | 
                </xslo:template>  | 
            
            
              | 299 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='490']">  | 
            
            
              | 300 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 301 | 
                    <xslo:if test="contains('a', @code)"> | 
            
            
              | 302 | 
                      <z:index name="Title-series:w Title-series:p">  | 
            
            
              | 303 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 304 | 
                      </z:index>  | 
            
            
              | 305 | 
                    </xslo:if>  | 
            
            
              | 306 | 
                  </xslo:for-each>  | 
            
            
              | 307 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 308 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 309 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 310 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 311 | 
                      </z:index>  | 
            
            
              | 312 | 
                    </xslo:if>  | 
            
            
              | 313 | 
                  </xslo:for-each>  | 
            
            
              | 314 | 
                </xslo:template>  | 
            
            
              | 315 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='600']">  | 
            
            
              | 316 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 317 | 
                    <xslo:if test="contains('a', @code)"> | 
            
            
              | 318 | 
                      <z:index name="Name-and-title:w Name:w Personal-name:w Subject-name-personal:w Subject:w Subject:p">  | 
            
            
              | 319 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 320 | 
                      </z:index>  | 
            
            
              | 321 | 
                    </xslo:if>  | 
            
            
              | 322 | 
                  </xslo:for-each>  | 
            
            
              | 323 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 324 | 
                    <xslo:if test="contains('t', @code)"> | 
            
            
              | 325 | 
                      <z:index name="Name-and-title:w Title:w Subject:w Subject:p">  | 
            
            
              | 326 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 327 | 
                      </z:index>  | 
            
            
              | 328 | 
                    </xslo:if>  | 
            
            
              | 329 | 
                  </xslo:for-each>  | 
            
            
              | 330 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 331 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 332 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 333 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 334 | 
                      </z:index>  | 
            
            
              | 335 | 
                    </xslo:if>  | 
            
            
              | 336 | 
                  </xslo:for-each>  | 
            
            
              | 337 | 
                </xslo:template>  | 
            
            
              | 338 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='610']">  | 
            
            
              | 339 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 340 | 
                    <xslo:if test="contains('a', @code)"> | 
            
            
              | 341 | 
                      <z:index name="Name-and-title:w Subject:w Subject:p">  | 
            
            
              | 342 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 343 | 
                      </z:index>  | 
            
            
              | 344 | 
                    </xslo:if>  | 
            
            
              | 345 | 
                  </xslo:for-each>  | 
            
            
              | 346 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 347 | 
                    <xslo:if test="contains('t', @code)"> | 
            
            
              | 348 | 
                      <z:index name="Name-and-title:w Title:w Subject:w Subject:p">  | 
            
            
              | 349 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 350 | 
                      </z:index>  | 
            
            
              | 351 | 
                    </xslo:if>  | 
            
            
              | 352 | 
                  </xslo:for-each>  | 
            
            
              | 353 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 354 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 355 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 356 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 357 | 
                      </z:index>  | 
            
            
              | 358 | 
                    </xslo:if>  | 
            
            
              | 359 | 
                  </xslo:for-each>  | 
            
            
              | 360 | 
                </xslo:template>  | 
            
            
              | 361 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='611']">  | 
            
            
              | 362 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 363 | 
                    <xslo:if test="contains('a', @code)"> | 
            
            
              | 364 | 
                      <z:index name="Name-and-title:w Subject:w Subject:p">  | 
            
            
              | 365 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 366 | 
                      </z:index>  | 
            
            
              | 367 | 
                    </xslo:if>  | 
            
            
              | 368 | 
                  </xslo:for-each>  | 
            
            
              | 369 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 370 | 
                    <xslo:if test="contains('t', @code)"> | 
            
            
              | 371 | 
                      <z:index name="Name-and-title:w Title:w Subject:w Subject:p">  | 
            
            
              | 372 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 373 | 
                      </z:index>  | 
            
            
              | 374 | 
                    </xslo:if>  | 
            
            
              | 375 | 
                  </xslo:for-each>  | 
            
            
              | 376 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 377 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 378 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 379 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 380 | 
                      </z:index>  | 
            
            
              | 381 | 
                    </xslo:if>  | 
            
            
              | 382 | 
                  </xslo:for-each>  | 
            
            
              | 383 | 
                </xslo:template>  | 
            
            
              | 384 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='630']">  | 
            
            
              | 385 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 386 | 
                    <xslo:if test="contains('i', @code)"> | 
            
            
              | 387 | 
                      <z:index name="Thematic-number:w Subject:w Subject:p">  | 
            
            
              | 388 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 389 | 
                      </z:index>  | 
            
            
              | 390 | 
                    </xslo:if>  | 
            
            
              | 391 | 
                  </xslo:for-each>  | 
            
            
              | 392 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 393 | 
                    <xslo:if test="contains('n', @code)"> | 
            
            
              | 394 | 
                      <z:index name="Thematic-number:w Subject:w Subject:p">  | 
            
            
              | 395 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 396 | 
                      </z:index>  | 
            
            
              | 397 | 
                    </xslo:if>  | 
            
            
              | 398 | 
                  </xslo:for-each>  | 
            
            
              | 399 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 400 | 
                    <xslo:if test="contains('r', @code)"> | 
            
            
              | 401 | 
                      <z:index name="Music-key:w Subject:w Subject:p">  | 
            
            
              | 402 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 403 | 
                      </z:index>  | 
            
            
              | 404 | 
                    </xslo:if>  | 
            
            
              | 405 | 
                  </xslo:for-each>  | 
            
            
              | 406 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 407 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 408 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 409 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 410 | 
                      </z:index>  | 
            
            
              | 411 | 
                    </xslo:if>  | 
            
            
              | 412 | 
                  </xslo:for-each>  | 
            
            
              | 413 | 
                </xslo:template>  | 
            
            
              | 414 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='648']">  | 
            
            
              | 415 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 416 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 417 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 418 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 419 | 
                      </z:index>  | 
            
            
              | 420 | 
                    </xslo:if>  | 
            
            
              | 421 | 
                  </xslo:for-each>  | 
            
            
              | 422 | 
                </xslo:template>  | 
            
            
              | 423 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='650']">  | 
            
            
              | 424 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 425 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 426 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 427 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 428 | 
                      </z:index>  | 
            
            
              | 429 | 
                    </xslo:if>  | 
            
            
              | 430 | 
                  </xslo:for-each>  | 
            
            
              | 431 | 
                </xslo:template>  | 
            
            
              | 432 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='651']">  | 
            
            
              | 433 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 434 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 435 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 436 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 437 | 
                      </z:index>  | 
            
            
              | 438 | 
                    </xslo:if>  | 
            
            
              | 439 | 
                  </xslo:for-each>  | 
            
            
              | 440 | 
                </xslo:template>  | 
            
            
              | 441 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='652']">  | 
            
            
              | 442 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 443 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 444 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 445 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 446 | 
                      </z:index>  | 
            
            
              | 447 | 
                    </xslo:if>  | 
            
            
              | 448 | 
                  </xslo:for-each>  | 
            
            
              | 449 | 
                </xslo:template>  | 
            
            
              | 450 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='653']">  | 
            
            
              | 451 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 452 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 453 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 454 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 455 | 
                      </z:index>  | 
            
            
              | 456 | 
                    </xslo:if>  | 
            
            
              | 457 | 
                  </xslo:for-each>  | 
            
            
              | 458 | 
                </xslo:template>  | 
            
            
              | 459 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='654']">  | 
            
            
              | 460 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 461 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 462 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 463 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 464 | 
                      </z:index>  | 
            
            
              | 465 | 
                    </xslo:if>  | 
            
            
              | 466 | 
                  </xslo:for-each>  | 
            
            
              | 467 | 
                </xslo:template>  | 
            
            
              | 468 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='655']">  | 
            
            
              | 469 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 470 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 471 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 472 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 473 | 
                      </z:index>  | 
            
            
              | 474 | 
                    </xslo:if>  | 
            
            
              | 475 | 
                  </xslo:for-each>  | 
            
            
              | 476 | 
                </xslo:template>  | 
            
            
              | 477 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='656']">  | 
            
            
              | 478 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 479 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 480 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 481 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 482 | 
                      </z:index>  | 
            
            
              | 483 | 
                    </xslo:if>  | 
            
            
              | 484 | 
                  </xslo:for-each>  | 
            
            
              | 485 | 
                </xslo:template>  | 
            
            
              | 486 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='657']">  | 
            
            
              | 487 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 488 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 489 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 490 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 491 | 
                      </z:index>  | 
            
            
              | 492 | 
                    </xslo:if>  | 
            
            
              | 493 | 
                  </xslo:for-each>  | 
            
            
              | 494 | 
                </xslo:template>  | 
            
            
              | 495 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='690']">  | 
            
            
              | 496 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 497 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 498 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 499 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 500 | 
                      </z:index>  | 
            
            
              | 501 | 
                    </xslo:if>  | 
            
            
              | 502 | 
                  </xslo:for-each>  | 
            
            
              | 503 | 
                </xslo:template>  | 
            
            
              | 504 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='700']">  | 
            
            
              | 505 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 506 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 507 | 
                      <z:index name="Cross-Reference:w Koha-Auth-Number:w">  | 
            
            
              | 508 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 509 | 
                      </z:index>  | 
            
            
              | 510 | 
                    </xslo:if>  | 
            
            
              | 511 | 
                  </xslo:for-each>  | 
            
            
              | 512 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 513 | 
                    <xslo:if test="contains('a', @code)"> | 
            
            
              | 514 | 
                      <z:index name="Author:w Author:p">  | 
            
            
              | 515 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 516 | 
                      </z:index>  | 
            
            
              | 517 | 
                    </xslo:if>  | 
            
            
              | 518 | 
                  </xslo:for-each>  | 
            
            
              | 519 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 520 | 
                    <xslo:if test="contains('i', @code)"> | 
            
            
              | 521 | 
                      <z:index name="Thematic-number:w">  | 
            
            
              | 522 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 523 | 
                      </z:index>  | 
            
            
              | 524 | 
                    </xslo:if>  | 
            
            
              | 525 | 
                  </xslo:for-each>  | 
            
            
              | 526 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 527 | 
                    <xslo:if test="contains('n', @code)"> | 
            
            
              | 528 | 
                      <z:index name="Thematic-number:w">  | 
            
            
              | 529 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 530 | 
                      </z:index>  | 
            
            
              | 531 | 
                    </xslo:if>  | 
            
            
              | 532 | 
                  </xslo:for-each>  | 
            
            
              | 533 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 534 | 
                    <xslo:if test="contains('r', @code)"> | 
            
            
              | 535 | 
                      <z:index name="Music-key:w">  | 
            
            
              | 536 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 537 | 
                      </z:index>  | 
            
            
              | 538 | 
                    </xslo:if>  | 
            
            
              | 539 | 
                  </xslo:for-each>  | 
            
            
              | 540 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 541 | 
                    <xslo:if test="contains('t', @code)"> | 
            
            
              | 542 | 
                      <z:index name="Author-title:w Name-and-title:w Title:w Title-uniform:w">  | 
            
            
              | 543 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 544 | 
                      </z:index>  | 
            
            
              | 545 | 
                    </xslo:if>  | 
            
            
              | 546 | 
                  </xslo:for-each>  | 
            
            
              | 547 | 
                </xslo:template>  | 
            
            
              | 548 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='710']">  | 
            
            
              | 549 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 550 | 
                    <xslo:if test="contains('t', @code)"> | 
            
            
              | 551 | 
                      <z:index name="Author-title:w Name-and-title:w Title:w Title-uniform:w">  | 
            
            
              | 552 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 553 | 
                      </z:index>  | 
            
            
              | 554 | 
                    </xslo:if>  | 
            
            
              | 555 | 
                  </xslo:for-each>  | 
            
            
              | 556 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 557 | 
                    <xslo:if test="contains('a', @code)"> | 
            
            
              | 558 | 
                      <z:index name="Name-and-title:w">  | 
            
            
              | 559 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 560 | 
                      </z:index>  | 
            
            
              | 561 | 
                    </xslo:if>  | 
            
            
              | 562 | 
                  </xslo:for-each>  | 
            
            
              | 563 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 564 | 
                    <xslo:if test="contains('i', @code)"> | 
            
            
              | 565 | 
                      <z:index name="Thematic-number:w">  | 
            
            
              | 566 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 567 | 
                      </z:index>  | 
            
            
              | 568 | 
                    </xslo:if>  | 
            
            
              | 569 | 
                  </xslo:for-each>  | 
            
            
              | 570 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 571 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 572 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 573 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 574 | 
                      </z:index>  | 
            
            
              | 575 | 
                    </xslo:if>  | 
            
            
              | 576 | 
                  </xslo:for-each>  | 
            
            
              | 577 | 
                </xslo:template>  | 
            
            
              | 578 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='711']">  | 
            
            
              | 579 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 580 | 
                    <xslo:if test="contains('a', @code)"> | 
            
            
              | 581 | 
                      <z:index name="Name-and-title:w">  | 
            
            
              | 582 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 583 | 
                      </z:index>  | 
            
            
              | 584 | 
                    </xslo:if>  | 
            
            
              | 585 | 
                  </xslo:for-each>  | 
            
            
              | 586 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 587 | 
                    <xslo:if test="contains('t', @code)"> | 
            
            
              | 588 | 
                      <z:index name="Author-title:w Title:w Title-uniform:w">  | 
            
            
              | 589 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 590 | 
                      </z:index>  | 
            
            
              | 591 | 
                    </xslo:if>  | 
            
            
              | 592 | 
                  </xslo:for-each>  | 
            
            
              | 593 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 594 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 595 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 596 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 597 | 
                      </z:index>  | 
            
            
              | 598 | 
                    </xslo:if>  | 
            
            
              | 599 | 
                  </xslo:for-each>  | 
            
            
              | 600 | 
                </xslo:template>  | 
            
            
              | 601 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='730']">  | 
            
            
              | 602 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 603 | 
                    <xslo:if test="contains('i', @code)"> | 
            
            
              | 604 | 
                      <z:index name="Thematic-number:w">  | 
            
            
              | 605 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 606 | 
                      </z:index>  | 
            
            
              | 607 | 
                    </xslo:if>  | 
            
            
              | 608 | 
                  </xslo:for-each>  | 
            
            
              | 609 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 610 | 
                    <xslo:if test="contains('n', @code)"> | 
            
            
              | 611 | 
                      <z:index name="Thematic-number:w">  | 
            
            
              | 612 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 613 | 
                      </z:index>  | 
            
            
              | 614 | 
                    </xslo:if>  | 
            
            
              | 615 | 
                  </xslo:for-each>  | 
            
            
              | 616 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 617 | 
                    <xslo:if test="contains('r', @code)"> | 
            
            
              | 618 | 
                      <z:index name="Music-key:w">  | 
            
            
              | 619 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 620 | 
                      </z:index>  | 
            
            
              | 621 | 
                    </xslo:if>  | 
            
            
              | 622 | 
                  </xslo:for-each>  | 
            
            
              | 623 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 624 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 625 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 626 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 627 | 
                      </z:index>  | 
            
            
              | 628 | 
                    </xslo:if>  | 
            
            
              | 629 | 
                  </xslo:for-each>  | 
            
            
              | 630 | 
                </xslo:template>  | 
            
            
              | 631 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='773']">  | 
            
            
              | 632 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 633 | 
                    <xslo:if test="contains('a', @code)"> | 
            
            
              | 634 | 
                      <z:index name="Host-item:w">  | 
            
            
              | 635 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 636 | 
                      </z:index>  | 
            
            
              | 637 | 
                    </xslo:if>  | 
            
            
              | 638 | 
                  </xslo:for-each>  | 
            
            
              | 639 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 640 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 641 | 
                      <z:index name="Host-Item-Number:w">  | 
            
            
              | 642 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 643 | 
                      </z:index>  | 
            
            
              | 644 | 
                    </xslo:if>  | 
            
            
              | 645 | 
                  </xslo:for-each>  | 
            
            
              | 646 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 647 | 
                    <xslo:if test="contains('t', @code)"> | 
            
            
              | 648 | 
                      <z:index name="Host-item:w">  | 
            
            
              | 649 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 650 | 
                      </z:index>  | 
            
            
              | 651 | 
                    </xslo:if>  | 
            
            
              | 652 | 
                  </xslo:for-each>  | 
            
            
              | 653 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 654 | 
                    <xslo:if test="contains('w', @code)"> | 
            
            
              | 655 | 
                      <z:index name="Record-control-number:w">  | 
            
            
              | 656 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 657 | 
                      </z:index>  | 
            
            
              | 658 | 
                    </xslo:if>  | 
            
            
              | 659 | 
                  </xslo:for-each>  | 
            
            
              | 660 | 
                </xslo:template>  | 
            
            
              | 661 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='780']">  | 
            
            
              | 662 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 663 | 
                    <xslo:if test="contains('t', @code)"> | 
            
            
              | 664 | 
                      <z:index name="Title:w">  | 
            
            
              | 665 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 666 | 
                      </z:index>  | 
            
            
              | 667 | 
                    </xslo:if>  | 
            
            
              | 668 | 
                  </xslo:for-each>  | 
            
            
              | 669 | 
                </xslo:template>  | 
            
            
              | 670 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='800']">  | 
            
            
              | 671 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 672 | 
                    <xslo:if test="contains('a', @code)"> | 
            
            
              | 673 | 
                      <z:index name="Name-and-title:w">  | 
            
            
              | 674 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 675 | 
                      </z:index>  | 
            
            
              | 676 | 
                    </xslo:if>  | 
            
            
              | 677 | 
                  </xslo:for-each>  | 
            
            
              | 678 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 679 | 
                    <xslo:if test="contains('t', @code)"> | 
            
            
              | 680 | 
                      <z:index name="Author-title:w Name-and-title:w Title:w Title-series:w">  | 
            
            
              | 681 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 682 | 
                      </z:index>  | 
            
            
              | 683 | 
                    </xslo:if>  | 
            
            
              | 684 | 
                  </xslo:for-each>  | 
            
            
              | 685 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 686 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 687 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 688 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 689 | 
                      </z:index>  | 
            
            
              | 690 | 
                    </xslo:if>  | 
            
            
              | 691 | 
                  </xslo:for-each>  | 
            
            
              | 692 | 
                </xslo:template>  | 
            
            
              | 693 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='810']">  | 
            
            
              | 694 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 695 | 
                    <xslo:if test="contains('a', @code)"> | 
            
            
              | 696 | 
                      <z:index name="Name-and-title:w">  | 
            
            
              | 697 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 698 | 
                      </z:index>  | 
            
            
              | 699 | 
                    </xslo:if>  | 
            
            
              | 700 | 
                  </xslo:for-each>  | 
            
            
              | 701 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 702 | 
                    <xslo:if test="contains('t', @code)"> | 
            
            
              | 703 | 
                      <z:index name="Author-title:w Name-and-title:w Title:w Title-series:w">  | 
            
            
              | 704 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 705 | 
                      </z:index>  | 
            
            
              | 706 | 
                    </xslo:if>  | 
            
            
              | 707 | 
                  </xslo:for-each>  | 
            
            
              | 708 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 709 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 710 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 711 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 712 | 
                      </z:index>  | 
            
            
              | 713 | 
                    </xslo:if>  | 
            
            
              | 714 | 
                  </xslo:for-each>  | 
            
            
              | 715 | 
                </xslo:template>  | 
            
            
              | 716 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='811']">  | 
            
            
              | 717 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 718 | 
                    <xslo:if test="contains('a', @code)"> | 
            
            
              | 719 | 
                      <z:index name="Name-and-title:w">  | 
            
            
              | 720 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 721 | 
                      </z:index>  | 
            
            
              | 722 | 
                    </xslo:if>  | 
            
            
              | 723 | 
                  </xslo:for-each>  | 
            
            
              | 724 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 725 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 726 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 727 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 728 | 
                      </z:index>  | 
            
            
              | 729 | 
                    </xslo:if>  | 
            
            
              | 730 | 
                  </xslo:for-each>  | 
            
            
              | 731 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 732 | 
                    <xslo:if test="contains('t', @code)"> | 
            
            
              | 733 | 
                      <z:index name="Author-title:w Name-and-title:w Title:w Title-series:w">  | 
            
            
              | 734 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 735 | 
                      </z:index>  | 
            
            
              | 736 | 
                    </xslo:if>  | 
            
            
              | 737 | 
                  </xslo:for-each>  | 
            
            
              | 738 | 
                </xslo:template>  | 
            
            
              | 739 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='830']">  | 
            
            
              | 740 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 741 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 742 | 
                      <z:index name="Koha-Auth-Number:w">  | 
            
            
              | 743 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 744 | 
                      </z:index>  | 
            
            
              | 745 | 
                    </xslo:if>  | 
            
            
              | 746 | 
                  </xslo:for-each>  | 
            
            
              | 747 | 
                </xslo:template>  | 
            
            
              | 748 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='999']">  | 
            
            
              | 749 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 750 | 
                    <xslo:if test="contains('c', @code)"> | 
            
            
              | 751 | 
                      <z:index name="Local-Number:n Local-Number:w Local-Number:s">  | 
            
            
              | 752 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 753 | 
                      </z:index>  | 
            
            
              | 754 | 
                    </xslo:if>  | 
            
            
              | 755 | 
                  </xslo:for-each>  | 
            
            
              | 756 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 757 | 
                    <xslo:if test="contains('d', @code)"> | 
            
            
              | 758 | 
                      <z:index name="biblioitemnumber:n biblioitemnumber:w biblioitemnumber:s">  | 
            
            
              | 759 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 760 | 
                      </z:index>  | 
            
            
              | 761 | 
                    </xslo:if>  | 
            
            
              | 762 | 
                  </xslo:for-each>  | 
            
            
              | 763 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 764 | 
                    <xslo:if test="contains('x', @code)"> | 
            
            
              | 765 | 
                      <z:index name="not-onloan-count:n">  | 
            
            
              | 766 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 767 | 
                      </z:index>  | 
            
            
              | 768 | 
                    </xslo:if>  | 
            
            
              | 769 | 
                  </xslo:for-each>  | 
            
            
              | 770 | 
                </xslo:template>  | 
            
            
              | 771 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='942']">  | 
            
            
              | 772 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 773 | 
                    <xslo:if test="contains('0', @code)"> | 
            
            
              | 774 | 
                      <z:index name="totalissues:n totalissues:s">  | 
            
            
              | 775 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 776 | 
                      </z:index>  | 
            
            
              | 777 | 
                    </xslo:if>  | 
            
            
              | 778 | 
                  </xslo:for-each>  | 
            
            
              | 779 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 780 | 
                    <xslo:if test="contains('2', @code)"> | 
            
            
              | 781 | 
                      <z:index name="cn-bib-source:w">  | 
            
            
              | 782 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 783 | 
                      </z:index>  | 
            
            
              | 784 | 
                    </xslo:if>  | 
            
            
              | 785 | 
                  </xslo:for-each>  | 
            
            
              | 786 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 787 | 
                    <xslo:if test="contains('6', @code)"> | 
            
            
              | 788 | 
                      <z:index name="cn-bib-sort:n cn-bib-sort:s">  | 
            
            
              | 789 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 790 | 
                      </z:index>  | 
            
            
              | 791 | 
                    </xslo:if>  | 
            
            
              | 792 | 
                  </xslo:for-each>  | 
            
            
              | 793 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 794 | 
                    <xslo:if test="contains('c', @code)"> | 
            
            
              | 795 | 
                      <z:index name="itemtype:w">  | 
            
            
              | 796 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 797 | 
                      </z:index>  | 
            
            
              | 798 | 
                    </xslo:if>  | 
            
            
              | 799 | 
                  </xslo:for-each>  | 
            
            
              | 800 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 801 | 
                    <xslo:if test="contains('n', @code)"> | 
            
            
              | 802 | 
                      <z:index name="Suppress:w Suppress:n">  | 
            
            
              | 803 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 804 | 
                      </z:index>  | 
            
            
              | 805 | 
                    </xslo:if>  | 
            
            
              | 806 | 
                  </xslo:for-each>  | 
            
            
              | 807 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 808 | 
                    <xslo:if test="contains('h', @code)"> | 
            
            
              | 809 | 
                      <z:index name="cn-class:w">  | 
            
            
              | 810 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 811 | 
                      </z:index>  | 
            
            
              | 812 | 
                    </xslo:if>  | 
            
            
              | 813 | 
                  </xslo:for-each>  | 
            
            
              | 814 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 815 | 
                    <xslo:if test="contains('i', @code)"> | 
            
            
              | 816 | 
                      <z:index name="cn-item:w">  | 
            
            
              | 817 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 818 | 
                      </z:index>  | 
            
            
              | 819 | 
                    </xslo:if>  | 
            
            
              | 820 | 
                  </xslo:for-each>  | 
            
            
              | 821 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 822 | 
                    <xslo:if test="contains('k', @code)"> | 
            
            
              | 823 | 
                      <z:index name="cn-prefix:w">  | 
            
            
              | 824 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 825 | 
                      </z:index>  | 
            
            
              | 826 | 
                    </xslo:if>  | 
            
            
              | 827 | 
                  </xslo:for-each>  | 
            
            
              | 828 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 829 | 
                    <xslo:if test="contains('m', @code)"> | 
            
            
              | 830 | 
                      <z:index name="cn-suffix:w">  | 
            
            
              | 831 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 832 | 
                      </z:index>  | 
            
            
              | 833 | 
                    </xslo:if>  | 
            
            
              | 834 | 
                  </xslo:for-each>  | 
            
            
              | 835 | 
                </xslo:template>  | 
            
            
              | 836 | 
                <xslo:template mode="index_subfields" match="marc:datafield[@tag='952']">  | 
            
            
              | 837 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 838 | 
                    <xslo:if test="contains('0', @code)"> | 
            
            
              | 839 | 
                      <z:index name="withdrawn:n withdrawn:w">  | 
            
            
              | 840 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 841 | 
                      </z:index>  | 
            
            
              | 842 | 
                    </xslo:if>  | 
            
            
              | 843 | 
                  </xslo:for-each>  | 
            
            
              | 844 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 845 | 
                    <xslo:if test="contains('1', @code)"> | 
            
            
              | 846 | 
                      <z:index name="lost:w lost:n">  | 
            
            
              | 847 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 848 | 
                      </z:index>  | 
            
            
              | 849 | 
                    </xslo:if>  | 
            
            
              | 850 | 
                  </xslo:for-each>  | 
            
            
              | 851 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 852 | 
                    <xslo:if test="contains('2', @code)"> | 
            
            
              | 853 | 
                      <z:index name="classification-source:w">  | 
            
            
              | 854 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 855 | 
                      </z:index>  | 
            
            
              | 856 | 
                    </xslo:if>  | 
            
            
              | 857 | 
                  </xslo:for-each>  | 
            
            
              | 858 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 859 | 
                    <xslo:if test="contains('3', @code)"> | 
            
            
              | 860 | 
                      <z:index name="materials-specified:w">  | 
            
            
              | 861 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 862 | 
                      </z:index>  | 
            
            
              | 863 | 
                    </xslo:if>  | 
            
            
              | 864 | 
                  </xslo:for-each>  | 
            
            
              | 865 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 866 | 
                    <xslo:if test="contains('4', @code)"> | 
            
            
              | 867 | 
                      <z:index name="damaged:n damaged:w">  | 
            
            
              | 868 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 869 | 
                      </z:index>  | 
            
            
              | 870 | 
                    </xslo:if>  | 
            
            
              | 871 | 
                  </xslo:for-each>  | 
            
            
              | 872 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 873 | 
                    <xslo:if test="contains('5', @code)"> | 
            
            
              | 874 | 
                      <z:index name="restricted:n restricted:w">  | 
            
            
              | 875 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 876 | 
                      </z:index>  | 
            
            
              | 877 | 
                    </xslo:if>  | 
            
            
              | 878 | 
                  </xslo:for-each>  | 
            
            
              | 879 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 880 | 
                    <xslo:if test="contains('6', @code)"> | 
            
            
              | 881 | 
                      <z:index name="cn-sort:n cn-sort:s">  | 
            
            
              | 882 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 883 | 
                      </z:index>  | 
            
            
              | 884 | 
                    </xslo:if>  | 
            
            
              | 885 | 
                  </xslo:for-each>  | 
            
            
              | 886 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 887 | 
                    <xslo:if test="contains('7', @code)"> | 
            
            
              | 888 | 
                      <z:index name="notforloan:n notforloan:w">  | 
            
            
              | 889 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 890 | 
                      </z:index>  | 
            
            
              | 891 | 
                    </xslo:if>  | 
            
            
              | 892 | 
                  </xslo:for-each>  | 
            
            
              | 893 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 894 | 
                    <xslo:if test="contains('8', @code)"> | 
            
            
              | 895 | 
                      <z:index name="ccode:w">  | 
            
            
              | 896 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 897 | 
                      </z:index>  | 
            
            
              | 898 | 
                    </xslo:if>  | 
            
            
              | 899 | 
                  </xslo:for-each>  | 
            
            
              | 900 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 901 | 
                    <xslo:if test="contains('9', @code)"> | 
            
            
              | 902 | 
                      <z:index name="itemnumber:n itemnumber:s">  | 
            
            
              | 903 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 904 | 
                      </z:index>  | 
            
            
              | 905 | 
                    </xslo:if>  | 
            
            
              | 906 | 
                  </xslo:for-each>  | 
            
            
              | 907 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 908 | 
                    <xslo:if test="contains('a', @code)"> | 
            
            
              | 909 | 
                      <z:index name="homebranch:w">  | 
            
            
              | 910 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 911 | 
                      </z:index>  | 
            
            
              | 912 | 
                    </xslo:if>  | 
            
            
              | 913 | 
                  </xslo:for-each>  | 
            
            
              | 914 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 915 | 
                    <xslo:if test="contains('b', @code)"> | 
            
            
              | 916 | 
                      <z:index name="holdingbranch:w">  | 
            
            
              | 917 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 918 | 
                      </z:index>  | 
            
            
              | 919 | 
                    </xslo:if>  | 
            
            
              | 920 | 
                  </xslo:for-each>  | 
            
            
              | 921 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 922 | 
                    <xslo:if test="contains('c', @code)"> | 
            
            
              | 923 | 
                      <z:index name="location:w">  | 
            
            
              | 924 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 925 | 
                      </z:index>  | 
            
            
              | 926 | 
                    </xslo:if>  | 
            
            
              | 927 | 
                  </xslo:for-each>  | 
            
            
              | 928 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 929 | 
                    <xslo:if test="contains('d', @code)"> | 
            
            
              | 930 | 
                      <z:index name="Date-of-acquisition:w Date-of-acquisition:d Date-of-acquisition:s">  | 
            
            
              | 931 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 932 | 
                      </z:index>  | 
            
            
              | 933 | 
                    </xslo:if>  | 
            
            
              | 934 | 
                  </xslo:for-each>  | 
            
            
              | 935 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 936 | 
                    <xslo:if test="contains('e', @code)"> | 
            
            
              | 937 | 
                      <z:index name="acqsource:w">  | 
            
            
              | 938 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 939 | 
                      </z:index>  | 
            
            
              | 940 | 
                    </xslo:if>  | 
            
            
              | 941 | 
                  </xslo:for-each>  | 
            
            
              | 942 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 943 | 
                    <xslo:if test="contains('f', @code)"> | 
            
            
              | 944 | 
                      <z:index name="coded-location-qualifier:w">  | 
            
            
              | 945 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 946 | 
                      </z:index>  | 
            
            
              | 947 | 
                    </xslo:if>  | 
            
            
              | 948 | 
                  </xslo:for-each>  | 
            
            
              | 949 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 950 | 
                    <xslo:if test="contains('g', @code)"> | 
            
            
              | 951 | 
                      <z:index name="price:w">  | 
            
            
              | 952 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 953 | 
                      </z:index>  | 
            
            
              | 954 | 
                    </xslo:if>  | 
            
            
              | 955 | 
                  </xslo:for-each>  | 
            
            
              | 956 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 957 | 
                    <xslo:if test="contains('j', @code)"> | 
            
            
              | 958 | 
                      <z:index name="stack:n stack:w">  | 
            
            
              | 959 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 960 | 
                      </z:index>  | 
            
            
              | 961 | 
                    </xslo:if>  | 
            
            
              | 962 | 
                  </xslo:for-each>  | 
            
            
              | 963 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 964 | 
                    <xslo:if test="contains('l', @code)"> | 
            
            
              | 965 | 
                      <z:index name="issues:n issues:w issues:s">  | 
            
            
              | 966 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 967 | 
                      </z:index>  | 
            
            
              | 968 | 
                    </xslo:if>  | 
            
            
              | 969 | 
                  </xslo:for-each>  | 
            
            
              | 970 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 971 | 
                    <xslo:if test="contains('m', @code)"> | 
            
            
              | 972 | 
                      <z:index name="renewals:n renewals:w">  | 
            
            
              | 973 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 974 | 
                      </z:index>  | 
            
            
              | 975 | 
                    </xslo:if>  | 
            
            
              | 976 | 
                  </xslo:for-each>  | 
            
            
              | 977 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 978 | 
                    <xslo:if test="contains('n', @code)"> | 
            
            
              | 979 | 
                      <z:index name="reserves:n reserves:w">  | 
            
            
              | 980 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 981 | 
                      </z:index>  | 
            
            
              | 982 | 
                    </xslo:if>  | 
            
            
              | 983 | 
                  </xslo:for-each>  | 
            
            
              | 984 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 985 | 
                    <xslo:if test="contains('o', @code)"> | 
            
            
              | 986 | 
                      <z:index name="Local-classification:w Local-classification:p Local-classification:s">  | 
            
            
              | 987 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 988 | 
                      </z:index>  | 
            
            
              | 989 | 
                    </xslo:if>  | 
            
            
              | 990 | 
                  </xslo:for-each>  | 
            
            
              | 991 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 992 | 
                    <xslo:if test="contains('p', @code)"> | 
            
            
              | 993 | 
                      <z:index name="barcode:w barcode:n">  | 
            
            
              | 994 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 995 | 
                      </z:index>  | 
            
            
              | 996 | 
                    </xslo:if>  | 
            
            
              | 997 | 
                  </xslo:for-each>  | 
            
            
              | 998 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 999 | 
                    <xslo:if test="contains('q', @code)"> | 
            
            
              | 1000 | 
                      <z:index name="onloan:n onloan:w">  | 
            
            
              | 1001 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1002 | 
                      </z:index>  | 
            
            
              | 1003 | 
                    </xslo:if>  | 
            
            
              | 1004 | 
                  </xslo:for-each>  | 
            
            
              | 1005 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 1006 | 
                    <xslo:if test="contains('r', @code)"> | 
            
            
              | 1007 | 
                      <z:index name="datelastseen:w">  | 
            
            
              | 1008 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1009 | 
                      </z:index>  | 
            
            
              | 1010 | 
                    </xslo:if>  | 
            
            
              | 1011 | 
                  </xslo:for-each>  | 
            
            
              | 1012 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 1013 | 
                    <xslo:if test="contains('s', @code)"> | 
            
            
              | 1014 | 
                      <z:index name="datelastborrowed:w">  | 
            
            
              | 1015 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1016 | 
                      </z:index>  | 
            
            
              | 1017 | 
                    </xslo:if>  | 
            
            
              | 1018 | 
                  </xslo:for-each>  | 
            
            
              | 1019 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 1020 | 
                    <xslo:if test="contains('t', @code)"> | 
            
            
              | 1021 | 
                      <z:index name="copynumber:w">  | 
            
            
              | 1022 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1023 | 
                      </z:index>  | 
            
            
              | 1024 | 
                    </xslo:if>  | 
            
            
              | 1025 | 
                  </xslo:for-each>  | 
            
            
              | 1026 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 1027 | 
                    <xslo:if test="contains('u', @code)"> | 
            
            
              | 1028 | 
                      <z:index name="uri:u">  | 
            
            
              | 1029 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1030 | 
                      </z:index>  | 
            
            
              | 1031 | 
                    </xslo:if>  | 
            
            
              | 1032 | 
                  </xslo:for-each>  | 
            
            
              | 1033 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 1034 | 
                    <xslo:if test="contains('v', @code)"> | 
            
            
              | 1035 | 
                      <z:index name="replacementprice:w">  | 
            
            
              | 1036 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1037 | 
                      </z:index>  | 
            
            
              | 1038 | 
                    </xslo:if>  | 
            
            
              | 1039 | 
                  </xslo:for-each>  | 
            
            
              | 1040 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 1041 | 
                    <xslo:if test="contains('w', @code)"> | 
            
            
              | 1042 | 
                      <z:index name="replacementpricedate:w">  | 
            
            
              | 1043 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1044 | 
                      </z:index>  | 
            
            
              | 1045 | 
                    </xslo:if>  | 
            
            
              | 1046 | 
                  </xslo:for-each>  | 
            
            
              | 1047 | 
                  <xslo:for-each select="marc:subfield">  | 
            
            
              | 1048 | 
                    <xslo:if test="contains('y', @code)"> | 
            
            
              | 1049 | 
                      <z:index name="itype:w">  | 
            
            
              | 1050 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1051 | 
                      </z:index>  | 
            
            
              | 1052 | 
                    </xslo:if>  | 
            
            
              | 1053 | 
                  </xslo:for-each>  | 
            
            
              | 1054 | 
                </xslo:template>  | 
            
            
              | 1055 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='010']">  | 
            
            
              | 1056 | 
                  <z:index name="LC-card-number:w Identifier-standard:w">  | 
            
            
              | 1057 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1058 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1059 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1060 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1061 | 
                        </xslo:if>  | 
            
            
              | 1062 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1063 | 
                      </xslo:for-each>  | 
            
            
              | 1064 | 
                    </xslo:variable>  | 
            
            
              | 1065 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1066 | 
                  </z:index>  | 
            
            
              | 1067 | 
                </xslo:template>  | 
            
            
              | 1068 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='015']">  | 
            
            
              | 1069 | 
                  <z:index name="BNB-card-number:w BGF-number:w Number-db:w Number-natl-biblio:w Identifier-standard:w">  | 
            
            
              | 1070 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1071 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1072 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1073 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1074 | 
                        </xslo:if>  | 
            
            
              | 1075 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1076 | 
                      </xslo:for-each>  | 
            
            
              | 1077 | 
                    </xslo:variable>  | 
            
            
              | 1078 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1079 | 
                  </z:index>  | 
            
            
              | 1080 | 
                </xslo:template>  | 
            
            
              | 1081 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='020']">  | 
            
            
              | 1082 | 
                  <z:index name="ISBN:w Identifier-standard:w">  | 
            
            
              | 1083 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1084 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1085 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1086 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1087 | 
                        </xslo:if>  | 
            
            
              | 1088 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1089 | 
                      </xslo:for-each>  | 
            
            
              | 1090 | 
                    </xslo:variable>  | 
            
            
              | 1091 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1092 | 
                  </z:index>  | 
            
            
              | 1093 | 
                </xslo:template>  | 
            
            
              | 1094 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='022']">  | 
            
            
              | 1095 | 
                  <z:index name="ISSN:w Identifier-standard:w">  | 
            
            
              | 1096 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1097 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1098 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1099 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1100 | 
                        </xslo:if>  | 
            
            
              | 1101 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1102 | 
                      </xslo:for-each>  | 
            
            
              | 1103 | 
                    </xslo:variable>  | 
            
            
              | 1104 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1105 | 
                  </z:index>  | 
            
            
              | 1106 | 
                </xslo:template>  | 
            
            
              | 1107 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='024']">  | 
            
            
              | 1108 | 
                  <z:index name="Identifier-standard:w">  | 
            
            
              | 1109 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1110 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1111 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1112 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1113 | 
                        </xslo:if>  | 
            
            
              | 1114 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1115 | 
                      </xslo:for-each>  | 
            
            
              | 1116 | 
                    </xslo:variable>  | 
            
            
              | 1117 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1118 | 
                  </z:index>  | 
            
            
              | 1119 | 
                </xslo:template>  | 
            
            
              | 1120 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='025']">  | 
            
            
              | 1121 | 
                  <z:index name="Identifier-standard:w">  | 
            
            
              | 1122 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1123 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1124 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1125 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1126 | 
                        </xslo:if>  | 
            
            
              | 1127 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1128 | 
                      </xslo:for-each>  | 
            
            
              | 1129 | 
                    </xslo:variable>  | 
            
            
              | 1130 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1131 | 
                  </z:index>  | 
            
            
              | 1132 | 
                </xslo:template>  | 
            
            
              | 1133 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='027']">  | 
            
            
              | 1134 | 
                  <z:index name="Report-number:w Identifier-standard:w">  | 
            
            
              | 1135 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1136 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1137 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1138 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1139 | 
                        </xslo:if>  | 
            
            
              | 1140 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1141 | 
                      </xslo:for-each>  | 
            
            
              | 1142 | 
                    </xslo:variable>  | 
            
            
              | 1143 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1144 | 
                  </z:index>  | 
            
            
              | 1145 | 
                </xslo:template>  | 
            
            
              | 1146 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='028']">  | 
            
            
              | 1147 | 
                  <z:index name="Identifier-publisher-for-music:w Identifier-standard:w">  | 
            
            
              | 1148 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1149 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1150 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1151 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1152 | 
                        </xslo:if>  | 
            
            
              | 1153 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1154 | 
                      </xslo:for-each>  | 
            
            
              | 1155 | 
                    </xslo:variable>  | 
            
            
              | 1156 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1157 | 
                  </z:index>  | 
            
            
              | 1158 | 
                </xslo:template>  | 
            
            
              | 1159 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='030']">  | 
            
            
              | 1160 | 
                  <z:index name="CODEN:w Identifier-standard:w">  | 
            
            
              | 1161 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1162 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1163 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1164 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1165 | 
                        </xslo:if>  | 
            
            
              | 1166 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1167 | 
                      </xslo:for-each>  | 
            
            
              | 1168 | 
                    </xslo:variable>  | 
            
            
              | 1169 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1170 | 
                  </z:index>  | 
            
            
              | 1171 | 
                </xslo:template>  | 
            
            
              | 1172 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='040']">  | 
            
            
              | 1173 | 
                  <z:index name="Code-institution:w Record-source:w">  | 
            
            
              | 1174 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1175 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1176 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1177 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1178 | 
                        </xslo:if>  | 
            
            
              | 1179 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1180 | 
                      </xslo:for-each>  | 
            
            
              | 1181 | 
                    </xslo:variable>  | 
            
            
              | 1182 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1183 | 
                  </z:index>  | 
            
            
              | 1184 | 
                </xslo:template>  | 
            
            
              | 1185 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='041']">  | 
            
            
              | 1186 | 
                  <z:index name="ln:w">  | 
            
            
              | 1187 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1188 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1189 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1190 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1191 | 
                        </xslo:if>  | 
            
            
              | 1192 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1193 | 
                      </xslo:for-each>  | 
            
            
              | 1194 | 
                    </xslo:variable>  | 
            
            
              | 1195 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1196 | 
                  </z:index>  | 
            
            
              | 1197 | 
                </xslo:template>  | 
            
            
              | 1198 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='043']">  | 
            
            
              | 1199 | 
                  <z:index name="Code-geographic:w">  | 
            
            
              | 1200 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1201 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1202 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1203 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1204 | 
                        </xslo:if>  | 
            
            
              | 1205 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1206 | 
                      </xslo:for-each>  | 
            
            
              | 1207 | 
                    </xslo:variable>  | 
            
            
              | 1208 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1209 | 
                  </z:index>  | 
            
            
              | 1210 | 
                </xslo:template>  | 
            
            
              | 1211 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='060']">  | 
            
            
              | 1212 | 
                  <z:index name="NLM-call-number:w">  | 
            
            
              | 1213 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1214 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1215 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1216 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1217 | 
                        </xslo:if>  | 
            
            
              | 1218 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1219 | 
                      </xslo:for-each>  | 
            
            
              | 1220 | 
                    </xslo:variable>  | 
            
            
              | 1221 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1222 | 
                  </z:index>  | 
            
            
              | 1223 | 
                </xslo:template>  | 
            
            
              | 1224 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='080']">  | 
            
            
              | 1225 | 
                  <z:index name="UDC-classification:w">  | 
            
            
              | 1226 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1227 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1228 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1229 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1230 | 
                        </xslo:if>  | 
            
            
              | 1231 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1232 | 
                      </xslo:for-each>  | 
            
            
              | 1233 | 
                    </xslo:variable>  | 
            
            
              | 1234 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1235 | 
                  </z:index>  | 
            
            
              | 1236 | 
                </xslo:template>  | 
            
            
              | 1237 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='082']">  | 
            
            
              | 1238 | 
                  <z:index name="Dewey-classification:w Dewey-classification:s">  | 
            
            
              | 1239 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1240 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1241 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1242 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1243 | 
                        </xslo:if>  | 
            
            
              | 1244 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1245 | 
                      </xslo:for-each>  | 
            
            
              | 1246 | 
                    </xslo:variable>  | 
            
            
              | 1247 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1248 | 
                  </z:index>  | 
            
            
              | 1249 | 
                </xslo:template>  | 
            
            
              | 1250 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='100']">  | 
            
            
              | 1251 | 
                  <z:index name="Author:w Author-title:w Author-name-personal:w Name:w Name-and-title:w Personal-name:w">  | 
            
            
              | 1252 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1253 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1254 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1255 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1256 | 
                        </xslo:if>  | 
            
            
              | 1257 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1258 | 
                      </xslo:for-each>  | 
            
            
              | 1259 | 
                    </xslo:variable>  | 
            
            
              | 1260 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1261 | 
                  </z:index>  | 
            
            
              | 1262 | 
                </xslo:template>  | 
            
            
              | 1263 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='110']">  | 
            
            
              | 1264 | 
                  <z:index name="Author:w Author-title:w Author-name-corporate:w Name:w Name-and-title:w Corporate-name:w">  | 
            
            
              | 1265 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1266 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1267 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1268 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1269 | 
                        </xslo:if>  | 
            
            
              | 1270 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1271 | 
                      </xslo:for-each>  | 
            
            
              | 1272 | 
                    </xslo:variable>  | 
            
            
              | 1273 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1274 | 
                  </z:index>  | 
            
            
              | 1275 | 
                </xslo:template>  | 
            
            
              | 1276 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='111']">  | 
            
            
              | 1277 | 
                  <z:index name="Author:w Author-title:w Author-name-corporate:w Name:w Name-and-title:w Conference-name:w">  | 
            
            
              | 1278 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1279 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1280 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1281 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1282 | 
                        </xslo:if>  | 
            
            
              | 1283 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1284 | 
                      </xslo:for-each>  | 
            
            
              | 1285 | 
                    </xslo:variable>  | 
            
            
              | 1286 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1287 | 
                  </z:index>  | 
            
            
              | 1288 | 
                </xslo:template>  | 
            
            
              | 1289 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='130']">  | 
            
            
              | 1290 | 
                  <z:index name="Title:w Title-uniform:w">  | 
            
            
              | 1291 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1292 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1293 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1294 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1295 | 
                        </xslo:if>  | 
            
            
              | 1296 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1297 | 
                      </xslo:for-each>  | 
            
            
              | 1298 | 
                    </xslo:variable>  | 
            
            
              | 1299 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1300 | 
                  </z:index>  | 
            
            
              | 1301 | 
                </xslo:template>  | 
            
            
              | 1302 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='210']">  | 
            
            
              | 1303 | 
                  <z:index name="Title:w Title-abbreviated:w">  | 
            
            
              | 1304 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1305 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1306 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1307 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1308 | 
                        </xslo:if>  | 
            
            
              | 1309 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1310 | 
                      </xslo:for-each>  | 
            
            
              | 1311 | 
                    </xslo:variable>  | 
            
            
              | 1312 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1313 | 
                  </z:index>  | 
            
            
              | 1314 | 
                </xslo:template>  | 
            
            
              | 1315 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='222']">  | 
            
            
              | 1316 | 
                  <z:index name="Title:w Title-key:w">  | 
            
            
              | 1317 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1318 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1319 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1320 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1321 | 
                        </xslo:if>  | 
            
            
              | 1322 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1323 | 
                      </xslo:for-each>  | 
            
            
              | 1324 | 
                    </xslo:variable>  | 
            
            
              | 1325 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1326 | 
                  </z:index>  | 
            
            
              | 1327 | 
                </xslo:template>  | 
            
            
              | 1328 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='240']">  | 
            
            
              | 1329 | 
                  <z:index name="Title:w Title:p Title-uniform:w">  | 
            
            
              | 1330 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1331 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1332 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1333 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1334 | 
                        </xslo:if>  | 
            
            
              | 1335 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1336 | 
                      </xslo:for-each>  | 
            
            
              | 1337 | 
                    </xslo:variable>  | 
            
            
              | 1338 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1339 | 
                  </z:index>  | 
            
            
              | 1340 | 
                </xslo:template>  | 
            
            
              | 1341 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='245']">  | 
            
            
              | 1342 | 
                  <z:index name="Title:w Title:p">  | 
            
            
              | 1343 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1344 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1345 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1346 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1347 | 
                        </xslo:if>  | 
            
            
              | 1348 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1349 | 
                      </xslo:for-each>  | 
            
            
              | 1350 | 
                    </xslo:variable>  | 
            
            
              | 1351 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1352 | 
                  </z:index>  | 
            
            
              | 1353 | 
                </xslo:template>  | 
            
            
              | 1354 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='246']">  | 
            
            
              | 1355 | 
                  <z:index name="Title:w Title:p Title-abbreviated:w Title-expanded:w Title-former:w">  | 
            
            
              | 1356 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1357 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1358 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1359 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1360 | 
                        </xslo:if>  | 
            
            
              | 1361 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1362 | 
                      </xslo:for-each>  | 
            
            
              | 1363 | 
                    </xslo:variable>  | 
            
            
              | 1364 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1365 | 
                  </z:index>  | 
            
            
              | 1366 | 
                </xslo:template>  | 
            
            
              | 1367 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='260']">  | 
            
            
              | 1368 | 
                  <z:index name="pl:w">  | 
            
            
              | 1369 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1370 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1371 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1372 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1373 | 
                        </xslo:if>  | 
            
            
              | 1374 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1375 | 
                      </xslo:for-each>  | 
            
            
              | 1376 | 
                    </xslo:variable>  | 
            
            
              | 1377 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1378 | 
                  </z:index>  | 
            
            
              | 1379 | 
                </xslo:template>  | 
            
            
              | 1380 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='300']">  | 
            
            
              | 1381 | 
                  <z:index name="Extent:w Extent:p">  | 
            
            
              | 1382 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1383 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1384 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1385 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1386 | 
                        </xslo:if>  | 
            
            
              | 1387 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1388 | 
                      </xslo:for-each>  | 
            
            
              | 1389 | 
                    </xslo:variable>  | 
            
            
              | 1390 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1391 | 
                  </z:index>  | 
            
            
              | 1392 | 
                </xslo:template>  | 
            
            
              | 1393 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='440']">  | 
            
            
              | 1394 | 
                  <z:index name="Title-series:w Title-series:p Title:w Title-series:w">  | 
            
            
              | 1395 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1396 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1397 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1398 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1399 | 
                        </xslo:if>  | 
            
            
              | 1400 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1401 | 
                      </xslo:for-each>  | 
            
            
              | 1402 | 
                    </xslo:variable>  | 
            
            
              | 1403 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1404 | 
                  </z:index>  | 
            
            
              | 1405 | 
                </xslo:template>  | 
            
            
              | 1406 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='490']">  | 
            
            
              | 1407 | 
                  <z:index name="Title:w Title-series:w">  | 
            
            
              | 1408 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1409 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1410 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1411 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1412 | 
                        </xslo:if>  | 
            
            
              | 1413 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1414 | 
                      </xslo:for-each>  | 
            
            
              | 1415 | 
                    </xslo:variable>  | 
            
            
              | 1416 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1417 | 
                  </z:index>  | 
            
            
              | 1418 | 
                </xslo:template>  | 
            
            
              | 1419 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='502']">  | 
            
            
              | 1420 | 
                  <z:index name="Material-type:w">  | 
            
            
              | 1421 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1422 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1423 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1424 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1425 | 
                        </xslo:if>  | 
            
            
              | 1426 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1427 | 
                      </xslo:for-each>  | 
            
            
              | 1428 | 
                    </xslo:variable>  | 
            
            
              | 1429 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1430 | 
                  </z:index>  | 
            
            
              | 1431 | 
                </xslo:template>  | 
            
            
              | 1432 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='505']">  | 
            
            
              | 1433 | 
                  <z:index name="Note:w Note:p">  | 
            
            
              | 1434 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1435 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1436 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1437 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1438 | 
                        </xslo:if>  | 
            
            
              | 1439 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1440 | 
                      </xslo:for-each>  | 
            
            
              | 1441 | 
                    </xslo:variable>  | 
            
            
              | 1442 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1443 | 
                  </z:index>  | 
            
            
              | 1444 | 
                </xslo:template>  | 
            
            
              | 1445 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='510']">  | 
            
            
              | 1446 | 
                  <z:index name="Indexed-by:w">  | 
            
            
              | 1447 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1448 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1449 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1450 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1451 | 
                        </xslo:if>  | 
            
            
              | 1452 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1453 | 
                      </xslo:for-each>  | 
            
            
              | 1454 | 
                    </xslo:variable>  | 
            
            
              | 1455 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1456 | 
                  </z:index>  | 
            
            
              | 1457 | 
                </xslo:template>  | 
            
            
              | 1458 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='520']">  | 
            
            
              | 1459 | 
                  <z:index name="Abstract:w Abstract:p">  | 
            
            
              | 1460 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1461 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1462 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1463 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1464 | 
                        </xslo:if>  | 
            
            
              | 1465 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1466 | 
                      </xslo:for-each>  | 
            
            
              | 1467 | 
                    </xslo:variable>  | 
            
            
              | 1468 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1469 | 
                  </z:index>  | 
            
            
              | 1470 | 
                </xslo:template>  | 
            
            
              | 1471 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='600']">  | 
            
            
              | 1472 | 
                  <z:index name="Name:w Personal-name:w Subject-name-personal:w Subject:w Subject:p">  | 
            
            
              | 1473 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1474 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1475 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1476 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1477 | 
                        </xslo:if>  | 
            
            
              | 1478 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1479 | 
                      </xslo:for-each>  | 
            
            
              | 1480 | 
                    </xslo:variable>  | 
            
            
              | 1481 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1482 | 
                  </z:index>  | 
            
            
              | 1483 | 
                </xslo:template>  | 
            
            
              | 1484 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='610']">  | 
            
            
              | 1485 | 
                  <z:index name="Name:w Subject:w Corporate-name:w Subject:w Subject:p">  | 
            
            
              | 1486 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1487 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1488 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1489 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1490 | 
                        </xslo:if>  | 
            
            
              | 1491 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1492 | 
                      </xslo:for-each>  | 
            
            
              | 1493 | 
                    </xslo:variable>  | 
            
            
              | 1494 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1495 | 
                  </z:index>  | 
            
            
              | 1496 | 
                </xslo:template>  | 
            
            
              | 1497 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='611']">  | 
            
            
              | 1498 | 
                  <z:index name="Conference-name:w Subject:w Subject:p">  | 
            
            
              | 1499 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1500 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1501 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1502 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1503 | 
                        </xslo:if>  | 
            
            
              | 1504 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1505 | 
                      </xslo:for-each>  | 
            
            
              | 1506 | 
                    </xslo:variable>  | 
            
            
              | 1507 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1508 | 
                  </z:index>  | 
            
            
              | 1509 | 
                  <z:index name="Name:w Subject:w Subject:p">  | 
            
            
              | 1510 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1511 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1512 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1513 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1514 | 
                        </xslo:if>  | 
            
            
              | 1515 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1516 | 
                      </xslo:for-each>  | 
            
            
              | 1517 | 
                    </xslo:variable>  | 
            
            
              | 1518 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1519 | 
                  </z:index>  | 
            
            
              | 1520 | 
                </xslo:template>  | 
            
            
              | 1521 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='630']">  | 
            
            
              | 1522 | 
                  <z:index name="Subject:w Subject:p">  | 
            
            
              | 1523 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1524 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1525 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1526 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1527 | 
                        </xslo:if>  | 
            
            
              | 1528 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1529 | 
                      </xslo:for-each>  | 
            
            
              | 1530 | 
                    </xslo:variable>  | 
            
            
              | 1531 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1532 | 
                  </z:index>  | 
            
            
              | 1533 | 
                </xslo:template>  | 
            
            
              | 1534 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='650']">  | 
            
            
              | 1535 | 
                  <z:index name="Subject:w Subject:p">  | 
            
            
              | 1536 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1537 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1538 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1539 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1540 | 
                        </xslo:if>  | 
            
            
              | 1541 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1542 | 
                      </xslo:for-each>  | 
            
            
              | 1543 | 
                    </xslo:variable>  | 
            
            
              | 1544 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1545 | 
                  </z:index>  | 
            
            
              | 1546 | 
                </xslo:template>  | 
            
            
              | 1547 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='651']">  | 
            
            
              | 1548 | 
                  <z:index name="Name-geographic:w Subject:w Subject:p">  | 
            
            
              | 1549 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1550 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1551 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1552 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1553 | 
                        </xslo:if>  | 
            
            
              | 1554 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1555 | 
                      </xslo:for-each>  | 
            
            
              | 1556 | 
                    </xslo:variable>  | 
            
            
              | 1557 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1558 | 
                  </z:index>  | 
            
            
              | 1559 | 
                </xslo:template>  | 
            
            
              | 1560 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='653']">  | 
            
            
              | 1561 | 
                  <z:index name="Subject:w Subject:p">  | 
            
            
              | 1562 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1563 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1564 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1565 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1566 | 
                        </xslo:if>  | 
            
            
              | 1567 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1568 | 
                      </xslo:for-each>  | 
            
            
              | 1569 | 
                    </xslo:variable>  | 
            
            
              | 1570 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1571 | 
                  </z:index>  | 
            
            
              | 1572 | 
                </xslo:template>  | 
            
            
              | 1573 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='654']">  | 
            
            
              | 1574 | 
                  <z:index name="Subject:w Subject:p">  | 
            
            
              | 1575 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1576 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1577 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1578 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1579 | 
                        </xslo:if>  | 
            
            
              | 1580 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1581 | 
                      </xslo:for-each>  | 
            
            
              | 1582 | 
                    </xslo:variable>  | 
            
            
              | 1583 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1584 | 
                  </z:index>  | 
            
            
              | 1585 | 
                </xslo:template>  | 
            
            
              | 1586 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='655']">  | 
            
            
              | 1587 | 
                  <z:index name="Subject:w Subject:p">  | 
            
            
              | 1588 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1589 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1590 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1591 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1592 | 
                        </xslo:if>  | 
            
            
              | 1593 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1594 | 
                      </xslo:for-each>  | 
            
            
              | 1595 | 
                    </xslo:variable>  | 
            
            
              | 1596 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1597 | 
                  </z:index>  | 
            
            
              | 1598 | 
                </xslo:template>  | 
            
            
              | 1599 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='656']">  | 
            
            
              | 1600 | 
                  <z:index name="Subject:w Subject:p">  | 
            
            
              | 1601 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1602 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1603 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1604 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1605 | 
                        </xslo:if>  | 
            
            
              | 1606 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1607 | 
                      </xslo:for-each>  | 
            
            
              | 1608 | 
                    </xslo:variable>  | 
            
            
              | 1609 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1610 | 
                  </z:index>  | 
            
            
              | 1611 | 
                </xslo:template>  | 
            
            
              | 1612 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='657']">  | 
            
            
              | 1613 | 
                  <z:index name="Subject:w Subject:p">  | 
            
            
              | 1614 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1615 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1616 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1617 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1618 | 
                        </xslo:if>  | 
            
            
              | 1619 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1620 | 
                      </xslo:for-each>  | 
            
            
              | 1621 | 
                    </xslo:variable>  | 
            
            
              | 1622 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1623 | 
                  </z:index>  | 
            
            
              | 1624 | 
                </xslo:template>  | 
            
            
              | 1625 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='690']">  | 
            
            
              | 1626 | 
                  <z:index name="Subject:w Subject:p">  | 
            
            
              | 1627 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1628 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1629 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1630 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1631 | 
                        </xslo:if>  | 
            
            
              | 1632 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1633 | 
                      </xslo:for-each>  | 
            
            
              | 1634 | 
                    </xslo:variable>  | 
            
            
              | 1635 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1636 | 
                  </z:index>  | 
            
            
              | 1637 | 
                </xslo:template>  | 
            
            
              | 1638 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='700']">  | 
            
            
              | 1639 | 
                  <z:index name="Author:w Author-name-corporate:w Author-name-personal:w Name:w Editor:w Personal-name:w">  | 
            
            
              | 1640 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1641 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1642 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1643 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1644 | 
                        </xslo:if>  | 
            
            
              | 1645 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1646 | 
                      </xslo:for-each>  | 
            
            
              | 1647 | 
                    </xslo:variable>  | 
            
            
              | 1648 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1649 | 
                  </z:index>  | 
            
            
              | 1650 | 
                </xslo:template>  | 
            
            
              | 1651 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='710']">  | 
            
            
              | 1652 | 
                  <z:index name="Author:w Corporate-name:w">  | 
            
            
              | 1653 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1654 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1655 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1656 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1657 | 
                        </xslo:if>  | 
            
            
              | 1658 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1659 | 
                      </xslo:for-each>  | 
            
            
              | 1660 | 
                    </xslo:variable>  | 
            
            
              | 1661 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1662 | 
                  </z:index>  | 
            
            
              | 1663 | 
                  <z:index name="Author:w Name:w">  | 
            
            
              | 1664 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1665 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1666 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1667 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1668 | 
                        </xslo:if>  | 
            
            
              | 1669 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1670 | 
                      </xslo:for-each>  | 
            
            
              | 1671 | 
                    </xslo:variable>  | 
            
            
              | 1672 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1673 | 
                  </z:index>  | 
            
            
              | 1674 | 
                </xslo:template>  | 
            
            
              | 1675 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='711']">  | 
            
            
              | 1676 | 
                  <z:index name="Author-name-corporate:w Name:w Conference-name:w">  | 
            
            
              | 1677 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1678 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1679 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1680 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1681 | 
                        </xslo:if>  | 
            
            
              | 1682 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1683 | 
                      </xslo:for-each>  | 
            
            
              | 1684 | 
                    </xslo:variable>  | 
            
            
              | 1685 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1686 | 
                  </z:index>  | 
            
            
              | 1687 | 
                </xslo:template>  | 
            
            
              | 1688 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='730']">  | 
            
            
              | 1689 | 
                  <z:index name="Title:w Title-uniform:w">  | 
            
            
              | 1690 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1691 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1692 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1693 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1694 | 
                        </xslo:if>  | 
            
            
              | 1695 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1696 | 
                      </xslo:for-each>  | 
            
            
              | 1697 | 
                    </xslo:variable>  | 
            
            
              | 1698 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1699 | 
                  </z:index>  | 
            
            
              | 1700 | 
                </xslo:template>  | 
            
            
              | 1701 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='740']">  | 
            
            
              | 1702 | 
                  <z:index name="Title:w Title-other-variant:w">  | 
            
            
              | 1703 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1704 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1705 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1706 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1707 | 
                        </xslo:if>  | 
            
            
              | 1708 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1709 | 
                      </xslo:for-each>  | 
            
            
              | 1710 | 
                    </xslo:variable>  | 
            
            
              | 1711 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1712 | 
                  </z:index>  | 
            
            
              | 1713 | 
                </xslo:template>  | 
            
            
              | 1714 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='780']">  | 
            
            
              | 1715 | 
                  <z:index name="Title:w Title-former:w Related-periodical:w">  | 
            
            
              | 1716 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1717 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1718 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1719 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1720 | 
                        </xslo:if>  | 
            
            
              | 1721 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1722 | 
                      </xslo:for-each>  | 
            
            
              | 1723 | 
                    </xslo:variable>  | 
            
            
              | 1724 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1725 | 
                  </z:index>  | 
            
            
              | 1726 | 
                </xslo:template>  | 
            
            
              | 1727 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='785']">  | 
            
            
              | 1728 | 
                  <z:index name="Related-periodical:w">  | 
            
            
              | 1729 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1730 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1731 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1732 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1733 | 
                        </xslo:if>  | 
            
            
              | 1734 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1735 | 
                      </xslo:for-each>  | 
            
            
              | 1736 | 
                    </xslo:variable>  | 
            
            
              | 1737 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1738 | 
                  </z:index>  | 
            
            
              | 1739 | 
                </xslo:template>  | 
            
            
              | 1740 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='800']">  | 
            
            
              | 1741 | 
                  <z:index name="Author:w Author-name-personal:w Name:w Personal-name:w">  | 
            
            
              | 1742 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1743 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1744 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1745 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1746 | 
                        </xslo:if>  | 
            
            
              | 1747 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1748 | 
                      </xslo:for-each>  | 
            
            
              | 1749 | 
                    </xslo:variable>  | 
            
            
              | 1750 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1751 | 
                  </z:index>  | 
            
            
              | 1752 | 
                </xslo:template>  | 
            
            
              | 1753 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='810']">  | 
            
            
              | 1754 | 
                  <z:index name="Author:w Corporate-name:w Author-name-corporate:w Name:w">  | 
            
            
              | 1755 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1756 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1757 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1758 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1759 | 
                        </xslo:if>  | 
            
            
              | 1760 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 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_data_field" match="marc:datafield[@tag='811']">  | 
            
            
              | 1767 | 
                  <z:index name="Author:w Author-name-corporate:w Name:w Conference-name:w">  | 
            
            
              | 1768 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1769 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1770 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1771 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1772 | 
                        </xslo:if>  | 
            
            
              | 1773 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1774 | 
                      </xslo:for-each>  | 
            
            
              | 1775 | 
                    </xslo:variable>  | 
            
            
              | 1776 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1777 | 
                  </z:index>  | 
            
            
              | 1778 | 
                </xslo:template>  | 
            
            
              | 1779 | 
                <xslo:template mode="index_data_field" match="marc:datafield[@tag='830']">  | 
            
            
              | 1780 | 
                  <z:index name="Title:w Title-series:w">  | 
            
            
              | 1781 | 
                    <xslo:variable name="raw_heading">  | 
            
            
              | 1782 | 
                      <xslo:for-each select="marc:subfield">  | 
            
            
              | 1783 | 
                        <xslo:if test="position() > 1">  | 
            
            
              | 1784 | 
                          <xslo:value-of select="substring(' ', 1, 1)"/> | 
            
            
              | 1785 | 
                        </xslo:if>  | 
            
            
              | 1786 | 
                        <xslo:value-of select="."/>  | 
            
            
              | 1787 | 
                      </xslo:for-each>  | 
            
            
              | 1788 | 
                    </xslo:variable>  | 
            
            
              | 1789 | 
                    <xslo:value-of select="normalize-space($raw_heading)"/>  | 
            
            
              | 1790 | 
                  </z:index>  | 
            
            
              | 1791 | 
                </xslo:template>  | 
            
            
              | 1792 | 
                <xslo:template mode="index_facets" match="marc:datafield[@tag='100']">  | 
            
            
              | 1793 | 
                  <xslo:if test="not(@ind1='z')">  | 
            
            
              | 1794 | 
                    <z:index name="au:0">  | 
            
            
              | 1795 | 
                      <xslo:value-of select="marc:subfield[@code='a']"/>  | 
            
            
              | 1796 | 
                    </z:index>  | 
            
            
              | 1797 | 
                  </xslo:if>  | 
            
            
              | 1798 | 
                </xslo:template>  | 
            
            
              | 1799 | 
                <xslo:template mode="index_facets" match="marc:datafield[@tag='110']">  | 
            
            
              | 1800 | 
                  <xslo:if test="not(@ind1='z')">  | 
            
            
              | 1801 | 
                    <z:index name="au:0">  | 
            
            
              | 1802 | 
                      <xslo:value-of select="marc:subfield[@code='a']"/>  | 
            
            
              | 1803 | 
                    </z:index>  | 
            
            
              | 1804 | 
                  </xslo:if>  | 
            
            
              | 1805 | 
                </xslo:template>  | 
            
            
              | 1806 | 
                <xslo:template mode="index_facets" match="marc:datafield[@tag='440']">  | 
            
            
              | 1807 | 
                  <xslo:if test="not(@ind1='z')">  | 
            
            
              | 1808 | 
                    <z:index name="se:0">  | 
            
            
              | 1809 | 
                      <xslo:value-of select="marc:subfield[@code='a']"/>  | 
            
            
              | 1810 | 
                    </z:index>  | 
            
            
              | 1811 | 
                  </xslo:if>  | 
            
            
              | 1812 | 
                </xslo:template>  | 
            
            
              | 1813 | 
                <xslo:template mode="index_facets" match="marc:datafield[@tag='490']">  | 
            
            
              | 1814 | 
                  <xslo:if test="not(@ind1='z')">  | 
            
            
              | 1815 | 
                    <z:index name=">se:0">  | 
            
            
              | 1816 | 
                      <xslo:value-of select="marc:subfield[@code='a']"/>  | 
            
            
              | 1817 | 
                    </z:index>  | 
            
            
              | 1818 | 
                  </xslo:if>  | 
            
            
              | 1819 | 
                </xslo:template>  | 
            
            
              | 1820 | 
                <xslo:template mode="index_facets" match="marc:datafield[@tag='630']">  | 
            
            
              | 1821 | 
                  <xslo:if test="not(@ind1='z')">  | 
            
            
              | 1822 | 
                    <z:index name="su-ut:0">  | 
            
            
              | 1823 | 
                      <xslo:value-of select="marc:subfield[@code='a']"/>  | 
            
            
              | 1824 | 
                    </z:index>  | 
            
            
              | 1825 | 
                  </xslo:if>  | 
            
            
              | 1826 | 
                </xslo:template>  | 
            
            
              | 1827 | 
                <xslo:template mode="index_facets" match="marc:datafield[@tag='650']">  | 
            
            
              | 1828 | 
                  <xslo:if test="not(@ind1='z')">  | 
            
            
              | 1829 | 
                    <z:index name="su-to:0">  | 
            
            
              | 1830 | 
                      <xslo:value-of select="marc:subfield[@code='a']"/>  | 
            
            
              | 1831 | 
                    </z:index>  | 
            
            
              | 1832 | 
                  </xslo:if>  | 
            
            
              | 1833 | 
                </xslo:template>  | 
            
            
              | 1834 | 
                <xslo:template mode="index_facets" match="marc:datafield[@tag='651']">  | 
            
            
              | 1835 | 
                  <xslo:if test="not(@ind1='z')">  | 
            
            
              | 1836 | 
                    <z:index name="su-geo:0">  | 
            
            
              | 1837 | 
                      <xslo:value-of select="marc:subfield[@code='a']"/>  | 
            
            
              | 1838 | 
                    </z:index>  | 
            
            
              | 1839 | 
                  </xslo:if>  | 
            
            
              | 1840 | 
                </xslo:template>  | 
            
            
              | 1841 | 
                <xslo:template mode="index_facets" match="marc:datafield[@tag='700']">  | 
            
            
              | 1842 | 
                  <xslo:if test="not(@ind1='z')">  | 
            
            
              | 1843 | 
                    <z:index name="au:0">  | 
            
            
              | 1844 | 
                      <xslo:value-of select="marc:subfield[@code='a']"/>  | 
            
            
              | 1845 | 
                    </z:index>  | 
            
            
              | 1846 | 
                  </xslo:if>  | 
            
            
              | 1847 | 
                </xslo:template>  | 
            
            
              | 1848 | 
                <xslo:template mode="index_facets" match="marc:datafield[@tag='942']">  | 
            
            
              | 1849 | 
                  <xslo:if test="not(@ind1='z')">  | 
            
            
              | 1850 | 
                    <z:index name="itype:0">  | 
            
            
              | 1851 | 
                      <xslo:value-of select="marc:subfield[@code='c']"/>  | 
            
            
              | 1852 | 
                    </z:index>  | 
            
            
              | 1853 | 
                  </xslo:if>  | 
            
            
              | 1854 | 
                </xslo:template>  | 
            
            
              | 1855 | 
                <xslo:template mode="index_facets" match="marc:datafield[@tag='952']">  | 
            
            
              | 1856 | 
                  <xslo:if test="not(@ind1='z')">  | 
            
            
              | 1857 | 
                    <z:index name="homebranch:0">  | 
            
            
              | 1858 | 
                      <xslo:value-of select="marc:subfield[@code='a']"/>  | 
            
            
              | 1859 | 
                    </z:index>  | 
            
            
              | 1860 | 
                    <z:index name="holdingbranch:0">  | 
            
            
              | 1861 | 
                      <xslo:value-of select="marc:subfield[@code='b']"/>  | 
            
            
              | 1862 | 
                    </z:index>  | 
            
            
              | 1863 | 
                    <z:index name="location:0">  | 
            
            
              | 1864 | 
                      <xslo:value-of select="marc:subfield[@code='c']"/>  | 
            
            
              | 1865 | 
                    </z:index>  | 
            
            
              | 1866 | 
                    <z:index name="itype:0">  | 
            
            
              | 1867 | 
                      <xslo:value-of select="marc:subfield[@code='y']"/>  | 
            
            
              | 1868 | 
                    </z:index>  | 
            
            
              | 1869 | 
                    <z:index name="ccode:0">  | 
            
            
              | 1870 | 
                      <xslo:value-of select="marc:subfield[@code='8']"/>  | 
            
            
              | 1871 | 
                    </z:index>  | 
            
            
              | 1872 | 
                  </xslo:if>  | 
            
            
              | 1873 | 
                </xslo:template>  | 
            
            
              | 1874 | 
                <xslo:template mode="index_all" match="text()">  | 
            
            
              | 1875 | 
                  <z:index name="Any:w Any:p">  | 
            
            
              | 1876 | 
                    <xslo:value-of select="."/>  | 
            
            
              | 1877 | 
                  </z:index>  | 
            
            
              | 1878 | 
                </xslo:template>  | 
            
            
              | 1879 | 
                <xslo:template mode="index_sort_tit" match="marc:datafield[@tag='245']">  | 
            
            
              | 1880 | 
                  <xslo:variable name="chop">  | 
            
            
              | 1881 | 
                    <xslo:choose>  | 
            
            
              | 1882 | 
                      <xslo:when test="not(number(@ind2))">0</xslo:when>  | 
            
            
              | 1883 | 
                      <xslo:otherwise>  | 
            
            
              | 1884 | 
                        <xslo:value-of select="number(@ind2)"/>  | 
            
            
              | 1885 | 
                      </xslo:otherwise>  | 
            
            
              | 1886 | 
                    </xslo:choose>  | 
            
            
              | 1887 | 
                  </xslo:variable>  | 
            
            
              | 1888 | 
                  <z:index name="Title:s">  | 
            
            
              | 1889 | 
                    <xslo:value-of select="substring(marc:subfield[@code='a'], $chop+1)"/>  | 
            
            
              | 1890 | 
                  </z:index>  | 
            
            
              | 1891 | 
                </xslo:template>  | 
            
            
              | 1892 | 
                <xslo:template name="chopPunctuation">  | 
            
            
              | 1893 | 
                  <xslo:param name="chopString"/>  | 
            
            
              | 1894 | 
                  <xslo:variable name="length" select="string-length($chopString)"/>  | 
            
            
              | 1895 | 
                  <xslo:choose>  | 
            
            
              | 1896 | 
                    <xslo:when test="$length=0"/>  | 
            
            
              | 1897 | 
                    <xslo:when test="contains('-,.:=;!%/', substring($chopString,$length,1))"> | 
            
            
              | 1898 | 
                      <xslo:call-template name="chopPunctuation">  | 
            
            
              | 1899 | 
                        <xslo:with-param name="chopString" select="substring($chopString,1,$length - 1)"/>  | 
            
            
              | 1900 | 
                      </xslo:call-template>  | 
            
            
              | 1901 | 
                    </xslo:when>  | 
            
            
              | 1902 | 
                    <xslo:when test="not($chopString)"/>  | 
            
            
              | 1903 | 
                    <xslo:otherwise>  | 
            
            
              | 1904 | 
                      <xslo:value-of select="$chopString"/>  | 
            
            
              | 1905 | 
                    </xslo:otherwise>  | 
            
            
              | 1906 | 
                  </xslo:choose>  | 
            
            
              | 1907 | 
                  <xslo:text/>  | 
            
            
              | 1908 | 
                </xslo:template>  | 
            
            
              | 1909 | 
              </xslo:stylesheet>  |