View | Details | Raw Unified | Return to bug 14716
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-17 / +29 lines)
Lines 8-14 Link Here
8
  xmlns:marc="http://www.loc.gov/MARC21/slim"
8
  xmlns:marc="http://www.loc.gov/MARC21/slim"
9
  xmlns:items="http://www.koha-community.org/items"
9
  xmlns:items="http://www.koha-community.org/items"
10
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
10
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
11
  exclude-result-prefixes="marc items">
11
  xmlns:str="http://exslt.org/strings"
12
  exclude-result-prefixes="marc items str">
12
    <xsl:import href="MARC21slimUtils.xsl"/>
13
    <xsl:import href="MARC21slimUtils.xsl"/>
13
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
14
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
14
    <xsl:template match="/">
15
    <xsl:template match="/">
Lines 190-196 Link Here
190
        <span class="results_summary series"><span class="label">Series: </span>
191
        <span class="results_summary series"><span class="label">Series: </span>
191
        <!-- 440 -->
192
        <!-- 440 -->
192
        <xsl:for-each select="marc:datafield[@tag=440]">
193
        <xsl:for-each select="marc:datafield[@tag=440]">
193
            <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute>
194
            <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/>"</xsl:attribute>
194
            <xsl:call-template name="chopPunctuation">
195
            <xsl:call-template name="chopPunctuation">
195
                            <xsl:with-param name="chopString">
196
                            <xsl:with-param name="chopString">
196
                                <xsl:call-template name="subfieldSelect">
197
                                <xsl:call-template name="subfieldSelect">
Lines 205-211 Link Here
205
206
206
        <!-- 490 Series not traced, Ind1 = 0 -->
207
        <!-- 490 Series not traced, Ind1 = 0 -->
207
        <xsl:for-each select="marc:datafield[@tag=490][@ind1!=1]">
208
        <xsl:for-each select="marc:datafield[@tag=490][@ind1!=1]">
208
            <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute>
209
            <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/>"</xsl:attribute>
209
                        <xsl:call-template name="chopPunctuation">
210
                        <xsl:call-template name="chopPunctuation">
210
                            <xsl:with-param name="chopString">
211
                            <xsl:with-param name="chopString">
211
                                <xsl:call-template name="subfieldSelect">
212
                                <xsl:call-template name="subfieldSelect">
Lines 222-228 Link Here
222
            <xsl:for-each select="marc:datafield[@tag=800 or @tag=810 or @tag=811 or @tag=830]">
223
            <xsl:for-each select="marc:datafield[@tag=800 or @tag=810 or @tag=811 or @tag=830]">
223
                <xsl:choose>
224
                <xsl:choose>
224
                    <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
225
                    <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
225
                        <a href="/cgi-bin/koha/catalogue/search.pl?q=rcn:{marc:subfield[@code='w']}">
226
                        <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:subfield[@code='w'], true())"/></xsl:attribute>
226
                            <xsl:call-template name="chopPunctuation">
227
                            <xsl:call-template name="chopPunctuation">
227
                                <xsl:with-param name="chopString">
228
                                <xsl:with-param name="chopString">
228
                                    <xsl:call-template name="subfieldSelect">
229
                                    <xsl:call-template name="subfieldSelect">
Lines 233-239 Link Here
233
                        </a>
234
                        </a>
234
                    </xsl:when>
235
                    </xsl:when>
235
                    <xsl:otherwise>
236
                    <xsl:otherwise>
236
                        <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='t']"/>"&amp;q=au:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute>
237
                        <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='t'], true())"/>"&amp;q=au:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/>"</xsl:attribute>
237
                            <xsl:call-template name="chopPunctuation">
238
                            <xsl:call-template name="chopPunctuation">
238
                                <xsl:with-param name="chopString">
239
                                <xsl:with-param name="chopString">
239
                                    <xsl:call-template name="subfieldSelect">
240
                                    <xsl:call-template name="subfieldSelect">
Lines 263-269 Link Here
263
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=rcn:<xsl:value-of select="marc:controlfield[@tag=001]"/>+and+(bib-level:a+or+bib-level:b)</xsl:attribute>
264
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=rcn:<xsl:value-of select="marc:controlfield[@tag=001]"/>+and+(bib-level:a+or+bib-level:b)</xsl:attribute>
264
            </xsl:when>
265
            </xsl:when>
265
            <xsl:otherwise>
266
            <xsl:otherwise>
266
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Host-item:<xsl:value-of select="translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', '')"/></xsl:attribute>
267
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Host-item:<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', ''), true())"/></xsl:attribute>
267
            </xsl:otherwise>
268
            </xsl:otherwise>
268
            </xsl:choose>
269
            </xsl:choose>
269
            <xsl:text>Show analytics</xsl:text>
270
            <xsl:text>Show analytics</xsl:text>
Lines 280-286 Link Here
280
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=rcn:<xsl:value-of select="marc:controlfield[@tag=001]"/>+not+(bib-level:a+or+bib-level:b)</xsl:attribute>
281
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=rcn:<xsl:value-of select="marc:controlfield[@tag=001]"/>+not+(bib-level:a+or+bib-level:b)</xsl:attribute>
281
            </xsl:when>
282
            </xsl:when>
282
            <xsl:otherwise>
283
            <xsl:otherwise>
283
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', '')"/></xsl:attribute>
284
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', ''), true())"/></xsl:attribute>
284
            </xsl:otherwise>
285
            </xsl:otherwise>
285
            </xsl:choose>
286
            </xsl:choose>
286
            <xsl:text>Show volumes</xsl:text>
287
            <xsl:text>Show volumes</xsl:text>
Lines 298-304 Link Here
298
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute>
299
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute>
299
            </xsl:when>
300
            </xsl:when>
300
            <xsl:otherwise>
301
            <xsl:otherwise>
301
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.', '')"/></xsl:attribute>
302
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.', ''), true())"/></xsl:attribute>
302
            </xsl:otherwise>
303
            </xsl:otherwise>
303
            </xsl:choose>
304
            </xsl:choose>
304
            <xsl:value-of select="translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.', '')" />
305
            <xsl:value-of select="translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.', '')" />
Lines 338-344 Link Here
338
                        </xsl:if>
339
                        </xsl:if>
339
                        <xsl:text> </xsl:text>
340
                        <xsl:text> </xsl:text>
340
                        <xsl:if test="marc:subfield[@code='b']">
341
                        <xsl:if test="marc:subfield[@code='b']">
341
                        <a href="/cgi-bin/koha/catalogue/search.pl?q=Provider:{marc:subfield[@code='b']}">
342
                        <a>
343
                            <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Provider:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='b'], true())"/>"</xsl:attribute>
342
                            <xsl:call-template name="subfieldSelect">
344
                            <xsl:call-template name="subfieldSelect">
343
                                <xsl:with-param name="codes">b</xsl:with-param>
345
                                <xsl:with-param name="codes">b</xsl:with-param>
344
                            </xsl:call-template>
346
                            </xsl:call-template>
Lines 659-671 Link Here
659
                        <xsl:with-param name="delimeter"> AND </xsl:with-param>
661
                        <xsl:with-param name="delimeter"> AND </xsl:with-param>
660
                        <xsl:with-param name="prefix">(su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/></xsl:with-param>
662
                        <xsl:with-param name="prefix">(su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/></xsl:with-param>
661
                        <xsl:with-param name="suffix"><xsl:value-of select="$TracingQuotesRight"/>)</xsl:with-param>
663
                        <xsl:with-param name="suffix"><xsl:value-of select="$TracingQuotesRight"/>)</xsl:with-param>
664
                        <xsl:with-param name="urlencode">1</xsl:with-param>
662
                    </xsl:call-template>
665
                    </xsl:call-template>
663
                </xsl:attribute>
666
                </xsl:attribute>
664
            </xsl:when>
667
            </xsl:when>
665
668
666
            <!-- #1807 Strip unwanted parenthesis from subjects for searching -->
669
            <!-- #1807 Strip unwanted parenthesis from subjects for searching -->
667
            <xsl:otherwise>
670
            <xsl:otherwise>
668
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/><xsl:value-of select="translate(marc:subfield[@code='a'],'()','')"/><xsl:value-of select="$TracingQuotesRight"/></xsl:attribute>
671
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/><xsl:value-of select="str:encode-uri(translate(marc:subfield[@code='a'],'()',''), true())"/><xsl:value-of select="$TracingQuotesRight"/></xsl:attribute>
669
            </xsl:otherwise>
672
            </xsl:otherwise>
670
            </xsl:choose>
673
            </xsl:choose>
671
674
Lines 717-722 Link Here
717
                                    <xsl:with-param name="delimeter"> AND </xsl:with-param>
720
                                    <xsl:with-param name="delimeter"> AND </xsl:with-param>
718
                                    <xsl:with-param name="prefix">(su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/></xsl:with-param>
721
                                    <xsl:with-param name="prefix">(su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/></xsl:with-param>
719
                                    <xsl:with-param name="suffix"><xsl:value-of select="$TracingQuotesRight"/>)</xsl:with-param>
722
                                    <xsl:with-param name="suffix"><xsl:value-of select="$TracingQuotesRight"/>)</xsl:with-param>
723
                                    <xsl:with-param name="urlencode">1</xsl:with-param>
720
                                </xsl:call-template>
724
                                </xsl:call-template>
721
                                </xsl:attribute>
725
                                </xsl:attribute>
722
                            </xsl:when>
726
                            </xsl:when>
Lines 968-974 Link Here
968
                            </a>
972
                            </a>
969
                        </xsl:when>
973
                        </xsl:when>
970
                        <xsl:otherwise>
974
                        <xsl:otherwise>
971
                            <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="translate($f773, '()', '')"/></xsl:attribute>
975
                            <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate($f773, '()', ''), true())"/></xsl:attribute>
972
                            <xsl:value-of select="$f773"/>
976
                            <xsl:value-of select="$f773"/>
973
                            </a>
977
                            </a>
974
                        </xsl:otherwise>
978
                        </xsl:otherwise>
Lines 1031-1037 Link Here
1031
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute>
1035
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute>
1032
            </xsl:when>
1036
            </xsl:when>
1033
            <xsl:otherwise>
1037
            <xsl:otherwise>
1034
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="translate($f775, '()', '')"/></xsl:attribute>
1038
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate($f775, '()', ''), true())"/></xsl:attribute>
1035
            </xsl:otherwise>
1039
            </xsl:otherwise>
1036
            </xsl:choose>
1040
            </xsl:choose>
1037
            <xsl:call-template name="subfieldSelect">
1041
            <xsl:call-template name="subfieldSelect">
Lines 1090-1096 Link Here
1090
                    </a>
1094
                    </a>
1091
                </xsl:when>
1095
                </xsl:when>
1092
                <xsl:otherwise>
1096
                <xsl:otherwise>
1093
                    <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="translate($f780, '()', '')"/></xsl:attribute>
1097
                    <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate($f780, '()', ''), true())"/></xsl:attribute>
1094
                        <xsl:value-of select="translate($f780, '()', '')"/>
1098
                        <xsl:value-of select="translate($f780, '()', '')"/>
1095
                    </a>
1099
                    </a>
1096
                </xsl:otherwise>
1100
                </xsl:otherwise>
Lines 1152-1158 Link Here
1152
                    </a>
1156
                    </a>
1153
                </xsl:when>
1157
                </xsl:when>
1154
                <xsl:otherwise>
1158
                <xsl:otherwise>
1155
                    <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="translate($f785, '()', '')"/></xsl:attribute>
1159
                    <a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate($f785, '()', ''), true())"/></xsl:attribute>
1156
                        <xsl:value-of select="translate($f785, '()', '')"/>
1160
                        <xsl:value-of select="translate($f785, '()', '')"/>
1157
                    </a>
1161
                    </a>
1158
                </xsl:otherwise>
1162
                </xsl:otherwise>
Lines 1261-1270 Link Here
1261
        <a>
1265
        <a>
1262
        <xsl:choose>
1266
        <xsl:choose>
1263
            <xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'">
1267
            <xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'">
1264
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
1268
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute>
1265
            </xsl:when>
1269
            </xsl:when>
1266
            <xsl:otherwise>
1270
            <xsl:otherwise>
1267
            <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=au:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute>
1271
            <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=au:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/>"</xsl:attribute>
1268
            </xsl:otherwise>
1272
            </xsl:otherwise>
1269
        </xsl:choose>
1273
        </xsl:choose>
1270
        <xsl:choose>
1274
        <xsl:choose>
Lines 1489-1494 Link Here
1489
        <xsl:param name="subdivDelimiter"/>
1493
        <xsl:param name="subdivDelimiter"/>
1490
        <xsl:param name="prefix"/>
1494
        <xsl:param name="prefix"/>
1491
        <xsl:param name="suffix"/>
1495
        <xsl:param name="suffix"/>
1496
        <xsl:param name="urlencode"/>
1492
        <xsl:variable name="str">
1497
        <xsl:variable name="str">
1493
            <xsl:for-each select="marc:subfield">
1498
            <xsl:for-each select="marc:subfield">
1494
                <xsl:if test="contains($codes, @code)">
1499
                <xsl:if test="contains($codes, @code)">
Lines 1499-1505 Link Here
1499
                </xsl:if>
1504
                </xsl:if>
1500
            </xsl:for-each>
1505
            </xsl:for-each>
1501
        </xsl:variable>
1506
        </xsl:variable>
1502
        <xsl:value-of select="substring($str,1,string-length($str)-string-length($delimeter))"/>
1507
        <xsl:choose>
1508
            <xsl:when test="$urlencode=1">
1509
                <xsl:value-of select="str:encode-uri(substring($str,1,string-length($str)-string-length($delimeter)), true())"/>
1510
            </xsl:when>
1511
            <xsl:otherwise>
1512
                <xsl:value-of select="substring($str,1,string-length($str)-string-length($delimeter))"/>
1513
            </xsl:otherwise>
1514
        </xsl:choose>
1503
    </xsl:template>
1515
    </xsl:template>
1504
1516
1505
</xsl:stylesheet>
1517
</xsl:stylesheet>
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl (-2 / +3 lines)
Lines 5-11 Link Here
5
  xmlns:marc="http://www.loc.gov/MARC21/slim"
5
  xmlns:marc="http://www.loc.gov/MARC21/slim"
6
  xmlns:items="http://www.koha-community.org/items"
6
  xmlns:items="http://www.koha-community.org/items"
7
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
7
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
8
  exclude-result-prefixes="marc items">
8
  xmlns:str="http://exslt.org/strings"
9
  exclude-result-prefixes="marc items str">
9
    <xsl:import href="MARC21slimUtils.xsl"/>
10
    <xsl:import href="MARC21slimUtils.xsl"/>
10
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
11
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
11
    <xsl:key name="item-by-status" match="items:item" use="items:status"/>
12
    <xsl:key name="item-by-status" match="items:item" use="items:status"/>
Lines 356-362 Link Here
356
                        <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
357
                        <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
357
                    </xsl:when>
358
                    </xsl:when>
358
                    <xsl:otherwise>
359
                    <xsl:otherwise>
359
                        <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=au:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute>
360
                        <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=au:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/>"</xsl:attribute>
360
                    </xsl:otherwise>
361
                    </xsl:otherwise>
361
                </xsl:choose>
362
                </xsl:choose>
362
                <xsl:call-template name="chopPunctuation">
363
                <xsl:call-template name="chopPunctuation">
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl (-4 / +17 lines)
Lines 1-6 Link Here
1
<?xml version='1.0'?>
1
<?xml version='1.0'?>
2
<!DOCTYPE stylesheet [<!ENTITY nbsp "&#160;" >]>
2
<!DOCTYPE stylesheet [<!ENTITY nbsp "&#160;" >]>
3
<xsl:stylesheet version="1.0" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="marc">
3
<xsl:stylesheet version="1.0"
4
  xmlns:marc="http://www.loc.gov/MARC21/slim"
5
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6
  xmlns:str="http://exslt.org/strings"
7
  exclude-result-prefixes="marc">
4
	<xsl:template name="datafield">
8
	<xsl:template name="datafield">
5
		<xsl:param name="tag"/>
9
		<xsl:param name="tag"/>
6
		<xsl:param name="ind1"><xsl:text> </xsl:text></xsl:param>
10
		<xsl:param name="ind1"><xsl:text> </xsl:text></xsl:param>
Lines 27-32 Link Here
27
		<xsl:param name="subdivDelimiter"/>
31
		<xsl:param name="subdivDelimiter"/>
28
        <xsl:param name="prefix"/>
32
        <xsl:param name="prefix"/>
29
        <xsl:param name="suffix"/>
33
        <xsl:param name="suffix"/>
34
        <xsl:param name="urlencode"/>
30
		<xsl:variable name="str">
35
		<xsl:variable name="str">
31
			<xsl:for-each select="marc:subfield">
36
			<xsl:for-each select="marc:subfield">
32
				<xsl:if test="contains($codes, @code)">
37
				<xsl:if test="contains($codes, @code)">
Lines 37-43 Link Here
37
				</xsl:if>
42
				</xsl:if>
38
			</xsl:for-each>
43
			</xsl:for-each>
39
		</xsl:variable>
44
		</xsl:variable>
40
		<xsl:value-of select="substring($str,1,string-length($str)-string-length($delimeter))"/>
45
        <xsl:choose>
46
            <xsl:when test="$urlencode=1">
47
                <xsl:value-of select="str:encode-uri(substring($str,1,string-length($str)-string-length($delimeter))    )"/>
48
            </xsl:when>
49
            <xsl:otherwise>
50
                <xsl:value-of select="substring($str,1,string-length($str)-string-length($delimeter))"/>
51
            </xsl:otherwise>
52
        </xsl:choose>
41
	</xsl:template>
53
	</xsl:template>
42
54
43
    <xsl:template name="subfieldSelectSpan">
55
    <xsl:template name="subfieldSelectSpan">
Lines 197-203 Link Here
197
                        </xsl:when>
209
                        </xsl:when>
198
                        <xsl:when test="boolean($index)">
210
                        <xsl:when test="boolean($index)">
199
                            <a>
211
                            <a>
200
                                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=<xsl:value-of  select="$index"/>:<xsl:value-of  select="marc:subfield[@code='a']"/></xsl:attribute>
212
                                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=<xsl:value-of select="str:encode-uri($index, true())"/>:<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/></xsl:attribute>
201
                                <xsl:value-of select="$str"/>
213
                                <xsl:value-of select="$str"/>
202
                            </a>
214
                            </a>
203
                        </xsl:when>
215
                        </xsl:when>
Lines 271-277 Link Here
271
            <xsl:choose>
283
            <xsl:choose>
272
                <xsl:when test="$url='1'">
284
                <xsl:when test="$url='1'">
273
                    <xsl:if test="$field/marc:subfield[@code='b']">
285
                    <xsl:if test="$field/marc:subfield[@code='b']">
274
                         <a href="/cgi-bin/koha/catalogue/search.pl?q=Provider:{$field/marc:subfield[@code='b']}">
286
                         <a>
287
                         <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=Provider:<xsl:value-of select="str:encode-uri($field/marc:subfield[@code='b'], true())"/></xsl:attribute>
275
                         <xsl:call-template name="subfieldSelect">
288
                         <xsl:call-template name="subfieldSelect">
276
                             <xsl:with-param name="codes">b</xsl:with-param>
289
                             <xsl:with-param name="codes">b</xsl:with-param>
277
                         </xsl:call-template>
290
                         </xsl:call-template>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-15 / +25 lines)
Lines 7-13 Link Here
7
  xmlns:items="http://www.koha-community.org/items"
7
  xmlns:items="http://www.koha-community.org/items"
8
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
8
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
9
  xmlns:str="http://exslt.org/strings"
9
  xmlns:str="http://exslt.org/strings"
10
  exclude-result-prefixes="marc items">
10
  exclude-result-prefixes="marc items str">
11
    <xsl:import href="MARC21slimUtils.xsl"/>
11
    <xsl:import href="MARC21slimUtils.xsl"/>
12
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
12
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
13
13
Lines 207-213 Link Here
207
        <span class="results_summary series"><span class="label">Series: </span>
207
        <span class="results_summary series"><span class="label">Series: </span>
208
        <!-- 440 -->
208
        <!-- 440 -->
209
        <xsl:for-each select="marc:datafield[@tag=440]">
209
        <xsl:for-each select="marc:datafield[@tag=440]">
210
            <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute>
210
            <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=se,phr:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/>"</xsl:attribute>
211
            <xsl:call-template name="chopPunctuation">
211
            <xsl:call-template name="chopPunctuation">
212
                            <xsl:with-param name="chopString">
212
                            <xsl:with-param name="chopString">
213
                                <xsl:call-template name="subfieldSelect">
213
                                <xsl:call-template name="subfieldSelect">
Lines 222-228 Link Here
222
222
223
        <!-- 490 Series not traced, Ind1 = 0 -->
223
        <!-- 490 Series not traced, Ind1 = 0 -->
224
        <xsl:for-each select="marc:datafield[@tag=490][@ind1!=1]">
224
        <xsl:for-each select="marc:datafield[@tag=490][@ind1!=1]">
225
            <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute>
225
            <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=se,phr:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/>"</xsl:attribute>
226
                        <xsl:call-template name="chopPunctuation">
226
                        <xsl:call-template name="chopPunctuation">
227
                            <xsl:with-param name="chopString">
227
                            <xsl:with-param name="chopString">
228
                                <xsl:call-template name="subfieldSelect">
228
                                <xsl:call-template name="subfieldSelect">
Lines 239-245 Link Here
239
            <xsl:for-each select="marc:datafield[@tag=800 or @tag=810 or @tag=811 or @tag=830]">
239
            <xsl:for-each select="marc:datafield[@tag=800 or @tag=810 or @tag=811 or @tag=830]">
240
                <xsl:choose>
240
                <xsl:choose>
241
                    <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
241
                    <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
242
                        <a href="/cgi-bin/koha/opac-search.pl?q=rcn:{marc:subfield[@code='w']}">
242
                        <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:subfield[@code='w'], true())"/></xsl:attribute>
243
                            <xsl:call-template name="chopPunctuation">
243
                            <xsl:call-template name="chopPunctuation">
244
                                <xsl:with-param name="chopString">
244
                                <xsl:with-param name="chopString">
245
                                    <xsl:call-template name="subfieldSelect">
245
                                    <xsl:call-template name="subfieldSelect">
Lines 250-256 Link Here
250
                        </a>
250
                        </a>
251
                    </xsl:when>
251
                    </xsl:when>
252
                    <xsl:otherwise>
252
                    <xsl:otherwise>
253
                        <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='t']"/>"&amp;q=au:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute>
253
                        <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=se,phr:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='t'], true())"/>"&amp;q=au:"<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/>"</xsl:attribute>
254
                            <xsl:call-template name="chopPunctuation">
254
                            <xsl:call-template name="chopPunctuation">
255
                                <xsl:with-param name="chopString">
255
                                <xsl:with-param name="chopString">
256
                                    <xsl:call-template name="subfieldSelect">
256
                                    <xsl:call-template name="subfieldSelect">
Lines 276-285 Link Here
276
            <a>
276
            <a>
277
            <xsl:choose>
277
            <xsl:choose>
278
            <xsl:when test="$UseControlNumber = '1' and marc:controlfield[@tag=001]">
278
            <xsl:when test="$UseControlNumber = '1' and marc:controlfield[@tag=001]">
279
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=rcn:<xsl:value-of select="marc:controlfield[@tag=001]"/>+and+(bib-level:a+or+bib-level:b)</xsl:attribute>
279
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:controlfield[@tag=001], true())"/>+and+(bib-level:a+or+bib-level:b)</xsl:attribute>
280
            </xsl:when>
280
            </xsl:when>
281
            <xsl:otherwise>
281
            <xsl:otherwise>
282
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Host-item:<xsl:value-of select="translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', '')"/></xsl:attribute>
282
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Host-item:<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', ''), true())"/></xsl:attribute>
283
            </xsl:otherwise>
283
            </xsl:otherwise>
284
            </xsl:choose>
284
            </xsl:choose>
285
            <xsl:text>Show analytics</xsl:text>
285
            <xsl:text>Show analytics</xsl:text>
Lines 293-302 Link Here
293
            <a>
293
            <a>
294
            <xsl:choose>
294
            <xsl:choose>
295
            <xsl:when test="$UseControlNumber = '1' and marc:controlfield[@tag=001]">
295
            <xsl:when test="$UseControlNumber = '1' and marc:controlfield[@tag=001]">
296
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=rcn:<xsl:value-of select="marc:controlfield[@tag=001]"/>+not+(bib-level:a+or+bib-level:b)</xsl:attribute>
296
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:controlfield[@tag=001], true())"/>+not+(bib-level:a+or+bib-level:b)</xsl:attribute>
297
            </xsl:when>
297
            </xsl:when>
298
            <xsl:otherwise>
298
            <xsl:otherwise>
299
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', '')"/></xsl:attribute>
299
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate(marc:datafield[@tag=245]/marc:subfield[@code='a'], '/', ''), true())"/></xsl:attribute>
300
            </xsl:otherwise>
300
            </xsl:otherwise>
301
            </xsl:choose>
301
            </xsl:choose>
302
            <xsl:text>Show volumes</xsl:text>
302
            <xsl:text>Show volumes</xsl:text>
Lines 314-320 Link Here
314
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute>
314
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute>
315
            </xsl:when>
315
            </xsl:when>
316
            <xsl:otherwise>
316
            <xsl:otherwise>
317
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.', '')"/></xsl:attribute>
317
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.', ''), true())"/></xsl:attribute>
318
            </xsl:otherwise>
318
            </xsl:otherwise>
319
            </xsl:choose>
319
            </xsl:choose>
320
            <xsl:value-of select="translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.', '')" />
320
            <xsl:value-of select="translate(//marc:datafield[@tag=245]/marc:subfield[@code='a'], '.', '')" />
Lines 357-363 Link Here
357
                     </xsl:if>
357
                     </xsl:if>
358
                     <xsl:text> </xsl:text>
358
                     <xsl:text> </xsl:text>
359
                     <xsl:if test="marc:subfield[@code='b']">
359
                     <xsl:if test="marc:subfield[@code='b']">
360
                     <span property="name"><a href="/cgi-bin/koha/opac-search.pl?q=Provider:{marc:subfield[@code='b']}">
360
                     <span property="name"><a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Provider:<xsl:value-of select="str:encode-uri(marc:subfield[@code='b'], true())"/></xsl:attribute>
361
                         <xsl:call-template name="subfieldSelect">
361
                         <xsl:call-template name="subfieldSelect">
362
                             <xsl:with-param name="codes">b</xsl:with-param>
362
                             <xsl:with-param name="codes">b</xsl:with-param>
363
                         </xsl:call-template>
363
                         </xsl:call-template>
Lines 734-745 Link Here
734
                        <xsl:with-param name="delimeter"> AND </xsl:with-param>
734
                        <xsl:with-param name="delimeter"> AND </xsl:with-param>
735
                        <xsl:with-param name="prefix">(su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/></xsl:with-param>
735
                        <xsl:with-param name="prefix">(su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/></xsl:with-param>
736
                        <xsl:with-param name="suffix"><xsl:value-of select="$TracingQuotesRight"/>)</xsl:with-param>
736
                        <xsl:with-param name="suffix"><xsl:value-of select="$TracingQuotesRight"/>)</xsl:with-param>
737
                        <xsl:with-param name="urlencode">1</xsl:with-param>
737
                    </xsl:call-template>
738
                    </xsl:call-template>
738
                </xsl:attribute>
739
                </xsl:attribute>
739
            </xsl:when>
740
            </xsl:when>
740
                <!-- #1807 Strip unwanted parenthesis from subjects for searching -->
741
                <!-- #1807 Strip unwanted parenthesis from subjects for searching -->
741
            <xsl:otherwise>
742
            <xsl:otherwise>
742
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/><xsl:value-of select="translate(marc:subfield[@code='a'],'()','')"/><xsl:value-of select="$TracingQuotesRight"/></xsl:attribute>
743
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/><xsl:value-of select="str:encode-uri(translate(marc:subfield[@code='a'],'()',''), true())"/><xsl:value-of select="$TracingQuotesRight"/></xsl:attribute>
743
            </xsl:otherwise>
744
            </xsl:otherwise>
744
            </xsl:choose>
745
            </xsl:choose>
745
            <xsl:call-template name="chopPunctuation">
746
            <xsl:call-template name="chopPunctuation">
Lines 788-798 Link Here
788
                                        <xsl:with-param name="delimeter"> AND </xsl:with-param>
789
                                        <xsl:with-param name="delimeter"> AND </xsl:with-param>
789
                                        <xsl:with-param name="prefix">(su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/></xsl:with-param>
790
                                        <xsl:with-param name="prefix">(su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/></xsl:with-param>
790
                                        <xsl:with-param name="suffix"><xsl:value-of select="$TracingQuotesRight"/>)</xsl:with-param>
791
                                        <xsl:with-param name="suffix"><xsl:value-of select="$TracingQuotesRight"/>)</xsl:with-param>
792
                                        <xsl:with-param name="urlencode">1</xsl:with-param>
791
                                    </xsl:call-template>
793
                                    </xsl:call-template>
792
                                    </xsl:attribute>
794
                                    </xsl:attribute>
793
                                </xsl:when>
795
                                </xsl:when>
794
                                <xsl:otherwise>
796
                                <xsl:otherwise>
795
                                    <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/><xsl:value-of select="marc:subfield[@code='a']"/><xsl:value-of select="$TracingQuotesRight"/></xsl:attribute>
797
                                    <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/><xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/><xsl:value-of select="$TracingQuotesRight"/></xsl:attribute>
796
                                </xsl:otherwise>
798
                                </xsl:otherwise>
797
                            </xsl:choose>
799
                            </xsl:choose>
798
                        <xsl:call-template name="subfieldSelect">
800
                        <xsl:call-template name="subfieldSelect">
Lines 837-843 Link Here
837
                        <xsl:text>/cgi-bin/koha/opac-search.pl?q=control-number:</xsl:text>
839
                        <xsl:text>/cgi-bin/koha/opac-search.pl?q=control-number:</xsl:text>
838
                        <xsl:call-template name="extractControlNumber">
840
                        <xsl:call-template name="extractControlNumber">
839
                            <xsl:with-param name="subfieldW">
841
                            <xsl:with-param name="subfieldW">
840
                                <xsl:value-of select="marc:subfield[@code='w']"/>
842
                                <xsl:value-of select="str:encode-uri(marc:subfield[@code='w'], true())"/>
841
                            </xsl:with-param>
843
                            </xsl:with-param>
842
                        </xsl:call-template>
844
                        </xsl:call-template>
843
                    </xsl:attribute>
845
                    </xsl:attribute>
Lines 1666-1671 Link Here
1666
        <xsl:param name="subdivDelimiter"/>
1668
        <xsl:param name="subdivDelimiter"/>
1667
        <xsl:param name="prefix"/>
1669
        <xsl:param name="prefix"/>
1668
        <xsl:param name="suffix"/>
1670
        <xsl:param name="suffix"/>
1671
        <xsl:param name="urlencode"/>
1669
        <xsl:variable name="str">
1672
        <xsl:variable name="str">
1670
            <xsl:for-each select="marc:subfield">
1673
            <xsl:for-each select="marc:subfield">
1671
                <xsl:if test="contains($codes, @code)">
1674
                <xsl:if test="contains($codes, @code)">
Lines 1676-1681 Link Here
1676
                </xsl:if>
1679
                </xsl:if>
1677
            </xsl:for-each>
1680
            </xsl:for-each>
1678
        </xsl:variable>
1681
        </xsl:variable>
1679
        <xsl:value-of select="substring($str,1,string-length($str)-string-length($delimeter))"/>
1682
        <xsl:choose>
1683
            <xsl:when test="$urlencode=1">
1684
                <xsl:value-of select="str:encode-uri(substring($str,1,string-length($str)-string-length($delimeter)), true())"/>
1685
            </xsl:when>
1686
            <xsl:otherwise>
1687
                <xsl:value-of select="substring($str,1,string-length($str)-string-length($delimeter))"/>
1688
            </xsl:otherwise>
1689
        </xsl:choose>
1680
    </xsl:template>
1690
    </xsl:template>
1681
</xsl:stylesheet>
1691
</xsl:stylesheet>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl (-4 / +8 lines)
Lines 1-6 Link Here
1
<?xml version='1.0'?>
1
<?xml version='1.0'?>
2
<!DOCTYPE stylesheet [<!ENTITY nbsp "&#160;" >]>
2
<!DOCTYPE stylesheet [<!ENTITY nbsp "&#160;" >]>
3
<xsl:stylesheet version="1.0" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="marc">
3
<xsl:stylesheet version="1.0"
4
  xmlns:marc="http://www.loc.gov/MARC21/slim"
5
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6
  xmlns:str="http://exslt.org/strings"
7
  exclude-result-prefixes="marc str">
4
	<xsl:template name="datafield">
8
	<xsl:template name="datafield">
5
		<xsl:param name="tag"/>
9
		<xsl:param name="tag"/>
6
		<xsl:param name="ind1"><xsl:text> </xsl:text></xsl:param>
10
		<xsl:param name="ind1"><xsl:text> </xsl:text></xsl:param>
Lines 194-200 Link Here
194
                            </xsl:when>
198
                            </xsl:when>
195
                            <xsl:when test="boolean($index)">
199
                            <xsl:when test="boolean($index)">
196
                                <a>
200
                                <a>
197
                                    <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=<xsl:value-of  select="$index"/>:<xsl:value-of  select="marc:subfield[@code='a']"/></xsl:attribute>
201
                                    <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=<xsl:value-of select="str:encode-uri($index, true())"/>:<xsl:value-of select="str:encode-uri(marc:subfield[@code='a'], true())"/></xsl:attribute>
198
                                    <xsl:value-of select="$str"/>
202
                                    <xsl:value-of select="$str"/>
199
                                </a>
203
                                </a>
200
                            </xsl:when>
204
                            </xsl:when>
Lines 269-275 Link Here
269
            <xsl:choose>
273
            <xsl:choose>
270
                <xsl:when test="$url='1'">
274
                <xsl:when test="$url='1'">
271
                    <xsl:if test="$field/marc:subfield[@code='b']">
275
                    <xsl:if test="$field/marc:subfield[@code='b']">
272
                         <a href="/cgi-bin/koha/opac-search.pl?q=Provider:{$field/marc:subfield[@code='b']}">
276
                         <a>
277
                         <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Provider:<xsl:value-of select="str:encode-uri($field/marc:subfield[@code='b'], true())"/>"</xsl:attribute>
273
                         <xsl:call-template name="subfieldSelect">
278
                         <xsl:call-template name="subfieldSelect">
274
                             <xsl:with-param name="codes">b</xsl:with-param>
279
                             <xsl:with-param name="codes">b</xsl:with-param>
275
                         </xsl:call-template>
280
                         </xsl:call-template>
276
- 

Return to bug 14716