Lines 1-637
Link Here
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
|
2 |
|
3 |
<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> |
1 |
<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> |
4 |
|
2 |
|
5 |
<xsl:stylesheet version="1.0" |
3 |
<xsl:stylesheet version="1.0" |
6 |
xmlns:marc="http://www.loc.gov/MARC21/slim" |
4 |
xmlns:marc="http://www.loc.gov/MARC21/slim" |
|
|
5 |
xmlns:items="http://www.koha-community.org/items" |
7 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
6 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
8 |
xmlns:str="http://exslt.org/strings" |
7 |
exclude-result-prefixes="marc items"> |
9 |
exclude-result-prefixes="marc str"> |
|
|
10 |
|
8 |
|
11 |
<xsl:import href="UNIMARCslimUtils.xsl"/> |
9 |
<xsl:import href="UNIMARCslimUtils.xsl"/> |
12 |
<xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/> |
10 |
<xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/> |
13 |
<xsl:template match="/"> |
11 |
<xsl:template match="/"> |
14 |
<xsl:apply-templates/> |
12 |
<xsl:apply-templates/> |
15 |
</xsl:template> |
13 |
</xsl:template> |
16 |
|
14 |
|
17 |
<xsl:template match="marc:record"> |
15 |
<xsl:template match="marc:record"> |
18 |
<xsl:variable name="leader" select="marc:leader"/> |
16 |
<xsl:variable name="Show856uAsImage" select="marc:sysprefs/marc:syspref[@name='Display856uAsImage']"/> |
19 |
<xsl:variable name="leader6" select="substring($leader,7,1)"/> |
17 |
<xsl:variable name="leader" select="marc:leader"/> |
20 |
<xsl:variable name="leader7" select="substring($leader,8,1)"/> |
18 |
<xsl:variable name="leader6" select="substring($leader,7,1)"/> |
21 |
<xsl:variable name="biblionumber" select="marc:controlfield[@tag=001]"/> |
19 |
<xsl:variable name="leader7" select="substring($leader,8,1)"/> |
22 |
<xsl:variable name="DisplayOPACiconsXSLT" select="marc:sysprefs/marc:syspref[@name='DisplayOPACiconsXSLT']"/> |
20 |
<xsl:variable name="biblionumber" select="marc:controlfield[@tag=001]"/> |
23 |
<xsl:variable name="OPACURLOpenInNewWindow" select="marc:sysprefs/marc:syspref[@name='OPACURLOpenInNewWindow']"/> |
21 |
|
24 |
<xsl:variable name="URLLinkText" select="marc:sysprefs/marc:syspref[@name='URLLinkText']"/> |
22 |
<xsl:if test="marc:datafield[@tag=200]"> |
25 |
|
23 |
<xsl:for-each select="marc:datafield[@tag=200]"> |
26 |
<xsl:if test="marc:datafield[@tag=200]"> |
24 |
<h1> |
27 |
<xsl:for-each select="marc:datafield[@tag=200]"> |
25 |
<xsl:call-template name="addClassRtl" /> |
28 |
<h1 class="title"> |
26 |
<xsl:variable name="title" select="marc:subfield[@code='a']"/> |
29 |
<xsl:call-template name="addClassRtl" /> |
27 |
<xsl:variable name="ntitle" |
30 |
<xsl:for-each select="marc:subfield"> |
28 |
select="translate($title, '˜œ슜슛슘슈슉','')"/> |
31 |
<xsl:choose> |
29 |
<!--<xsl:value-of select="$ntitle" />--> |
32 |
<xsl:when test="@code='a'"> |
30 |
<xsl:value-of select="marc:subfield[@code='a'][1]" /> |
33 |
<xsl:variable name="title" select="."/> |
31 |
<xsl:if test="marc:subfield[@code='e'][1]"><xsl:text> : </xsl:text><xsl:value-of select="marc:subfield[@code='e'][1]" /></xsl:if> |
34 |
<xsl:variable name="ntitle" |
32 |
<xsl:if test="marc:subfield[@code='c'][1]"><xsl:text> . </xsl:text><xsl:value-of select="marc:subfield[@code='c'][1]" /></xsl:if> |
35 |
select="translate($title, 'ˆ‰˜œ','')"/> |
33 |
<xsl:if test="marc:subfield[@code='d'][1]"><xsl:text> = </xsl:text><xsl:value-of select="marc:subfield[@code='d'][1]" /></xsl:if> |
36 |
<xsl:value-of select="$ntitle" /> |
34 |
<xsl:if test="marc:subfield[@code='v'][1]"><xsl:text> . </xsl:text><xsl:value-of select="marc:subfield[@code='v'][1]" /></xsl:if> |
37 |
</xsl:when> |
35 |
<xsl:if test="marc:subfield[@code='h'][1]"><xsl:text> . </xsl:text><xsl:value-of select="marc:subfield[@code='h'][1]" /></xsl:if> |
38 |
<xsl:when test="@code='b'"> |
36 |
<xsl:if test="marc:subfield[@code='i'][1]"><xsl:text> . </xsl:text><xsl:value-of select="marc:subfield[@code='i'][1]" /></xsl:if> |
39 |
<xsl:text> [</xsl:text> |
37 |
<xsl:if test="marc:subfield[@code='e'][2]"><xsl:text> : </xsl:text><xsl:value-of select="marc:subfield[@code='e'][2]" /></xsl:if> |
40 |
<xsl:value-of select="."/> |
38 |
<xsl:if test="marc:subfield[@code='c'][2]"><xsl:text> . </xsl:text><xsl:value-of select="marc:subfield[@code='c'][1]" /></xsl:if> |
41 |
<xsl:text>]</xsl:text> |
39 |
<xsl:if test="marc:subfield[@code='d'][2]"><xsl:text> = </xsl:text><xsl:value-of select="marc:subfield[@code='d'][2]" /></xsl:if> |
42 |
</xsl:when> |
40 |
<xsl:if test="marc:subfield[@code='h'][2]"><xsl:text> . </xsl:text><xsl:value-of select="marc:subfield[@code='h'][2]" /></xsl:if> |
43 |
<xsl:when test="@code='d'"> |
41 |
<xsl:if test="marc:subfield[@code='i'][2]"><xsl:text> . </xsl:text><xsl:value-of select="marc:subfield[@code='i'][2]" /></xsl:if> |
44 |
<xsl:text> = </xsl:text> |
42 |
<xsl:if test="marc:subfield[@code='e'][3]"><xsl:text> : </xsl:text><xsl:value-of select="marc:subfield[@code='e'][3]" /></xsl:if> |
45 |
<xsl:value-of select="."/> |
43 |
<xsl:if test="marc:subfield[@code='c'][3]"><xsl:text> . </xsl:text><xsl:value-of select="marc:subfield[@code='c'][3]" /></xsl:if> |
46 |
</xsl:when> |
44 |
<xsl:if test="marc:subfield[@code='d'][3]"><xsl:text> = </xsl:text><xsl:value-of select="marc:subfield[@code='d'][3]" /></xsl:if> |
47 |
<xsl:when test="@code='e'"> |
45 |
<xsl:if test="marc:subfield[@code='h'][3]"><xsl:text> . </xsl:text><xsl:value-of select="marc:subfield[@code='h'][3]" /></xsl:if> |
48 |
<xsl:text> : </xsl:text> |
46 |
<xsl:if test="marc:subfield[@code='i'][3]"><xsl:text> . </xsl:text><xsl:value-of select="marc:subfield[@code='i'][3]" /></xsl:if> |
49 |
<xsl:value-of select="."/> |
47 |
<xsl:if test="marc:subfield[@code='a'][2]"><xsl:text>. </xsl:text><xsl:value-of select="marc:subfield[@code='a'][2]" /></xsl:if> |
50 |
</xsl:when> |
48 |
<xsl:if test="marc:subfield[@code='a'][3]"><xsl:text>. </xsl:text><xsl:value-of select="marc:subfield[@code='a'][3]" /></xsl:if> |
51 |
<xsl:when test="@code='f'"> |
49 |
<xsl:if test="marc:subfield[@code='b']"><xsl:text> [</xsl:text><xsl:value-of select="marc:subfield[@code='b']"/><xsl:text>] </xsl:text> |
52 |
<xsl:text> / </xsl:text> |
50 |
</xsl:if> |
53 |
<xsl:value-of select="."/> |
51 |
<xsl:if test="marc:subfield[@code='f']"> |
54 |
</xsl:when> |
52 |
<xsl:text> / </xsl:text> |
55 |
<xsl:when test="@code='g'"> |
53 |
<xsl:if test="marc:subfield[@code='f'][1]"><xsl:text></xsl:text><xsl:value-of select="marc:subfield[@code='f'][1]" /></xsl:if> |
56 |
<xsl:text> ; </xsl:text> |
54 |
<xsl:if test="marc:subfield[@code='f'][2]"><xsl:text> ; </xsl:text><xsl:value-of select="marc:subfield[@code='f'][2]" /></xsl:if> |
57 |
<xsl:value-of select="."/> |
55 |
<xsl:if test="marc:subfield[@code='f'][3]"><xsl:text> ; </xsl:text><xsl:value-of select="marc:subfield[@code='f'][3]" /></xsl:if> |
58 |
</xsl:when> |
56 |
</xsl:if> |
59 |
<xsl:otherwise> |
57 |
<xsl:if test="marc:subfield[@code='g'][1]"><xsl:text> ; </xsl:text><xsl:value-of select="marc:subfield[@code='g'][1]" /></xsl:if> |
60 |
<xsl:text>, </xsl:text> |
58 |
<xsl:if test="marc:subfield[@code='g'][2]"><xsl:text> ; </xsl:text><xsl:value-of select="marc:subfield[@code='g'][2]" /></xsl:if> |
61 |
<xsl:value-of select="."/> |
59 |
<xsl:if test="marc:subfield[@code='g'][3]"><xsl:text> ; </xsl:text><xsl:value-of select="marc:subfield[@code='g'][3]" /></xsl:if> |
62 |
</xsl:otherwise> |
60 |
</h1> |
63 |
</xsl:choose> |
61 |
</xsl:for-each> |
64 |
</xsl:for-each> |
62 |
</xsl:if> |
65 |
</h1> |
63 |
|
66 |
</xsl:for-each> |
64 |
|
67 |
</xsl:if> |
65 |
<xsl:call-template name="tag_4xx"> |
68 |
|
66 |
<xsl:with-param name="tag">412</xsl:with-param> |
69 |
<xsl:call-template name="tag_title"> |
67 |
<xsl:with-param name="label">Is an excerpt or taken apart from</xsl:with-param> |
70 |
<xsl:with-param name="tag">454</xsl:with-param> |
68 |
</xsl:call-template> |
71 |
<xsl:with-param name="label">Translation of</xsl:with-param> |
69 |
|
72 |
<xsl:with-param name="spanclass">original_title</xsl:with-param> |
70 |
<xsl:for-each select="marc:datafield[@tag=413]"> |
73 |
</xsl:call-template> |
71 |
<span class="results_summary"> |
74 |
|
72 |
<span class="label">A for extract or pulled apart : </span> |
75 |
<xsl:call-template name="tag_title"> |
73 |
<xsl:choose> |
76 |
<xsl:with-param name="tag">461</xsl:with-param> |
74 |
<xsl:when test="(marc:subfield[@code='t']) and (marc:subfield[@code='o']) and (marc:subfield[@code='f']) and (marc:subfield[@code='c']) and (marc:subfield[@code='n']) and (marc:subfield[@code='d'])"> |
77 |
<xsl:with-param name="label">Set Level</xsl:with-param> |
75 |
<xsl:value-of select="marc:subfield[@code='t']"/> |
78 |
<xsl:with-param name="spanclass">set_level</xsl:with-param> |
76 |
<xsl:text> : </xsl:text> |
79 |
</xsl:call-template> |
77 |
<xsl:value-of select="marc:subfield[@code='o']"/> |
80 |
|
78 |
<xsl:text> / </xsl:text> |
81 |
<xsl:call-template name="tag_title"> |
79 |
<xsl:value-of select="marc:subfield[@code='f']"/> |
82 |
<xsl:with-param name="tag">464</xsl:with-param> |
80 |
<xsl:text>. - </xsl:text> |
83 |
<xsl:with-param name="label">Piece-Analytic Level</xsl:with-param> |
81 |
<xsl:value-of select="marc:subfield[@code='c']"/> |
84 |
<xsl:with-param name="spanclass">piece_analytic_level</xsl:with-param> |
82 |
<xsl:text> : </xsl:text> |
85 |
</xsl:call-template> |
83 |
<xsl:value-of select="marc:subfield[@code='n']"/> |
86 |
|
84 |
<xsl:text>, </xsl:text> |
87 |
<xsl:call-template name="tag_7xx"> |
85 |
<xsl:value-of select="marc:subfield[@code='d']"/> |
88 |
<xsl:with-param name="tag">700</xsl:with-param> |
86 |
</xsl:when> |
89 |
<xsl:with-param name="label">Main Author</xsl:with-param> |
87 |
<xsl:when test="(marc:subfield[@code='t']) and (marc:subfield[@code='o']) and (marc:subfield[@code='c']) and (marc:subfield[@code='n']) and (marc:subfield[@code='d'])"> |
90 |
<xsl:with-param name="spanclass">main_author</xsl:with-param> |
88 |
<xsl:value-of select="marc:subfield[@code='t']"/> |
91 |
</xsl:call-template> |
89 |
<xsl:text> : </xsl:text> |
92 |
|
90 |
<xsl:value-of select="marc:subfield[@code='o']"/> |
93 |
<xsl:call-template name="tag_7xx"> |
91 |
<xsl:text>. - </xsl:text> |
94 |
<xsl:with-param name="tag">710</xsl:with-param> |
92 |
<xsl:value-of select="marc:subfield[@code='c']"/> |
95 |
<xsl:with-param name="label">Corporate Author (Main)</xsl:with-param> |
93 |
<xsl:text> : </xsl:text> |
96 |
<xsl:with-param name="spanclass">corporate_main_author</xsl:with-param> |
94 |
<xsl:value-of select="marc:subfield[@code='n']"/> |
97 |
</xsl:call-template> |
95 |
<xsl:text>, </xsl:text> |
98 |
|
96 |
<xsl:value-of select="marc:subfield[@code='d']"/> |
99 |
<xsl:call-template name="tag_7xx"> |
97 |
</xsl:when> |
100 |
<xsl:with-param name="tag">701</xsl:with-param> |
98 |
<xsl:when test="(marc:subfield[@code='t']) and (marc:subfield[@code='f']) and (marc:subfield[@code='c']) and (marc:subfield[@code='n']) and (marc:subfield[@code='d'])"> |
101 |
<xsl:with-param name="label">Coauthor</xsl:with-param> |
99 |
<xsl:value-of select="marc:subfield[@code='t']"/> |
102 |
<xsl:with-param name="spanclass">coauthor</xsl:with-param> |
100 |
<xsl:text> / </xsl:text> |
103 |
</xsl:call-template> |
101 |
<xsl:value-of select="marc:subfield[@code='f']"/> |
104 |
|
102 |
<xsl:text>. - </xsl:text> |
105 |
<xsl:call-template name="tag_7xx"> |
103 |
<xsl:value-of select="marc:subfield[@code='c']"/> |
106 |
<xsl:with-param name="tag">702</xsl:with-param> |
104 |
<xsl:text> : </xsl:text> |
107 |
<xsl:with-param name="label">Secondary Author</xsl:with-param> |
105 |
<xsl:value-of select="marc:subfield[@code='n']"/> |
108 |
<xsl:with-param name="spanclass">secondary_author</xsl:with-param> |
106 |
<xsl:text>, </xsl:text> |
109 |
</xsl:call-template> |
107 |
<xsl:value-of select="marc:subfield[@code='d']"/> |
110 |
|
108 |
</xsl:when> |
111 |
<xsl:call-template name="tag_7xx"> |
109 |
<xsl:when test="(marc:subfield[@code='t']) and (marc:subfield[@code='c']) and (marc:subfield[@code='n']) and (marc:subfield[@code='d'])"> |
112 |
<xsl:with-param name="tag">711</xsl:with-param> |
110 |
<xsl:value-of select="marc:subfield[@code='t']"/> |
113 |
<xsl:with-param name="label">Corporate Author (Coauthor)</xsl:with-param> |
111 |
<xsl:text>. - </xsl:text> |
114 |
<xsl:with-param name="spanclass">corporate_coauthor</xsl:with-param> |
112 |
<xsl:value-of select="marc:subfield[@code='c']"/> |
115 |
</xsl:call-template> |
113 |
<xsl:text> : </xsl:text> |
116 |
|
114 |
<xsl:value-of select="marc:subfield[@code='n']"/> |
117 |
<xsl:call-template name="tag_7xx"> |
115 |
<xsl:text>, </xsl:text> |
118 |
<xsl:with-param name="tag">712</xsl:with-param> |
116 |
<xsl:value-of select="marc:subfield[@code='d']"/> |
119 |
<xsl:with-param name="label">Corporate Author (Secondary)</xsl:with-param> |
117 |
</xsl:when> |
120 |
<xsl:with-param name="spanclass">corporate_secondary_author</xsl:with-param> |
118 |
<xsl:when test="marc:subfield[@code='t']"> |
121 |
</xsl:call-template> |
119 |
<xsl:value-of select="marc:subfield[@code='t']"/> |
122 |
|
120 |
</xsl:when> |
123 |
<xsl:call-template name="tag_title"> |
121 |
</xsl:choose> |
124 |
<xsl:with-param name="tag">500</xsl:with-param> |
122 |
</span> |
125 |
<xsl:with-param name="label">Uniform Title</xsl:with-param> |
123 |
</xsl:for-each> |
126 |
<xsl:with-param name="spanclass">uniform_title</xsl:with-param> |
124 |
|
127 |
</xsl:call-template> |
125 |
<xsl:call-template name="tag_4xx"> |
128 |
|
126 |
<xsl:with-param name="tag">421</xsl:with-param> |
129 |
<xsl:call-template name="tag_title"> |
127 |
<xsl:with-param name="label">Has for supplement</xsl:with-param> |
130 |
<xsl:with-param name="tag">503</xsl:with-param> |
128 |
</xsl:call-template> |
131 |
<xsl:with-param name="label">Uniform Conventional Heading</xsl:with-param> |
129 |
|
132 |
<xsl:with-param name="spanclass">uniform_conventional_heading</xsl:with-param> |
130 |
<xsl:call-template name="tag_4xx"> |
133 |
</xsl:call-template> |
131 |
<xsl:with-param name="tag">422</xsl:with-param> |
134 |
|
132 |
<xsl:with-param name="label">Is a supplement of</xsl:with-param> |
135 |
<xsl:if test="marc:datafield[@tag=101]"> |
133 |
</xsl:call-template> |
136 |
<span class="results_summary language"> |
134 |
|
137 |
<span class="label">Language: </span> |
135 |
<xsl:call-template name="tag_4xx"> |
138 |
<xsl:for-each select="marc:datafield[@tag=101]"> |
136 |
<xsl:with-param name="tag">423</xsl:with-param> |
139 |
<xsl:for-each select="marc:subfield"> |
137 |
<xsl:with-param name="label">Is published with</xsl:with-param> |
140 |
<xsl:choose> |
138 |
</xsl:call-template> |
141 |
<xsl:when test="@code='b'">of intermediate text, </xsl:when> |
139 |
|
142 |
<xsl:when test="@code='c'">of original work, </xsl:when> |
140 |
<xsl:call-template name="tag_4xx"> |
143 |
<xsl:when test="@code='d'">of summary, </xsl:when> |
141 |
<xsl:with-param name="tag">424</xsl:with-param> |
144 |
<xsl:when test="@code='e'">of contents page, </xsl:when> |
142 |
<xsl:with-param name="label">Is updated by</xsl:with-param> |
145 |
<xsl:when test="@code='f'">of title page, </xsl:when> |
143 |
</xsl:call-template> |
146 |
<xsl:when test="@code='g'">of title proper, </xsl:when> |
144 |
|
147 |
<xsl:when test="@code='h'">of libretto, </xsl:when> |
145 |
<xsl:call-template name="tag_4xx"> |
148 |
<xsl:when test="@code='i'">of accompanying material, </xsl:when> |
146 |
<xsl:with-param name="tag">430</xsl:with-param> |
149 |
<xsl:when test="@code='j'">of subtitles, </xsl:when> |
147 |
<xsl:with-param name="label">Following</xsl:with-param> |
150 |
</xsl:choose> |
148 |
</xsl:call-template> |
151 |
<xsl:value-of select="text()"/> |
149 |
|
152 |
<xsl:choose> |
150 |
<xsl:call-template name="tag_4xx"> |
153 |
<xsl:when test="position()=last()"> |
151 |
<xsl:with-param name="tag">431</xsl:with-param> |
154 |
<xsl:text>.</xsl:text> |
152 |
<xsl:with-param name="label">Succeeds after division of</xsl:with-param> |
155 |
</xsl:when> |
153 |
</xsl:call-template> |
156 |
<xsl:otherwise> |
154 |
|
157 |
<xsl:text> ; </xsl:text> |
155 |
<xsl:call-template name="tag_4xx"> |
158 |
</xsl:otherwise> |
156 |
<xsl:with-param name="tag">432</xsl:with-param> |
159 |
</xsl:choose> |
157 |
<xsl:with-param name="label">Replace</xsl:with-param> |
160 |
</xsl:for-each> |
158 |
</xsl:call-template> |
161 |
</xsl:for-each> |
159 |
|
162 |
</span> |
160 |
<xsl:call-template name="tag_4xx"> |
163 |
</xsl:if> |
161 |
<xsl:with-param name="tag">433</xsl:with-param> |
164 |
|
162 |
<xsl:with-param name="label">Replace partially</xsl:with-param> |
165 |
<xsl:if test="marc:datafield[@tag=102]"> |
163 |
</xsl:call-template> |
166 |
<span class="results_summary country"> |
164 |
|
167 |
<span class="label">Country: </span> |
165 |
<xsl:call-template name="tag_4xx"> |
168 |
<xsl:for-each select="marc:datafield[@tag=102]"> |
166 |
<xsl:with-param name="tag">434</xsl:with-param> |
169 |
<xsl:for-each select="marc:subfield"> |
167 |
<xsl:with-param name="label">Absorbed</xsl:with-param> |
170 |
<xsl:value-of select="text()"/> |
168 |
</xsl:call-template> |
171 |
<xsl:choose> |
169 |
|
172 |
<xsl:when test="position()=last()"> |
170 |
<xsl:call-template name="tag_4xx"> |
173 |
<xsl:text>.</xsl:text> |
171 |
<xsl:with-param name="tag">435</xsl:with-param> |
174 |
</xsl:when> |
172 |
<xsl:with-param name="label">Absorbed partially</xsl:with-param> |
175 |
<xsl:otherwise><xsl:text>, </xsl:text> |
173 |
</xsl:call-template> |
176 |
</xsl:otherwise> |
174 |
|
177 |
</xsl:choose> |
175 |
<xsl:call-template name="tag_4xx"> |
178 |
</xsl:for-each> |
176 |
<xsl:with-param name="tag">436</xsl:with-param> |
179 |
</xsl:for-each> |
177 |
<xsl:with-param name="label">Merge of</xsl:with-param> |
180 |
</span> |
178 |
</xsl:call-template> |
181 |
</xsl:if> |
179 |
|
182 |
|
180 |
<xsl:call-template name="tag_4xx"> |
183 |
<xsl:call-template name="tag_comma"> |
181 |
<xsl:with-param name="tag">437</xsl:with-param> |
184 |
<xsl:with-param name="tag">205</xsl:with-param> |
182 |
<xsl:with-param name="label">Partial sequence of</xsl:with-param> |
185 |
<xsl:with-param name="label">Edition Statement</xsl:with-param> |
183 |
</xsl:call-template> |
186 |
<xsl:with-param name="spanclass">edition</xsl:with-param> |
184 |
|
187 |
</xsl:call-template> |
185 |
<xsl:call-template name="tag_4xx"> |
188 |
|
186 |
<xsl:with-param name="tag">440</xsl:with-param> |
189 |
<xsl:call-template name="tag_210" /> |
187 |
<xsl:with-param name="label">Becomes</xsl:with-param> |
190 |
|
188 |
</xsl:call-template> |
191 |
<xsl:call-template name="tag_215" /> |
189 |
|
192 |
|
190 |
<xsl:call-template name="tag_4xx"> |
193 |
<!-- Build ISBN --> |
191 |
<xsl:with-param name="tag">441</xsl:with-param> |
194 |
<xsl:if test="marc:datafield[@tag=010]/marc:subfield[@code='a']"> |
192 |
<xsl:with-param name="label">Become partially</xsl:with-param> |
195 |
<span class="results_summary isbn"><span class="label">ISBN: </span> |
193 |
</xsl:call-template> |
196 |
<xsl:for-each select="marc:datafield[@tag=010]/marc:subfield[@code='a']"> |
194 |
|
197 |
<span property="isbn"> |
195 |
<xsl:call-template name="tag_4xx"> |
198 |
<xsl:value-of select="."/> |
196 |
<xsl:with-param name="tag">442</xsl:with-param> |
199 |
<xsl:choose> |
197 |
<xsl:with-param name="label">Replace by</xsl:with-param> |
200 |
<xsl:when test="position()=last()"> |
198 |
</xsl:call-template> |
201 |
<xsl:text>.</xsl:text> |
199 |
|
202 |
</xsl:when> |
200 |
<xsl:call-template name="tag_4xx"> |
203 |
<xsl:otherwise> |
201 |
<xsl:with-param name="tag">443</xsl:with-param> |
204 |
<xsl:text>; </xsl:text> |
202 |
<xsl:with-param name="label">Replace partially by</xsl:with-param> |
205 |
</xsl:otherwise> |
203 |
</xsl:call-template> |
206 |
</xsl:choose> |
204 |
|
207 |
</span> |
205 |
<xsl:call-template name="tag_4xx"> |
208 |
</xsl:for-each> |
206 |
<xsl:with-param name="tag">444</xsl:with-param> |
209 |
</span> |
207 |
<xsl:with-param name="label">Absorbed by</xsl:with-param> |
210 |
</xsl:if> |
208 |
</xsl:call-template> |
211 |
|
209 |
|
212 |
<!-- Build ISSN --> |
210 |
<xsl:call-template name="tag_4xx"> |
213 |
<xsl:if test="marc:datafield[@tag=011]/marc:subfield[@code='a']"> |
211 |
<xsl:with-param name="tag">447</xsl:with-param> |
214 |
<span class="results_summary issn"><span class="label">ISSN: </span> |
212 |
<xsl:with-param name="label">Merged with...to train</xsl:with-param> |
215 |
<xsl:for-each select="marc:datafield[@tag=011]/marc:subfield[@code='a']"> |
213 |
</xsl:call-template> |
216 |
<span property="issn"> |
214 |
|
217 |
<xsl:value-of select="."/> |
215 |
<xsl:call-template name="tag_4xx"> |
218 |
<xsl:choose> |
216 |
<xsl:with-param name="tag">451</xsl:with-param> |
219 |
<xsl:when test="position()=last()"> |
217 |
<xsl:with-param name="label">Other edition, same support</xsl:with-param> |
220 |
<xsl:text>.</xsl:text> |
218 |
</xsl:call-template> |
221 |
</xsl:when> |
219 |
|
222 |
<xsl:otherwise> |
220 |
<xsl:call-template name="tag_4xx"> |
223 |
<xsl:text>; </xsl:text> |
221 |
<xsl:with-param name="tag">452</xsl:with-param> |
224 |
</xsl:otherwise> |
222 |
<xsl:with-param name="label">Other edition, different support</xsl:with-param> |
225 |
</xsl:choose> |
223 |
</xsl:call-template> |
226 |
</span> |
224 |
|
227 |
</xsl:for-each> |
225 |
<xsl:call-template name="tag_4xx"> |
228 |
</span> |
226 |
<xsl:with-param name="tag">453</xsl:with-param> |
229 |
</xsl:if> |
227 |
<xsl:with-param name="label">Translated under the title</xsl:with-param> |
230 |
|
228 |
</xsl:call-template> |
231 |
<xsl:call-template name="tag_title"> |
229 |
|
232 |
<xsl:with-param name="tag">225</xsl:with-param> |
230 |
<xsl:call-template name="tag_4xx"> |
233 |
<xsl:with-param name="label">Series</xsl:with-param> |
231 |
<xsl:with-param name="tag">454</xsl:with-param> |
234 |
<xsl:with-param name="spanclass">series</xsl:with-param> |
232 |
<xsl:with-param name="label">Is a translation of</xsl:with-param> |
235 |
</xsl:call-template> |
233 |
</xsl:call-template> |
236 |
|
234 |
|
237 |
<xsl:if test="marc:datafield[@tag=676]"> |
235 |
<xsl:call-template name="tag_4xx"> |
238 |
<span class="results_summary dewey"> |
236 |
<xsl:with-param name="tag">455</xsl:with-param> |
239 |
<span class="label">Dewey: </span> |
237 |
<xsl:with-param name="label">Is a reproduction of</xsl:with-param> |
240 |
<xsl:for-each select="marc:datafield[@tag=676]"> |
238 |
</xsl:call-template> |
241 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
239 |
|
242 |
<xsl:if test="marc:subfield[@code='v']"> |
240 |
<xsl:call-template name="tag_4xx"> |
243 |
<xsl:text>, </xsl:text> |
241 |
<xsl:with-param name="tag">456</xsl:with-param> |
244 |
<xsl:value-of select="marc:subfield[@code='v']"/> |
242 |
<xsl:with-param name="label">Is reproducted as</xsl:with-param> |
245 |
</xsl:if> |
243 |
</xsl:call-template> |
246 |
<xsl:if test="marc:subfield[@code='z']"> |
244 |
|
247 |
<xsl:text>, </xsl:text> |
245 |
<xsl:call-template name="tag_4xx"> |
248 |
<xsl:value-of select="marc:subfield[@code='z']"/> |
246 |
<xsl:with-param name="tag">464</xsl:with-param> |
249 |
</xsl:if> |
247 |
<xsl:with-param name="label">Component</xsl:with-param> |
250 |
<xsl:if test="not (position()=last())"> |
248 |
</xsl:call-template> |
251 |
<xsl:text> ; </xsl:text> |
249 |
|
252 |
</xsl:if> |
250 |
<xsl:call-template name="tag_4xx"> |
253 |
</xsl:for-each> |
251 |
<xsl:with-param name="tag">470</xsl:with-param> |
254 |
</span> |
252 |
<xsl:with-param name="label">Analysed document</xsl:with-param> |
255 |
</xsl:if> |
253 |
</xsl:call-template> |
256 |
|
254 |
|
257 |
<xsl:if test="marc:datafield[@tag=686]"> |
255 |
<xsl:call-template name="tag_4xx"> |
258 |
<span class="results_summary classification"> |
256 |
<xsl:with-param name="tag">481</xsl:with-param> |
259 |
<span class="label">Classification: </span> |
257 |
<xsl:with-param name="label">Is also linked in this volume</xsl:with-param> |
260 |
<xsl:for-each select="marc:datafield[@tag=686]"> |
258 |
</xsl:call-template> |
261 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
259 |
|
262 |
<xsl:if test="marc:subfield[@code='b']"> |
260 |
<xsl:call-template name="tag_4xx"> |
263 |
<xsl:text>, </xsl:text> |
261 |
<xsl:with-param name="tag">482</xsl:with-param> |
264 |
<xsl:value-of select="marc:subfield[@code='b']"/> |
262 |
<xsl:with-param name="label">Linked as a result of</xsl:with-param> |
265 |
</xsl:if> |
263 |
</xsl:call-template> |
266 |
<xsl:if test="marc:subfield[@code='c']"> |
264 |
|
267 |
<xsl:text>, </xsl:text> |
265 |
<xsl:call-template name="tag_4xx"> |
268 |
<xsl:value-of select="marc:subfield[@code='c']"/> |
266 |
<xsl:with-param name="tag">488</xsl:with-param> |
269 |
</xsl:if> |
267 |
<xsl:with-param name="label">Other type of relation</xsl:with-param> |
270 |
<xsl:if test="not (position()=last())"><xsl:text> ; </xsl:text></xsl:if> |
268 |
</xsl:call-template> |
271 |
</xsl:for-each> |
269 |
|
272 |
</span> |
270 |
|
273 |
</xsl:if> |
271 |
<!--Titre de serie autorite 461--> |
274 |
|
272 |
<!--<xsl:call-template name="tag_461" />--> |
275 |
<xsl:if test="marc:datafield[@tag=327]"> |
273 |
|
276 |
<span class="results_summary contents"> |
274 |
<!---Titre de serie non autorite 461--> |
277 |
<span class="label">Contents note: </span> |
275 |
<xsl:call-template name="tag_461bis" /> |
278 |
<xsl:for-each select="marc:datafield[@tag=327]"> |
276 |
|
279 |
<xsl:call-template name="chopPunctuation"> |
277 |
<!--Titre dépouillé 463--> |
280 |
<xsl:with-param name="chopString"> |
278 |
<xsl:call-template name="tag_463" /> |
281 |
<xsl:call-template name="subfieldSelect"> |
279 |
|
282 |
<xsl:with-param name="codes">abcdjpvxyz</xsl:with-param> |
280 |
|
283 |
<xsl:with-param name="subdivCodes">jpxyz</xsl:with-param> |
281 |
<xsl:if test="marc:datafield[@tag=531]"> |
284 |
<xsl:with-param name="subdivDelimiter">-- </xsl:with-param> |
282 |
<span class="results_summary"> |
285 |
</xsl:call-template> |
283 |
<span class="label">Short title : </span> |
286 |
</xsl:with-param> |
284 |
<xsl:for-each select="marc:datafield[@tag=531]"> |
287 |
</xsl:call-template> |
285 |
<xsl:for-each select="marc:subfield"> |
288 |
</xsl:for-each> |
286 |
<xsl:value-of select="text()"/> |
289 |
</span> |
287 |
<xsl:choose> |
290 |
</xsl:if> |
288 |
<xsl:when test="position()=last()"> |
291 |
|
289 |
<xsl:text>.</xsl:text> |
292 |
<xsl:if test="marc:datafield[@tag=330]"> |
290 |
</xsl:when> |
293 |
<span class="results_summary abstract"> |
291 |
<xsl:otherwise><xsl:text>, </xsl:text> |
294 |
<span class="label">Abstract: </span> |
292 |
</xsl:otherwise> |
295 |
<xsl:for-each select="marc:datafield[@tag=330]"> |
293 |
</xsl:choose> |
296 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
294 |
</xsl:for-each> |
297 |
<xsl:choose> |
295 |
</xsl:for-each> |
298 |
<xsl:when test="position()=last()"> |
296 |
</span> |
299 |
<xsl:text>.</xsl:text> |
297 |
</xsl:if> |
300 |
</xsl:when> |
298 |
|
301 |
<xsl:otherwise> |
299 |
<xsl:if test="marc:datafield[@tag=540]"> |
302 |
<xsl:text>; </xsl:text> |
300 |
<span class="results_summary"> |
303 |
</xsl:otherwise> |
301 |
<span class="label">Title added by the cataloguer : </span> |
304 |
</xsl:choose> |
302 |
<xsl:for-each select="marc:datafield[@tag=540]"> |
305 |
</xsl:for-each> |
303 |
<xsl:for-each select="marc:subfield"> |
306 |
</span> |
304 |
<xsl:value-of select="text()"/> |
307 |
</xsl:if> |
305 |
<xsl:choose> |
308 |
|
306 |
<xsl:when test="position()=last()"> |
309 |
<xsl:if test="marc:datafield[@tag=317]"> |
307 |
<xsl:text>.</xsl:text> |
310 |
<span class="results_summary provenance"> |
308 |
</xsl:when> |
311 |
<span class="label">Provenance note: </span> |
309 |
<xsl:otherwise><xsl:text>, </xsl:text> |
312 |
<xsl:for-each select="marc:datafield[@tag=317]"> |
310 |
</xsl:otherwise> |
313 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
311 |
</xsl:choose> |
314 |
</xsl:for-each> |
312 |
</xsl:for-each> |
315 |
</span> |
313 |
</xsl:for-each> |
316 |
</xsl:if> |
314 |
</span> |
317 |
|
315 |
</xsl:if> |
318 |
<xsl:if test="marc:datafield[@tag=320]"> |
316 |
|
319 |
<span class="results_summary bibliography"> |
317 |
<xsl:if test="marc:datafield[@tag=541]"> |
320 |
<span class="label">Bibliography: </span> |
318 |
<span class="results_summary"> |
321 |
<xsl:for-each select="marc:datafield[@tag=320]"> |
319 |
<span class="label">Title translated by the cataloger : </span> |
322 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
320 |
<xsl:for-each select="marc:datafield[@tag=541]"> |
323 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
321 |
<xsl:for-each select="marc:subfield"> |
324 |
</xsl:for-each> |
322 |
<xsl:value-of select="text()"/> |
325 |
</span> |
323 |
<xsl:choose> |
326 |
</xsl:if> |
324 |
<xsl:when test="position()=last()"> |
327 |
|
325 |
<xsl:text>.</xsl:text> |
328 |
<xsl:if test="marc:datafield[@tag=328]"> |
326 |
</xsl:when> |
329 |
<span class="results_summary thesis"> |
327 |
<xsl:otherwise><xsl:text>, </xsl:text> |
330 |
<span class="label">Thesis: </span> |
328 |
</xsl:otherwise> |
331 |
<xsl:for-each select="marc:datafield[@tag=328]"> |
329 |
</xsl:choose> |
332 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
330 |
</xsl:for-each> |
333 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
331 |
</xsl:for-each> |
334 |
</xsl:for-each> |
332 |
</span> |
335 |
</span> |
333 |
</xsl:if> |
336 |
</xsl:if> |
334 |
|
337 |
|
335 |
|
338 |
<xsl:if test="marc:datafield[@tag=333]"> |
336 |
<xsl:call-template name="tag_7xx"> |
339 |
<span class="results_summary audience"> |
337 |
<xsl:with-param name="tag">700</xsl:with-param> |
340 |
<span class="label">Audience: </span> |
338 |
<xsl:with-param name="label">Author(s)</xsl:with-param> |
341 |
<xsl:for-each select="marc:datafield[@tag=333]"> |
339 |
</xsl:call-template> |
342 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
340 |
|
343 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
341 |
<xsl:call-template name="tag_71x"> |
344 |
</xsl:for-each> |
342 |
<xsl:with-param name="tag">710</xsl:with-param> |
345 |
</span> |
343 |
<xsl:with-param name="label">Author(s)</xsl:with-param> |
346 |
</xsl:if> |
344 |
</xsl:call-template> |
347 |
|
345 |
|
348 |
<xsl:if test="marc:datafield[@tag=955]"> |
346 |
<xsl:call-template name="tag_7xx"> |
349 |
<span class="results_summary sudoc_serial_history"> |
347 |
<xsl:with-param name="tag">701</xsl:with-param> |
350 |
<span class="label">SUDOC serial history: </span> |
348 |
<xsl:with-param name="label">Author(s)</xsl:with-param> |
351 |
<xsl:for-each select="marc:datafield[@tag=955]"> |
349 |
</xsl:call-template> |
352 |
<xsl:value-of select="marc:subfield[@code='9']"/>: |
350 |
|
353 |
<xsl:value-of select="marc:subfield[@code='r']"/> |
351 |
<xsl:call-template name="tag_7xx"> |
354 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
352 |
<xsl:with-param name="tag">702</xsl:with-param> |
355 |
</xsl:for-each> |
353 |
<xsl:with-param name="label">Author(s)</xsl:with-param> |
356 |
</span> |
354 |
</xsl:call-template> |
357 |
</xsl:if> |
355 |
|
358 |
|
356 |
<xsl:call-template name="tag_7xx"> |
359 |
<xsl:call-template name="tag_subject"> |
357 |
<xsl:with-param name="tag">703</xsl:with-param> |
360 |
<xsl:with-param name="tag">600</xsl:with-param> |
358 |
<xsl:with-param name="label">Personnal name - provenance or ownership</xsl:with-param> |
361 |
<xsl:with-param name="label">Subject - Personal Name</xsl:with-param> |
359 |
</xsl:call-template> |
362 |
</xsl:call-template> |
360 |
|
363 |
|
361 |
<xsl:call-template name="tag_71x"> |
364 |
<xsl:call-template name="tag_subject"> |
362 |
<xsl:with-param name="tag">711</xsl:with-param> |
365 |
<xsl:with-param name="tag">601</xsl:with-param> |
363 |
<xsl:with-param name="label">Author(s)</xsl:with-param> |
366 |
<xsl:with-param name="label">Subject - Corporate Author</xsl:with-param> |
364 |
</xsl:call-template> |
367 |
</xsl:call-template> |
365 |
|
368 |
|
366 |
<xsl:call-template name="tag_71x"> |
369 |
<xsl:call-template name="tag_subject"> |
367 |
<xsl:with-param name="tag">712</xsl:with-param> |
370 |
<xsl:with-param name="tag">602</xsl:with-param> |
368 |
<xsl:with-param name="label">Author(s)</xsl:with-param> |
371 |
<xsl:with-param name="label">Subject - Family</xsl:with-param> |
369 |
</xsl:call-template> |
372 |
</xsl:call-template> |
370 |
|
373 |
|
371 |
<xsl:call-template name="tag_71x"> |
374 |
<xsl:call-template name="tag_subject"> |
372 |
<xsl:with-param name="tag">713</xsl:with-param> |
375 |
<xsl:with-param name="tag">604</xsl:with-param> |
373 |
<xsl:with-param name="label">Corporate body name - provenance or ownership</xsl:with-param> |
376 |
<xsl:with-param name="label">Subject - Author/Title</xsl:with-param> |
374 |
</xsl:call-template> |
377 |
</xsl:call-template> |
375 |
|
378 |
|
376 |
<xsl:call-template name="tag_7xx"> |
379 |
<xsl:call-template name="tag_subject"> |
377 |
<xsl:with-param name="tag">720</xsl:with-param> |
380 |
<xsl:with-param name="tag">606</xsl:with-param> |
378 |
<xsl:with-param name="label">Family name</xsl:with-param> |
381 |
<xsl:with-param name="label">Subject - Topical Name</xsl:with-param> |
379 |
</xsl:call-template> |
382 |
</xsl:call-template> |
380 |
|
383 |
|
381 |
<xsl:call-template name="tag_7xx"> |
384 |
<xsl:call-template name="tag_subject"> |
382 |
<xsl:with-param name="tag">723</xsl:with-param> |
385 |
<xsl:with-param name="tag">607</xsl:with-param> |
383 |
<xsl:with-param name="label">Family name - provenance or ownership</xsl:with-param> |
386 |
<xsl:with-param name="label">Subject - Geographical Name</xsl:with-param> |
384 |
</xsl:call-template> |
387 |
</xsl:call-template> |
385 |
|
388 |
|
386 |
<xsl:if test="marc:datafield[@tag=101]"> |
389 |
<xsl:call-template name="tag_subject"> |
387 |
<span class="results_summary"> |
390 |
<xsl:with-param name="tag">608</xsl:with-param> |
388 |
<span class="label">Language(s) : </span> |
391 |
<xsl:with-param name="label">Subject - Form</xsl:with-param> |
389 |
<xsl:for-each select="marc:datafield[@tag=101]"> |
392 |
</xsl:call-template> |
390 |
<xsl:for-each select="marc:subfield"> |
393 |
|
391 |
<xsl:choose> |
394 |
<xsl:call-template name="tag_subject"> |
392 |
<xsl:when test="@code='b'">intermediate text, </xsl:when> |
395 |
<xsl:with-param name="tag">610</xsl:with-param> |
393 |
<xsl:when test="@code='c'">of the original work, </xsl:when> |
396 |
<xsl:with-param name="label">Subject</xsl:with-param> |
394 |
<xsl:when test="@code='d'">of the summary, </xsl:when> |
397 |
</xsl:call-template> |
395 |
<xsl:when test="@code='e'">of the table of contents, </xsl:when> |
398 |
|
396 |
<xsl:when test="@code='f'">from the title page, </xsl:when> |
399 |
<xsl:call-template name="tag_subject"> |
397 |
<xsl:when test="@code='g'">from the main title, </xsl:when> |
400 |
<xsl:with-param name="tag">615</xsl:with-param> |
398 |
<xsl:when test="@code='h'">of the booklet or lyrics, </xsl:when> |
401 |
<xsl:with-param name="label">Subject Category</xsl:with-param> |
399 |
<xsl:when test="@code='i'">accompanying material, </xsl:when> |
402 |
</xsl:call-template> |
400 |
<xsl:when test="@code='j'">subtitles </xsl:when>n> </xsl:choose> |
403 |
|
401 |
<xsl:value-of select="text()"/> |
404 |
<xsl:call-template name="tag_subject"> |
402 |
<xsl:choose> |
405 |
<xsl:with-param name="tag">616</xsl:with-param> |
403 |
<xsl:when test="position()=last()"> |
406 |
<xsl:with-param name="label">Trademark</xsl:with-param> |
404 |
<xsl:text>.</xsl:text> |
407 |
</xsl:call-template> |
405 |
</xsl:when> |
408 |
|
406 |
<xsl:otherwise> |
409 |
<xsl:if test="marc:datafield[@tag=856]"> |
407 |
<xsl:text> ; </xsl:text> |
410 |
<span class="results_summary online_resources"> |
408 |
</xsl:otherwise> |
411 |
<span class="label">Online Resources:</span> |
409 |
</xsl:choose> |
412 |
<xsl:for-each select="marc:datafield[@tag=856]"> |
410 |
</xsl:for-each> |
413 |
<a> |
411 |
</xsl:for-each> |
414 |
<xsl:attribute name="href"> |
412 |
</span> |
415 |
<xsl:value-of select="marc:subfield[@code='u']"/> |
413 |
</xsl:if> |
416 |
</xsl:attribute> |
414 |
|
417 |
<xsl:if test="$OPACURLOpenInNewWindow='1'"> |
415 |
<xsl:if test="marc:datafield[@tag=102]"> |
418 |
<xsl:attribute name="target">_blank</xsl:attribute> |
416 |
<span class="results_summary"> |
419 |
</xsl:if> |
417 |
<span class="label">Country : </span> |
420 |
<xsl:choose> |
418 |
<xsl:for-each select="marc:datafield[@tag=102]"> |
421 |
<xsl:when test="marc:subfield[@code='y' or @code='3' or @code='z']"> |
419 |
<xsl:for-each select="marc:subfield"> |
422 |
<xsl:call-template name="subfieldSelect"> |
420 |
<xsl:value-of select="text()"/> |
423 |
<xsl:with-param name="codes">y3z</xsl:with-param> |
421 |
<xsl:choose> |
424 |
</xsl:call-template> |
422 |
<xsl:when test="position()=last()"> |
425 |
</xsl:when> |
423 |
<xsl:text>.</xsl:text> |
426 |
<xsl:when test="not(marc:subfield[@code='y']) and not(marc:subfield[@code='3']) and not(marc:subfield[@code='z'])"> |
424 |
</xsl:when> |
427 |
<xsl:choose> |
425 |
<xsl:otherwise><xsl:text>, </xsl:text> |
428 |
<xsl:when test="$URLLinkText!=''"> |
426 |
</xsl:otherwise> |
429 |
<xsl:value-of select="$URLLinkText"/> |
427 |
</xsl:choose> |
430 |
</xsl:when> |
428 |
</xsl:for-each> |
431 |
<xsl:otherwise> |
429 |
</xsl:for-each> |
432 |
<xsl:text>Click here to access online</xsl:text> |
430 |
</span> |
433 |
</xsl:otherwise> |
431 |
</xsl:if> |
434 |
</xsl:choose> |
432 |
|
435 |
</xsl:when> |
433 |
<xsl:if test="marc:datafield[@tag=205]"> |
436 |
</xsl:choose> |
434 |
<span class="results_summary"> |
437 |
</a> |
435 |
<span class="label">Edition : </span> |
438 |
<xsl:choose> |
436 |
<xsl:for-each select="marc:datafield[@tag=205]"> |
439 |
<xsl:when test="position()=last()"></xsl:when> |
437 |
<xsl:for-each select="marc:subfield"> |
440 |
<xsl:otherwise> | </xsl:otherwise> |
438 |
<xsl:value-of select="text()"/> |
441 |
</xsl:choose> |
439 |
<xsl:choose> |
442 |
</xsl:for-each> |
440 |
<xsl:when test="position()=last()"> |
443 |
</span> |
441 |
<xsl:text>.</xsl:text> |
444 |
</xsl:if> |
442 |
</xsl:when> |
445 |
|
443 |
<xsl:otherwise><xsl:text>, </xsl:text> |
446 |
<!-- OpenURL --> |
444 |
</xsl:otherwise> |
447 |
<xsl:variable name="OPACShowOpenURL" select="marc:sysprefs/marc:syspref[@name='OPACShowOpenURL']" /> |
445 |
</xsl:choose> |
448 |
<xsl:variable name="OpenURLImageLocation" select="marc:sysprefs/marc:syspref[@name='OpenURLImageLocation']" /> |
446 |
</xsl:for-each> |
449 |
<xsl:variable name="OpenURLText" select="marc:sysprefs/marc:syspref[@name='OpenURLText']" /> |
447 |
</xsl:for-each> |
450 |
<xsl:variable name="OpenURLResolverURL" select="marc:variables/marc:variable[@name='OpenURLResolverURL']" /> |
448 |
</span> |
451 |
|
449 |
</xsl:if> |
452 |
<xsl:if test="$OPACShowOpenURL = 1 and $OpenURLResolverURL != ''"> |
450 |
|
453 |
<xsl:variable name="openurltext"> |
451 |
<xsl:call-template name="tag_210" /> |
454 |
<xsl:choose> |
452 |
<xsl:call-template name="tag_214" /> |
455 |
<xsl:when test="$OpenURLText != ''"> |
453 |
|
456 |
<xsl:value-of select="$OpenURLText" /> |
454 |
|
|
|
455 |
<xsl:if test="marc:datafield[@tag=210]/marc:subfield[@code='s']"> |
456 |
<span class="results_summary"> |
457 |
<span class="label">Colophon : </span> |
458 |
<xsl:for-each select="marc:datafield[@tag=210]"> |
459 |
<xsl:value-of select="marc:subfield[@code='s']"/> |
460 |
<xsl:choose> |
461 |
<xsl:when test="position()=last()"> |
462 |
<xsl:text>.</xsl:text> |
463 |
</xsl:when> |
464 |
<xsl:otherwise><xsl:text>, </xsl:text> |
465 |
</xsl:otherwise> |
466 |
</xsl:choose> |
467 |
</xsl:for-each> |
468 |
</span> |
469 |
</xsl:if> |
470 |
|
471 |
<!--210$s et $r Colophon et Adresse transcrite--> |
472 |
<xsl:if test="marc:datafield[@tag=210]/marc:subfield[@code='r']"> |
473 |
<span class="results_summary"> |
474 |
<span class="label">Address : </span> |
475 |
<xsl:for-each select="marc:datafield[@tag=210]"> |
476 |
<xsl:value-of select="marc:subfield[@code='s']"/> |
477 |
<xsl:choose> |
478 |
<xsl:when test="position()=last()"> |
479 |
<xsl:text>.</xsl:text> |
480 |
</xsl:when> |
481 |
<xsl:otherwise><xsl:text>, </xsl:text> |
482 |
</xsl:otherwise> |
483 |
</xsl:choose> |
484 |
</xsl:for-each> |
485 |
</span> |
486 |
</xsl:if> |
487 |
|
488 |
|
489 |
<!--ISBN--> |
490 |
<xsl:if test="(marc:datafield[@tag=010]/marc:subfield[@code='a']) or (marc:datafield[@tag=010]/marc:subfield[@code='b']) or (marc:datafield[@tag=010]/marc:subfield[@code='z'])"> |
491 |
<span class="results_summary"> |
492 |
<span class="label">ISBN : </span> |
493 |
<xsl:for-each select="marc:datafield[@tag=010]"> |
494 |
|
495 |
<xsl:choose> |
496 |
<xsl:when test="(marc:subfield[@code='a']) and (marc:subfield[@code='b']) and (marc:subfield[@code='z'])"> |
497 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
498 |
<xsl:text> ; </xsl:text> |
499 |
<xsl:value-of select="marc:subfield[@code='z']"/><xsl:text>(erroné)</xsl:text> |
500 |
<xsl:text> </xsl:text> |
501 |
<xsl:text>(</xsl:text><xsl:value-of select="marc:subfield[@code='b']"/><xsl:text>)</xsl:text> |
502 |
</xsl:when> |
503 |
<xsl:when test="(marc:subfield[@code='a']) and (marc:subfield[@code='b'])"> |
504 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
505 |
<xsl:text> </xsl:text> |
506 |
<xsl:text>(</xsl:text><xsl:value-of select="marc:subfield[@code='b']"/><xsl:text>)</xsl:text> |
507 |
</xsl:when> |
508 |
<xsl:when test="(marc:subfield[@code='a']) and (marc:subfield[@code='z'])"> |
509 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
510 |
<xsl:text> ; </xsl:text> |
511 |
<xsl:value-of select="marc:subfield[@code='z']"/><xsl:text>(erroné)</xsl:text> |
512 |
</xsl:when> |
513 |
<xsl:when test="(marc:subfield[@code='b']) and (marc:subfield[@code='z'])"> |
514 |
<xsl:value-of select="marc:subfield[@code='z']"/> |
515 |
<xsl:text>(erroné) </xsl:text><xsl:text>(</xsl:text> |
516 |
<xsl:value-of select="marc:subfield[@code='b']"/><xsl:text>)</xsl:text> |
517 |
</xsl:when> |
518 |
<xsl:when test="(marc:subfield[@code='a'])"> |
519 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
520 |
</xsl:when> |
521 |
<xsl:when test="(marc:subfield[@code='b'])"> |
522 |
<xsl:value-of select="marc:subfield[@code='b']"/> |
523 |
</xsl:when> |
524 |
<xsl:when test="(marc:subfield[@code='d'])"> |
525 |
<xsl:value-of select="marc:subfield[@code='d']"/> |
526 |
</xsl:when> |
527 |
</xsl:choose> |
528 |
<xsl:choose> |
529 |
<xsl:when test="position()=last()"> |
530 |
<xsl:text> </xsl:text> |
531 |
</xsl:when> |
532 |
<xsl:otherwise><xsl:text> .- </xsl:text> |
533 |
</xsl:otherwise> |
534 |
</xsl:choose> |
535 |
</xsl:for-each> |
536 |
</span> |
537 |
</xsl:if> |
538 |
|
539 |
|
540 |
|
541 |
|
542 |
<xsl:if test="marc:datafield[@tag=010]/marc:subfield[@code='d']"> |
543 |
<span class="results_summary"> |
544 |
<span class="label">Price : </span> |
545 |
<xsl:for-each select="marc:datafield[@tag=010]"> |
546 |
<xsl:variable name="isbn" select="marc:subfield[@code='d']"/> |
547 |
<xsl:value-of select="marc:subfield[@code='d']"/> |
548 |
<xsl:choose> |
549 |
<xsl:when test="position()=last()"> |
550 |
<xsl:text>.</xsl:text> |
551 |
</xsl:when> |
552 |
<xsl:otherwise> |
553 |
<xsl:text> ; </xsl:text> |
554 |
</xsl:otherwise> |
555 |
</xsl:choose> |
556 |
</xsl:for-each> |
557 |
</span> |
558 |
</xsl:if> |
559 |
|
560 |
<xsl:if test="marc:datafield[@tag=011]"> |
561 |
<span class="results_summary"> |
562 |
<span class="label">ISSN : </span> |
563 |
<xsl:for-each select="marc:datafield[@tag=011]"> |
564 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
565 |
<xsl:choose> |
566 |
<xsl:when test="position()=last()"> |
567 |
<xsl:text>.</xsl:text> |
568 |
</xsl:when> |
569 |
<xsl:otherwise> |
570 |
<xsl:text>; </xsl:text> |
571 |
</xsl:otherwise> |
572 |
</xsl:choose> |
573 |
</xsl:for-each> |
574 |
</span> |
575 |
</xsl:if> |
576 |
|
577 |
<xsl:call-template name="tag_title"> |
578 |
<xsl:with-param name="tag">225</xsl:with-param> |
579 |
<xsl:with-param name="label">Collection</xsl:with-param> |
580 |
</xsl:call-template> |
581 |
|
582 |
|
583 |
<!--410 Collection--> |
584 |
<xsl:for-each select="marc:datafield[@tag=410]"> |
585 |
<span class="results_summary"> |
586 |
<span class="label">Collection : </span> |
587 |
<xsl:choose> |
588 |
<xsl:when test="(marc:subfield[@code='9']) and (marc:subfield[@code='x']) and (marc:subfield[@code='v'])"> |
589 |
<xsl:element name="a"> |
590 |
<xsl:attribute name="href"> |
591 |
/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code='9']"/></xsl:attribute> |
592 |
<xsl:value-of select="marc:subfield[@code='t']"/> |
593 |
</xsl:element> |
594 |
<xsl:text>, ISSN </xsl:text> |
595 |
<xsl:element name="a"> |
596 |
<xsl:attribute name="href"> |
597 |
/cgi-bin/koha/opac-search.pl?idx=ns&q=<xsl:value-of select="marc:subfield[@code='x']"/> |
598 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x']"/></xsl:element> |
599 |
<xsl:text> ; </xsl:text> |
600 |
<xsl:value-of select="marc:subfield[@code='v']"/> |
601 |
</xsl:when> |
602 |
<xsl:when test="(marc:subfield[@code='9']) and (marc:subfield[@code='v'])"> |
603 |
<xsl:element name="a"> |
604 |
<xsl:attribute name="href"> |
605 |
/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code='9']"/></xsl:attribute> |
606 |
<xsl:value-of select="marc:subfield[@code='t']"/> |
607 |
</xsl:element> |
608 |
<xsl:text> ; </xsl:text> |
609 |
<xsl:value-of select="marc:subfield[@code='v']"/> |
610 |
</xsl:when> |
611 |
<xsl:when test="(marc:subfield[@code='9']) and (marc:subfield[@code='x'])"> |
612 |
<xsl:element name="a"> |
613 |
<xsl:attribute name="href"> |
614 |
/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code='9']"/></xsl:attribute> |
615 |
<xsl:value-of select="marc:subfield[@code='t']"/> |
616 |
</xsl:element> |
617 |
<xsl:text>, ISSN </xsl:text> |
618 |
<xsl:element name="a"> |
619 |
<xsl:attribute name="href"> |
620 |
/cgi-bin/koha/opac-search.pl?idx=ns&q=<xsl:value-of select="marc:subfield[@code='x']"/> |
621 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x']"/></xsl:element> |
622 |
</xsl:when> |
623 |
<xsl:when test="(marc:subfield[@code='t']) and (marc:subfield[@code='x']) and (marc:subfield[@code='v'])"> |
624 |
<xsl:element name="a"> |
625 |
<xsl:attribute name="href"> |
626 |
/cgi-bin/koha/opac-search.pl?idx=Title-series&q=<xsl:value-of select="marc:subfield[@code='t']"/> |
627 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='t']"/></xsl:element> |
628 |
<xsl:text>, ISSN </xsl:text> |
629 |
<xsl:element name="a"> |
630 |
<xsl:attribute name="href"> |
631 |
/cgi-bin/koha/opac-search.pl?idx=ns&q=<xsl:value-of select="marc:subfield[@code='x']"/> |
632 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x']"/></xsl:element> |
633 |
<xsl:text> ; </xsl:text> |
634 |
<xsl:value-of select="marc:subfield[@code='v']"/> |
635 |
</xsl:when> |
636 |
<xsl:when test="(marc:subfield[@code='t']) and (marc:subfield[@code='v'])"> |
637 |
<xsl:element name="a"> |
638 |
<xsl:attribute name="href"> |
639 |
/cgi-bin/koha/opac-search.pl?idx=Title-series&q=<xsl:value-of select="marc:subfield[@code='t']"/> |
640 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='t']"/></xsl:element> |
641 |
<xsl:text> ; </xsl:text> |
642 |
<xsl:value-of select="marc:subfield[@code='v']"/> |
643 |
</xsl:when> |
644 |
<xsl:when test="(marc:subfield[@code='t'])"> |
645 |
<xsl:element name="a"> |
646 |
<xsl:attribute name="href"> |
647 |
/cgi-bin/koha/opac-search.pl?idx=Title-series&q=<xsl:value-of select="marc:subfield[@code='t']"/> |
648 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='t']"/></xsl:element> |
649 |
</xsl:when> |
650 |
</xsl:choose> |
651 |
</span> |
652 |
</xsl:for-each> |
653 |
|
654 |
|
655 |
|
656 |
<!--500 DE UNIFORME--> |
657 |
<xsl:for-each select="marc:datafield[@tag=500]"> |
658 |
<span class="results_summary"> |
659 |
<span class="label">Uniform title : </span> |
660 |
<xsl:if test="marc:subfield[@code='a']"> |
661 |
<xsl:text>[</xsl:text> |
662 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
663 |
<xsl:choose> |
664 |
<xsl:when test="(marc:subfield[@code='i']) and (marc:subfield[@code='m']) and (marc:subfield[@code='k'])"> |
665 |
<xsl:text>. </xsl:text> |
666 |
<xsl:value-of select="marc:subfield[@code='i']"/> |
667 |
<xsl:text>. </xsl:text> |
668 |
<xsl:value-of select="marc:subfield[@code='m']"/> |
669 |
<xsl:text>. </xsl:text> |
670 |
<xsl:value-of select="marc:subfield[@code='k']"/> |
671 |
<xsl:text>]</xsl:text> |
672 |
</xsl:when> |
673 |
<xsl:when test="(marc:subfield[@code='i']) and (marc:subfield[@code='l'])"> |
674 |
<xsl:text>. </xsl:text> |
675 |
<xsl:value-of select="marc:subfield[@code='i']"/> |
676 |
<xsl:text>. </xsl:text> |
677 |
<xsl:value-of select="marc:subfield[@code='l']"/> |
678 |
<xsl:text>]</xsl:text> |
679 |
</xsl:when> |
680 |
<xsl:when test="(marc:subfield[@code='m']) and (marc:subfield[@code='k'])"> |
681 |
<xsl:text>. </xsl:text> |
682 |
<xsl:value-of select="marc:subfield[@code='m']"/> |
683 |
<xsl:text>. </xsl:text> |
684 |
<xsl:value-of select="marc:subfield[@code='k']"/> |
685 |
<xsl:text>]</xsl:text> |
686 |
</xsl:when> |
687 |
<xsl:when test="(marc:subfield[@code='i']) and (marc:subfield[@code='k'])"> |
688 |
<xsl:text>. </xsl:text> |
689 |
<xsl:value-of select="marc:subfield[@code='i']"/> |
690 |
<xsl:text>. </xsl:text> |
691 |
<xsl:value-of select="marc:subfield[@code='k']"/> |
692 |
<xsl:text>]</xsl:text> |
693 |
</xsl:when> |
694 |
<xsl:when test="(marc:subfield[@code='i'][3])"> |
695 |
<xsl:text>. </xsl:text> |
696 |
<xsl:value-of select="marc:subfield[@code='i'][1]"/> |
697 |
<xsl:text>. </xsl:text> |
698 |
<xsl:value-of select="marc:subfield[@code='i'][2]"/> |
699 |
<xsl:text>. </xsl:text> |
700 |
<xsl:value-of select="marc:subfield[@code='i'][3]"/> |
701 |
<xsl:text>]</xsl:text> |
702 |
</xsl:when> |
703 |
<xsl:when test="(marc:subfield[@code='i'][2])"> |
704 |
<xsl:text>. </xsl:text> |
705 |
<xsl:value-of select="marc:subfield[@code='i'][1]"/> |
706 |
<xsl:text>. </xsl:text> |
707 |
<xsl:value-of select="marc:subfield[@code='i'][2]"/> |
708 |
<xsl:text>]</xsl:text> |
709 |
</xsl:when> |
710 |
<xsl:when test="(marc:subfield[@code='l'])"> |
711 |
<xsl:text>. </xsl:text> |
712 |
<xsl:value-of select="marc:subfield[@code='l']"/> |
713 |
<xsl:text>]</xsl:text> |
714 |
</xsl:when> |
715 |
<xsl:otherwise> |
716 |
<xsl:text>]</xsl:text> |
717 |
</xsl:otherwise> |
718 |
</xsl:choose> |
719 |
</xsl:if> |
720 |
</span> |
721 |
</xsl:for-each> |
722 |
|
723 |
|
724 |
<!--503 FORM TITLE--> |
725 |
<xsl:for-each select="marc:datafield[@tag=503]"> |
726 |
<span class="results_summary"> |
727 |
<span class="label">Form title : </span> |
728 |
<xsl:if test="marc:subfield[@code='a']"> |
729 |
<xsl:text>[</xsl:text> |
730 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
731 |
<xsl:choose> |
732 |
<xsl:when test="(marc:subfield[@code='e']) and (marc:subfield[@code='i']) and (marc:subfield[@code='m']) and (marc:subfield[@code='n']) and (marc:subfield[@code='o']) and (marc:subfield[@code='j'])"> |
733 |
<xsl:text>. </xsl:text> |
734 |
<xsl:value-of select="marc:subfield[@code='e']"/> |
735 |
<xsl:text>. </xsl:text> |
736 |
<xsl:value-of select="marc:subfield[@code='i']"/> |
737 |
<xsl:text>. </xsl:text> |
738 |
<xsl:value-of select="marc:subfield[@code='m']"/> |
739 |
<xsl:text>. </xsl:text> |
740 |
<xsl:value-of select="marc:subfield[@code='n']"/> |
741 |
<xsl:text>. </xsl:text> |
742 |
<xsl:value-of select="marc:subfield[@code='o']"/> |
743 |
<xsl:text>. </xsl:text> |
744 |
<xsl:value-of select="marc:subfield[@code='j']"/> |
745 |
<xsl:text>]</xsl:text> |
746 |
</xsl:when> |
747 |
<xsl:when test="(marc:subfield[@code='e']) and (marc:subfield[@code='m']) and (marc:subfield[@code='n']) and (marc:subfield[@code='o']) and (marc:subfield[@code='j'])"> |
748 |
<xsl:text>. </xsl:text> |
749 |
<xsl:value-of select="marc:subfield[@code='e']"/> |
750 |
<xsl:text>. </xsl:text> |
751 |
<xsl:value-of select="marc:subfield[@code='m']"/> |
752 |
<xsl:text>. </xsl:text> |
753 |
<xsl:value-of select="marc:subfield[@code='n']"/> |
754 |
<xsl:text>. </xsl:text> |
755 |
<xsl:value-of select="marc:subfield[@code='o']"/> |
756 |
<xsl:text>. </xsl:text> |
757 |
<xsl:value-of select="marc:subfield[@code='j']"/> |
758 |
<xsl:text>]</xsl:text> |
759 |
</xsl:when> |
760 |
<xsl:when test="(marc:subfield[@code='m']) and (marc:subfield[@code='n']) and (marc:subfield[@code='o']) and (marc:subfield[@code='j'])"> |
761 |
<xsl:text>. </xsl:text> |
762 |
<xsl:value-of select="marc:subfield[@code='m']"/> |
763 |
<xsl:text>. </xsl:text> |
764 |
<xsl:value-of select="marc:subfield[@code='n']"/> |
765 |
<xsl:text>. </xsl:text> |
766 |
<xsl:value-of select="marc:subfield[@code='o']"/> |
767 |
<xsl:text>. </xsl:text> |
768 |
<xsl:value-of select="marc:subfield[@code='j']"/> |
769 |
<xsl:text>]</xsl:text> |
770 |
</xsl:when> |
771 |
<xsl:when test="(marc:subfield[@code='e']) and (marc:subfield[@code='m']) and (marc:subfield[@code='n']) and (marc:subfield[@code='j'])"> |
772 |
<xsl:text>. </xsl:text> |
773 |
<xsl:value-of select="marc:subfield[@code='e']"/> |
774 |
<xsl:text>. </xsl:text> |
775 |
<xsl:value-of select="marc:subfield[@code='m']"/> |
776 |
<xsl:text>. </xsl:text> |
777 |
<xsl:value-of select="marc:subfield[@code='n']"/> |
778 |
<xsl:text>. </xsl:text> |
779 |
<xsl:value-of select="marc:subfield[@code='j']"/> |
780 |
<xsl:text>]</xsl:text> |
781 |
</xsl:when> |
782 |
<xsl:when test="(marc:subfield[@code='m']) and (marc:subfield[@code='n']) and (marc:subfield[@code='j'])"> |
783 |
<xsl:text>. </xsl:text> |
784 |
<xsl:value-of select="marc:subfield[@code='m']"/> |
785 |
<xsl:text>. </xsl:text> |
786 |
<xsl:value-of select="marc:subfield[@code='n']"/> |
787 |
<xsl:text>. </xsl:text> |
788 |
<xsl:value-of select="marc:subfield[@code='j']"/> |
789 |
<xsl:text>]</xsl:text> |
790 |
</xsl:when> |
791 |
<xsl:when test="(marc:subfield[@code='e']) and (marc:subfield[@code='h']) and (marc:subfield[@code='j'])"> |
792 |
<xsl:text>. </xsl:text> |
793 |
<xsl:value-of select="marc:subfield[@code='e']"/> |
794 |
<xsl:text>. </xsl:text> |
795 |
<xsl:value-of select="marc:subfield[@code='h']"/> |
796 |
<xsl:text>. </xsl:text> |
797 |
<xsl:value-of select="marc:subfield[@code='j']"/> |
798 |
<xsl:text>]</xsl:text> |
799 |
</xsl:when> |
800 |
<xsl:when test="(marc:subfield[@code='e']) and (marc:subfield[@code='f']) and (marc:subfield[@code='h'])"> |
801 |
<xsl:text>. </xsl:text> |
802 |
<xsl:value-of select="marc:subfield[@code='e']"/> |
803 |
<xsl:text>. </xsl:text> |
804 |
<xsl:value-of select="marc:subfield[@code='f']"/> |
805 |
<xsl:text>. </xsl:text> |
806 |
<xsl:value-of select="marc:subfield[@code='h']"/> |
807 |
<xsl:text>]</xsl:text> |
808 |
</xsl:when> |
809 |
<xsl:when test="(marc:subfield[@code='e']) and (marc:subfield[@code='f'])"> |
810 |
<xsl:text>. </xsl:text> |
811 |
<xsl:value-of select="marc:subfield[@code='e']"/> |
812 |
<xsl:text>. </xsl:text> |
813 |
<xsl:value-of select="marc:subfield[@code='f']"/> |
814 |
<xsl:text>]</xsl:text> |
815 |
</xsl:when> |
816 |
<xsl:when test="(marc:subfield[@code='i']) and (marc:subfield[@code='n'])"> |
817 |
<xsl:text>. </xsl:text> |
818 |
<xsl:value-of select="marc:subfield[@code='i']"/> |
819 |
<xsl:text>. </xsl:text> |
820 |
<xsl:value-of select="marc:subfield[@code='n']"/> |
821 |
<xsl:text>]</xsl:text> |
822 |
</xsl:when> |
823 |
<xsl:when test="(marc:subfield[@code='m']) and (marc:subfield[@code='n'])"> |
824 |
<xsl:text>. </xsl:text> |
825 |
<xsl:value-of select="marc:subfield[@code='m']"/> |
826 |
<xsl:text>. </xsl:text> |
827 |
<xsl:value-of select="marc:subfield[@code='n']"/> |
828 |
<xsl:text>]</xsl:text> |
829 |
</xsl:when> |
830 |
<xsl:when test="(marc:subfield[@code='m']) and (marc:subfield[@code='j'])"> |
831 |
<xsl:text>. </xsl:text> |
832 |
<xsl:value-of select="marc:subfield[@code='m']"/> |
833 |
<xsl:text>. </xsl:text> |
834 |
<xsl:value-of select="marc:subfield[@code='j']"/> |
835 |
<xsl:text>]</xsl:text> |
836 |
</xsl:when> |
837 |
<xsl:when test="(marc:subfield[@code='m'])"> |
838 |
<xsl:text>. </xsl:text> |
839 |
<xsl:value-of select="marc:subfield[@code='m']"/> |
840 |
<xsl:text>]</xsl:text> |
841 |
</xsl:when> |
842 |
<xsl:otherwise> |
843 |
<xsl:text>]</xsl:text> |
844 |
</xsl:otherwise> |
845 |
</xsl:choose> |
846 |
</xsl:if> |
847 |
</span> |
848 |
</xsl:for-each> |
849 |
|
850 |
|
851 |
<!--517 OTHER TITLE--> |
852 |
<xsl:for-each select="marc:datafield[@tag=517]"> |
853 |
<span class="results_summary"> |
854 |
<span class="label">Other title : </span> |
855 |
<xsl:if test="marc:subfield[@code='a']"> |
856 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
857 |
<xsl:choose> |
858 |
<xsl:when test="(marc:subfield[@code='e']) and (marc:subfield[@code='h']) and (marc:subfield[@code='i'])"> |
859 |
<xsl:text>: </xsl:text> |
860 |
<xsl:value-of select="marc:subfield[@code='e']"/> |
861 |
<xsl:text>. </xsl:text> |
862 |
<xsl:value-of select="marc:subfield[@code='h']"/> |
863 |
<xsl:text>, </xsl:text> |
864 |
<xsl:value-of select="marc:subfield[@code='i']"/> |
865 |
</xsl:when> |
866 |
<xsl:when test="(marc:subfield[@code='e'])"> |
867 |
<xsl:text>: </xsl:text> |
868 |
<xsl:value-of select="marc:subfield[@code='e']"/> |
869 |
</xsl:when> |
870 |
<xsl:when test="(marc:subfield[@code='j'])"> |
871 |
<xsl:text>. </xsl:text> |
872 |
<xsl:value-of select="marc:subfield[@code='j']"/> |
873 |
</xsl:when> |
874 |
</xsl:choose> |
875 |
</xsl:if> |
876 |
</span> |
877 |
</xsl:for-each> |
878 |
|
879 |
<!--506 identification of work--> |
880 |
<xsl:if test="marc:datafield[@tag=506]"> |
881 |
<span class="results_summary"> |
882 |
<span class="label">Identification of a work : </span> |
883 |
<xsl:for-each select="marc:datafield[@tag=506]"> |
884 |
<xsl:for-each select="marc:subfield"> |
885 |
<xsl:value-of select="text()"/> |
886 |
<xsl:choose> |
887 |
<xsl:when test="position()=last()"> |
888 |
<xsl:text>.</xsl:text> |
889 |
</xsl:when> |
890 |
<xsl:otherwise><xsl:text>. </xsl:text> |
891 |
</xsl:otherwise> |
892 |
</xsl:choose> |
893 |
</xsl:for-each> |
894 |
</xsl:for-each> |
895 |
</span> |
896 |
</xsl:if> |
897 |
|
898 |
|
899 |
<!--507 identification of an exception expression--> |
900 |
<xsl:if test="marc:datafield[@tag=507]"> |
901 |
<span class="results_summary"> |
902 |
<span class="label">Identification of an exception expression : </span> |
903 |
<xsl:for-each select="marc:datafield[@tag=507]"> |
904 |
<xsl:for-each select="marc:subfield"> |
905 |
<xsl:value-of select="text()"/> |
906 |
<xsl:choose> |
907 |
<xsl:when test="position()=last()"> |
908 |
<xsl:text>.</xsl:text> |
909 |
</xsl:when> |
910 |
<xsl:otherwise><xsl:text>. </xsl:text> |
911 |
</xsl:otherwise> |
912 |
</xsl:choose> |
913 |
</xsl:for-each> |
914 |
</xsl:for-each> |
915 |
</span> |
916 |
</xsl:if> |
917 |
|
918 |
<!--576 identification of an exception expression--> |
919 |
<xsl:if test="marc:datafield[@tag=576]"> |
920 |
<span class="results_summary"> |
921 |
<span class="label">Name prefered access point -Identification of a work : </span> |
922 |
<xsl:for-each select="marc:datafield[@tag=576]"> |
923 |
<xsl:for-each select="marc:subfield"> |
924 |
<xsl:value-of select="text()"/> |
925 |
<xsl:choose> |
926 |
<xsl:when test="position()=last()"> |
927 |
<xsl:text>.</xsl:text> |
928 |
</xsl:when> |
929 |
<xsl:otherwise><xsl:text>. </xsl:text> |
930 |
</xsl:otherwise> |
931 |
</xsl:choose> |
932 |
</xsl:for-each> |
933 |
</xsl:for-each> |
934 |
</span> |
935 |
</xsl:if> |
936 |
|
937 |
<!--577 identification of an exception expression--> |
938 |
<xsl:if test="marc:datafield[@tag=577]"> |
939 |
<span class="results_summary"> |
940 |
<span class="label">Name prefered access point -Identification of an expression : </span> |
941 |
<xsl:for-each select="marc:datafield[@tag=577]"> |
942 |
<xsl:for-each select="marc:subfield"> |
943 |
<xsl:value-of select="text()"/> |
944 |
<xsl:choose> |
945 |
<xsl:when test="position()=last()"> |
946 |
<xsl:text>.</xsl:text> |
947 |
</xsl:when> |
948 |
<xsl:otherwise><xsl:text>. </xsl:text> |
949 |
</xsl:otherwise> |
950 |
</xsl:choose> |
951 |
</xsl:for-each> |
952 |
</xsl:for-each> |
953 |
</span> |
954 |
</xsl:if> |
955 |
|
956 |
<!--623 Character--> |
957 |
<xsl:if test="marc:datafield[@tag=623]"> |
958 |
<span class="results_summary"> |
959 |
<span class="label">Character : </span> |
960 |
<xsl:for-each select="marc:datafield[@tag=623]"> |
961 |
<xsl:for-each select="marc:subfield"> |
962 |
<xsl:value-of select="text()"/> |
963 |
<xsl:choose> |
964 |
<xsl:when test="position()=last()"> |
965 |
<xsl:text>.</xsl:text> |
966 |
</xsl:when> |
967 |
<xsl:otherwise><xsl:text>. </xsl:text> |
968 |
</xsl:otherwise> |
969 |
</xsl:choose> |
970 |
</xsl:for-each> |
971 |
</xsl:for-each> |
972 |
</span> |
973 |
</xsl:if> |
974 |
|
975 |
|
976 |
<xsl:if test="marc:datafield[@tag=686]"> |
977 |
<span class="results_summary"> |
978 |
<span class="label">Other classification : </span> |
979 |
<xsl:for-each select="marc:datafield[@tag=686]"> |
980 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
981 |
<xsl:if test="marc:subfield[@code='2']"> |
982 |
<xsl:text>, </xsl:text> |
983 |
<xsl:value-of select="marc:subfield[@code='2']"/> |
984 |
</xsl:if> |
985 |
<xsl:if test="marc:subfield[@code='z']"> |
986 |
<xsl:text>, </xsl:text> |
987 |
<xsl:value-of select="marc:subfield[@code='z']"/> |
988 |
</xsl:if> |
989 |
<xsl:if test="not (position()=last())"> |
990 |
<xsl:text> ; </xsl:text> |
991 |
</xsl:if> |
992 |
</xsl:for-each> |
993 |
</span> |
994 |
</xsl:if> |
995 |
|
996 |
<xsl:if test="marc:datafield[@tag=675]"> |
997 |
<span class="results_summary"> |
998 |
<span class="label">Classification - CDU : </span> |
999 |
<xsl:for-each select="marc:datafield[@tag=675]"> |
1000 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
1001 |
<xsl:if test="marc:subfield[@code='b']"> |
1002 |
<xsl:text>, </xsl:text> |
1003 |
<xsl:value-of select="marc:subfield[@code='b']"/> |
1004 |
</xsl:if> |
1005 |
<xsl:if test="marc:subfield[@code='c']"> |
1006 |
<xsl:text>, </xsl:text> |
1007 |
<xsl:value-of select="marc:subfield[@code='c']"/> |
1008 |
</xsl:if> |
1009 |
<xsl:if test="not (position()=last())"><xsl:text> ; </xsl:text></xsl:if> |
1010 |
</xsl:for-each> |
1011 |
</span> |
1012 |
</xsl:if> |
1013 |
|
1014 |
|
1015 |
<xsl:if test="marc:datafield[@tag=676]"> |
1016 |
<span class="results_summary"> |
1017 |
<span class="label">Classification - Dewey : </span> |
1018 |
<xsl:for-each select="marc:datafield[@tag=676]"> |
1019 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
1020 |
<xsl:if test="marc:subfield[@code='b']"> |
1021 |
<xsl:text>, </xsl:text> |
1022 |
<xsl:value-of select="marc:subfield[@code='b']"/> |
1023 |
</xsl:if> |
1024 |
<xsl:if test="marc:subfield[@code='c']"> |
1025 |
<xsl:text>, </xsl:text> |
1026 |
<xsl:value-of select="marc:subfield[@code='c']"/> |
1027 |
</xsl:if> |
1028 |
<xsl:if test="not (position()=last())"><xsl:text> ; </xsl:text></xsl:if> |
1029 |
</xsl:for-each> |
1030 |
</span> |
1031 |
</xsl:if> |
1032 |
|
1033 |
|
1034 |
<xsl:if test="marc:datafield[@tag=327]"> |
1035 |
<span class="results_summary"> |
1036 |
<span class="label">Note(s) of content : </span> |
1037 |
<xsl:for-each select="marc:datafield[@tag=327]"> |
1038 |
<xsl:call-template name="chopPunctuation"> |
1039 |
<xsl:with-param name="chopString"> |
1040 |
<xsl:call-template name="subfieldSelect"> |
1041 |
<xsl:with-param name="codes">a</xsl:with-param> |
1042 |
<xsl:with-param name="subdivCodes">a</xsl:with-param> |
1043 |
<xsl:with-param name="subdivDelimiter"> | </xsl:with-param> |
1044 |
</xsl:call-template> |
1045 |
</xsl:with-param> |
1046 |
</xsl:call-template> |
1047 |
</xsl:for-each> |
1048 |
</span> |
1049 |
</xsl:if> |
1050 |
|
1051 |
<xsl:if test="marc:datafield[@tag=330]"> |
1052 |
<span class="results_summary"> |
1053 |
<span class="label">Résumé : </span> |
1054 |
<xsl:for-each select="marc:datafield[@tag=330]"> |
1055 |
<a class="voir_resume" href="#descriptions"> |
1056 |
<xsl:text>Voir le résumé</xsl:text> |
1057 |
</a> |
1058 |
<xsl:choose> |
1059 |
<xsl:when test="position()=last()"> |
1060 |
<xsl:text> </xsl:text> |
1061 |
</xsl:when> |
1062 |
<xsl:otherwise> |
1063 |
<xsl:text> </xsl:text> |
1064 |
</xsl:otherwise> |
1065 |
</xsl:choose> |
1066 |
</xsl:for-each> |
1067 |
</span> |
1068 |
</xsl:if> |
1069 |
|
1070 |
<xsl:if test="marc:datafield[@tag=326]"> |
1071 |
<span class="results_summary"> |
1072 |
<span class="label">Périodicity : </span> |
1073 |
<xsl:for-each select="marc:datafield[@tag=326]"> |
1074 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
1075 |
<xsl:choose> |
1076 |
<xsl:when test="position()=last()"> |
1077 |
<xsl:text> </xsl:text> |
1078 |
</xsl:when> |
1079 |
<xsl:otherwise> |
1080 |
<xsl:text>; </xsl:text> |
1081 |
</xsl:otherwise> |
1082 |
</xsl:choose> |
1083 |
</xsl:for-each> |
1084 |
</span> |
1085 |
</xsl:if> |
1086 |
|
1087 |
|
1088 |
<xsl:if test="marc:datafield[@tag=310]"> |
1089 |
<span class="results_summary"> |
1090 |
<span class="label">Note(s) about the availablity : </span> |
1091 |
<xsl:for-each select="marc:datafield[@tag=310]"> |
1092 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
1093 |
<xsl:choose> |
1094 |
<xsl:when test="position()=last()"> |
1095 |
<xsl:text> </xsl:text> |
1096 |
</xsl:when> |
1097 |
<xsl:otherwise> |
1098 |
<xsl:text>; </xsl:text> |
1099 |
</xsl:otherwise> |
1100 |
</xsl:choose> |
1101 |
</xsl:for-each> |
1102 |
</span> |
1103 |
</xsl:if> |
1104 |
|
1105 |
<xsl:if test="marc:datafield[@tag=317]"> |
1106 |
<span class="results_summary"> |
1107 |
<span class="label">Note(s) of provenance : </span> |
1108 |
<xsl:for-each select="marc:datafield[@tag=317]"> |
1109 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
1110 |
</xsl:for-each> |
1111 |
</span> |
1112 |
</xsl:if> |
1113 |
|
1114 |
<xsl:if test="marc:datafield[@tag=320]"> |
1115 |
<span class="results_summary"> |
1116 |
<span class="label">Note(s) : </span> |
1117 |
<xsl:for-each select="marc:datafield[@tag=320]"> |
1118 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
1119 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
1120 |
</xsl:for-each> |
1121 |
</span> |
1122 |
</xsl:if> |
1123 |
|
1124 |
<xsl:if test="marc:datafield[@tag=328]"> |
1125 |
<span class="results_summary"> |
1126 |
<span class="label">Note(s) of thesis : </span> |
1127 |
<xsl:for-each select="marc:datafield[@tag=328]"> |
1128 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
1129 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
1130 |
</xsl:for-each> |
1131 |
</span> |
1132 |
</xsl:if> |
1133 |
|
1134 |
<xsl:if test="marc:datafield[@tag=333]"> |
1135 |
<span class="results_summary"> |
1136 |
<span class="label">Abstract : </span> |
1137 |
<xsl:for-each select="marc:datafield[@tag=333]"> |
1138 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
1139 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
1140 |
</xsl:for-each> |
1141 |
</span> |
1142 |
</xsl:if> |
1143 |
|
1144 |
|
1145 |
<xsl:if test="marc:datafield[@tag=610]"> |
1146 |
<span class="results_summary"> |
1147 |
<span class="label">Subject : </span> |
1148 |
<xsl:for-each select="marc:datafield[@tag=610]"> |
1149 |
<xsl:variable name="chp_610" select="marc:datafield[@tag=610]/marc:subfield[@code='a']"/> |
1150 |
<xsl:variable name="between" select="substring-before(substring-after(marc:subfield[@code='a'], '('), ')')"/> |
1151 |
<xsl:choose> |
1152 |
<xsl:when test="contains($chp_610,'(')"> |
1153 |
<a> |
1154 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=su,phr:<xsl:value-of select="substring-before(marc:subfield[@code='a'], '(')"/> <xsl:value-of select="$between"/></xsl:attribute> |
1155 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
1156 |
</a> |
1157 |
</xsl:when> |
1158 |
<xsl:otherwise> |
1159 |
<a> |
1160 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=su,phr:<xsl:value-of select="marc:subfield[@code='a']"/> |
1161 |
</xsl:attribute> |
1162 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
1163 |
</a> |
1164 |
</xsl:otherwise> |
1165 |
</xsl:choose> |
1166 |
<xsl:choose> |
1167 |
<xsl:when test="position()=last()"> |
1168 |
<xsl:text> </xsl:text> |
1169 |
</xsl:when> |
1170 |
<xsl:otherwise> |
1171 |
<xsl:text> . </xsl:text> |
1172 |
</xsl:otherwise> |
1173 |
</xsl:choose> |
1174 |
</xsl:for-each> |
1175 |
</span> |
1176 |
</xsl:if> |
1177 |
|
1178 |
|
1179 |
|
1180 |
<xsl:for-each select="marc:datafield[@tag=600]"> |
1181 |
<span class="results_summary"> |
1182 |
<span class="label">Subject - name : </span> |
1183 |
<xsl:if test="marc:subfield[@code='a']"> |
1184 |
<xsl:element name="a"> |
1185 |
<xsl:attribute name="href"> |
1186 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='a']"/> |
1187 |
<xsl:text>+</xsl:text> <xsl:if test="marc:subfield[@code='b']!=''"><xsl:value-of select="marc:subfield[@code='b']"/></xsl:if> |
1188 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='a']"/></xsl:element> |
1189 |
</xsl:if> |
1190 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='b']"> |
1191 |
<xsl:text>, </xsl:text> |
1192 |
<xsl:value-of select="marc:subfield[@code='b']"/> |
1193 |
</xsl:if> |
1194 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='d']"> |
1195 |
<xsl:text>, </xsl:text> |
1196 |
<xsl:value-of select="marc:subfield[@code='d']"/> |
1197 |
</xsl:if> |
1198 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='c']"> |
1199 |
<xsl:text>, </xsl:text> |
1200 |
<xsl:element name="a"> |
1201 |
<xsl:attribute name="href"> |
1202 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='c']"/> |
1203 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='c']"/></xsl:element> |
1204 |
</xsl:if> |
1205 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='f']"> |
1206 |
<xsl:text> (</xsl:text> |
1207 |
<xsl:value-of select="marc:subfield[@code='f']"/> |
1208 |
<xsl:text>) </xsl:text> |
1209 |
</xsl:if> |
1210 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='x']"> |
1211 |
<xsl:text> -- </xsl:text> |
1212 |
<xsl:element name="a"> |
1213 |
<xsl:attribute name="href"> |
1214 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][1]"/> |
1215 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][1]"/></xsl:element> |
1216 |
<xsl:if test="marc:subfield[@code='x'][2]"> |
1217 |
<xsl:text> -- </xsl:text> |
1218 |
<xsl:element name="a"> |
1219 |
<xsl:attribute name="href"> |
1220 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][2]"/> |
1221 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][2]"/></xsl:element> |
1222 |
</xsl:if> |
1223 |
<xsl:if test="marc:subfield[@code='x'][3]"> |
1224 |
<xsl:text> -- </xsl:text> |
1225 |
<xsl:element name="a"> |
1226 |
<xsl:attribute name="href"> |
1227 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][3]"/> |
1228 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][3]"/></xsl:element> |
1229 |
</xsl:if> |
1230 |
</xsl:if> |
1231 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='y']"> |
1232 |
<xsl:text> -- </xsl:text> |
1233 |
<xsl:value-of select="marc:subfield[@code='y']"/> |
1234 |
</xsl:if> |
1235 |
<xsl:if test="marc:subfield[@code='z']"> |
1236 |
<xsl:text> -- </xsl:text> |
1237 |
<xsl:value-of select="marc:subfield[@code='z']"/> |
1238 |
</xsl:if> |
1239 |
<xsl:text> | </xsl:text> |
1240 |
<!-- recherche sur tous les mots--> <xsl:element name="a"><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?idx=su&q= |
1241 |
<xsl:choose> |
1242 |
<xsl:when test="contains(marc:subfield[@code='a'],'(')"> |
1243 |
<xsl:value-of select="substring-before(marc:subfield[@code='a'], '(')" /> |
1244 |
<xsl:value-of select="substring-before(substring-after(marc:subfield[@code='a'], '('), ')')" /> |
1245 |
<xsl:value-of select="substring-after(marc:subfield[@code='a'], ')')" /> |
457 |
</xsl:when> |
1246 |
</xsl:when> |
458 |
<xsl:otherwise> |
1247 |
<xsl:otherwise> |
459 |
<xsl:text>OpenURL</xsl:text> |
1248 |
<xsl:value-of select="marc:subfield[@code='a']" /> |
460 |
</xsl:otherwise> |
1249 |
</xsl:otherwise> |
461 |
</xsl:choose> |
1250 |
</xsl:choose> |
462 |
</xsl:variable> |
1251 |
|
463 |
|
1252 |
<xsl:if test="marc:subfield[@code='b'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='b']!=''"><xsl:value-of select="marc:subfield[@code='b']"/></xsl:if> |
464 |
<span class="results_summary"><a> |
1253 |
<xsl:if test="marc:subfield[@code='c'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='c']!=''"><xsl:value-of select="marc:subfield[@code='c']"/></xsl:if> |
465 |
<xsl:attribute name="href"> |
1254 |
<xsl:if test="marc:subfield[@code='d'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='d']!=''"><xsl:value-of select="marc:subfield[@code='d']"/></xsl:if><xsl:if test="marc:subfield[@code='x'][1] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][1]!=''"><xsl:value-of select="marc:subfield[@code='x'][1]"/></xsl:if> |
466 |
<xsl:value-of select="$OpenURLResolverURL" /> |
1255 |
<xsl:if test="marc:subfield[@code='x'][2] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][2]!=''"><xsl:value-of select="marc:subfield[@code='x'][2]"/></xsl:if> |
467 |
</xsl:attribute> |
1256 |
<xsl:if test="marc:subfield[@code='x'][3] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][3]!=''"><xsl:value-of select="marc:subfield[@code='x'][3]"/></xsl:if> |
468 |
<xsl:attribute name="title"> |
1257 |
<xsl:if test="marc:subfield[@code='z'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='z']!=''"><xsl:value-of select="marc:subfield[@code='z']"/></xsl:if> |
469 |
<xsl:value-of select="$openurltext" /> |
1258 |
</xsl:attribute><xsl:element name="img"><xsl:attribute name="src">/intranet-tmpl/prog/img/filefind.png</xsl:attribute><xsl:attribute name="title">Search all the subject words</xsl:attribute></xsl:element> </xsl:element> |
470 |
</xsl:attribute> |
1259 |
</span> |
471 |
<xsl:attribute name="class"> |
1260 |
</xsl:for-each> |
472 |
<xsl:text>OpenURL</xsl:text> |
1261 |
|
473 |
</xsl:attribute> |
1262 |
|
474 |
<xsl:if test="$OPACURLOpenInNewWindow='1'"> |
1263 |
<xsl:for-each select="marc:datafield[@tag=601]"> |
475 |
<xsl:attribute name="target"> |
1264 |
<span class="results_summary"> |
476 |
<xsl:text>_blank</xsl:text> |
1265 |
<span class="label">Subject - Collectivities : </span> |
477 |
</xsl:attribute> |
1266 |
<xsl:if test="marc:subfield[@code='a']"> |
478 |
</xsl:if> |
1267 |
<xsl:element name="a"> |
479 |
<xsl:choose> |
1268 |
<xsl:attribute name="href"> |
480 |
<xsl:when test="$OpenURLImageLocation != ''"> |
1269 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='a']"/> |
481 |
<img> |
1270 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='a']"/></xsl:element> |
482 |
<xsl:attribute name="src"> |
1271 |
</xsl:if> |
483 |
<xsl:value-of select="$OpenURLImageLocation" /> |
1272 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='b']"> |
484 |
</xsl:attribute> |
1273 |
<xsl:text>. </xsl:text> |
485 |
</img> |
1274 |
<xsl:element name="a"> |
|
|
1275 |
<xsl:attribute name="href"> |
1276 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='b'][1]"/> |
1277 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='b'][1]"/></xsl:element> |
1278 |
<xsl:if test="marc:subfield[@code='b'][2]"> |
1279 |
<xsl:text>. </xsl:text> |
1280 |
<xsl:element name="a"> |
1281 |
<xsl:attribute name="href"> |
1282 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='b'][2]"/> |
1283 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='b'][2]"/></xsl:element> |
1284 |
</xsl:if> |
1285 |
|
1286 |
<xsl:if test="marc:subfield[@code='b'][3]"> |
1287 |
<xsl:text>. </xsl:text> |
1288 |
<xsl:element name="a"> |
1289 |
<xsl:attribute name="href"> |
1290 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='b'][3]"/> |
1291 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='b'][3]"/></xsl:element> |
1292 |
</xsl:if> |
1293 |
|
1294 |
</xsl:if> |
1295 |
<xsl:if test="marc:subfield[@code='c']"> |
1296 |
<xsl:text>. </xsl:text> |
1297 |
<xsl:value-of select="marc:subfield[@code='c']"/> |
1298 |
</xsl:if> |
1299 |
|
1300 |
<xsl:choose> |
1301 |
<xsl:when test="(marc:subfield[@code='d']) and (marc:subfield[@code='f']) and (marc:subfield[@code='e'])"> |
1302 |
<xsl:text> ( </xsl:text> |
1303 |
<xsl:value-of select="marc:subfield[@code='d']"/> |
1304 |
<xsl:text> ; </xsl:text> |
1305 |
<xsl:value-of select="marc:subfield[@code='f']"/> |
1306 |
<xsl:text> ; </xsl:text> |
1307 |
<xsl:value-of select="marc:subfield[@code='e']"/> |
1308 |
<xsl:text> ) </xsl:text> |
1309 |
</xsl:when> |
1310 |
<xsl:when test="(marc:subfield[@code='d']) and (marc:subfield[@code='f'])"> |
1311 |
<xsl:text> ( </xsl:text> |
1312 |
<xsl:value-of select="marc:subfield[@code='d']"/> |
1313 |
<xsl:text> ; </xsl:text> |
1314 |
<xsl:value-of select="marc:subfield[@code='f']"/> |
1315 |
<xsl:text> ) </xsl:text> |
1316 |
</xsl:when> |
1317 |
<xsl:when test="marc:subfield[@code='d']"> |
1318 |
<xsl:text> ( </xsl:text> |
1319 |
<xsl:value-of select="marc:subfield[@code='d']"/> |
1320 |
<xsl:text> ) </xsl:text> |
1321 |
</xsl:when> |
1322 |
</xsl:choose> |
1323 |
|
1324 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='x']"> |
1325 |
<xsl:text> -- </xsl:text> |
1326 |
<xsl:element name="a"> |
1327 |
<xsl:attribute name="href"> |
1328 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][1]"/> |
1329 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][1]"/></xsl:element> |
1330 |
<xsl:if test="marc:subfield[@code='x'][2]"> |
1331 |
<xsl:text> -- </xsl:text> |
1332 |
<xsl:element name="a"> |
1333 |
<xsl:attribute name="href"> |
1334 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][2]"/> |
1335 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][2]"/></xsl:element> |
1336 |
</xsl:if> |
1337 |
<xsl:if test="marc:subfield[@code='x'][3]"> |
1338 |
<xsl:text> -- </xsl:text> |
1339 |
<xsl:element name="a"> |
1340 |
<xsl:attribute name="href"> |
1341 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][3]"/> |
1342 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][3]"/></xsl:element></xsl:if> |
1343 |
</xsl:if> |
1344 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='y']"> |
1345 |
<xsl:text> -- </xsl:text> |
1346 |
<xsl:element name="a"> |
1347 |
<xsl:attribute name="href"> |
1348 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='y']"/> |
1349 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='y']"/></xsl:element> |
1350 |
</xsl:if> |
1351 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='z']"> |
1352 |
<xsl:text> -- </xsl:text> |
1353 |
<xsl:element name="a"> |
1354 |
<xsl:attribute name="href"> |
1355 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='z']"/> |
1356 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='z']"/></xsl:element> |
1357 |
</xsl:if> |
1358 |
<xsl:text> | </xsl:text> |
1359 |
<!-- recherche sur tous les mots --> <xsl:element name="a"><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?idx=su&q= |
1360 |
<xsl:choose> |
1361 |
<xsl:when test="contains(marc:subfield[@code='a'],'(')"> |
1362 |
<xsl:value-of select="substring-before(marc:subfield[@code='a'], '(')" /> |
1363 |
<xsl:value-of select="substring-before(substring-after(marc:subfield[@code='a'], '('), ')')" /> |
1364 |
<xsl:value-of select="substring-after(marc:subfield[@code='a'], ')')" /> |
486 |
</xsl:when> |
1365 |
</xsl:when> |
487 |
<xsl:otherwise> |
1366 |
<xsl:otherwise> |
488 |
<xsl:value-of select="$openurltext" /> |
1367 |
<xsl:value-of select="marc:subfield[@code='a']" /> |
489 |
</xsl:otherwise> |
1368 |
</xsl:otherwise> |
490 |
</xsl:choose> |
1369 |
</xsl:choose> |
491 |
</a></span> |
1370 |
<xsl:if test="marc:subfield[@code='b'][1]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='b'][1]!=''"><xsl:value-of select="marc:subfield[@code='b'][1]"/></xsl:if> |
492 |
</xsl:if> |
1371 |
<xsl:if test="marc:subfield[@code='b'][2]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='b'][2]!=''"><xsl:value-of select="marc:subfield[@code='b'][2]"/></xsl:if> |
493 |
<!-- End of OpenURL --> |
1372 |
<xsl:if test="marc:subfield[@code='b'][3]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='b'][3]!=''"><xsl:value-of select="marc:subfield[@code='b'][3]"/></xsl:if> |
494 |
|
1373 |
<xsl:if test="marc:subfield[@code='x'][1]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][1]!=''"><xsl:value-of select="marc:subfield[@code='x'][1]"/></xsl:if> |
495 |
<xsl:variable name="OPACShowMusicalInscripts" select="marc:sysprefs/marc:syspref[@name='OPACShowMusicalInscripts']" /> |
1374 |
<xsl:if test="marc:subfield[@code='x'][2]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][2]!=''"><xsl:value-of select="marc:subfield[@code='x'][2]"/></xsl:if> |
496 |
<xsl:variable name="OPACPlayMusicalInscripts" select="marc:sysprefs/marc:syspref[@name='OPACPlayMusicalInscripts']" /> |
1375 |
<xsl:if test="marc:subfield[@code='x'][3]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][3]!=''"><xsl:value-of select="marc:subfield[@code='x'][3]"/></xsl:if> |
497 |
|
1376 |
<xsl:if test="marc:subfield[@code='y'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='y']!=''"><xsl:value-of select="marc:subfield[@code='y']"/></xsl:if><xsl:if test="marc:subfield[@code='z'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='z']!=''"><xsl:value-of select="marc:subfield[@code='z']"/></xsl:if><xsl:if test="marc:subfield[@code='j'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='j']!=''"><xsl:value-of select="marc:subfield[@code='j']"/></xsl:if></xsl:attribute> <xsl:element name="img"><xsl:attribute name="src">/intranet-tmpl/prog/img/filefind.png</xsl:attribute><xsl:attribute name="title">Lancer une recherche sur tous les mots sujet</xsl:attribute></xsl:element> </xsl:element> |
498 |
<xsl:if test="$OPACShowMusicalInscripts and marc:datafield[@tag=036]"> |
1377 |
</span> |
499 |
<xsl:for-each select="marc:datafield[@tag=031]"> |
1378 |
</xsl:for-each> |
500 |
|
|
|
501 |
<span class="results_summary musical_inscripts"> |
502 |
<xsl:if test="marc:subfield[@code='u']"> |
503 |
<span class="uri"> |
504 |
<a> |
505 |
<xsl:attribute name="href"> |
506 |
<xsl:value-of select="marc:subfield[@code='u']"/> |
507 |
</xsl:attribute> |
508 |
<xsl:text>Audio file</xsl:text> |
509 |
</a> |
510 |
</span> |
511 |
</xsl:if> |
512 |
<xsl:if test="marc:subfield[@code='2'] and marc:subfield[@code='2']/text() = 'pe' and marc:subfield[@code='g'] and marc:subfield[@code='n'] and marc:subfield[@code='o'] and marc:subfield[@code='p']"> |
513 |
<div class="inscript" data-system="pae"> |
514 |
<xsl:attribute name="data-clef"> |
515 |
<xsl:value-of select="marc:subfield[@code='g']"/> |
516 |
</xsl:attribute> |
517 |
<xsl:attribute name="data-keysig"> |
518 |
<xsl:value-of select="marc:subfield[@code='n']"/> |
519 |
</xsl:attribute> |
520 |
<xsl:attribute name="data-timesig"> |
521 |
<xsl:value-of select="marc:subfield[@code='o']"/> |
522 |
</xsl:attribute> |
523 |
<xsl:attribute name="data-notation"> |
524 |
<xsl:value-of select="marc:subfield[@code='p']"/> |
525 |
</xsl:attribute> |
526 |
</div> |
527 |
<xsl:if test="$OPACPlayMusicalInscripts = 1"> |
528 |
<div class="audio_controls"> |
529 |
<button class="btn play_btn"> |
530 |
<i id="carticon" class="fa fa-play"></i> |
531 |
<xsl:text> Play this sample</xsl:text> |
532 |
</button> |
533 |
</div> |
534 |
</xsl:if> |
535 |
</xsl:if> |
536 |
</span> |
537 |
</xsl:for-each> |
538 |
<xsl:if test="$OPACPlayMusicalInscripts = 1"> |
539 |
<div class="results_summary"> |
540 |
<span class="inscript_audio hide"></span> |
541 |
</div> |
542 |
</xsl:if> |
543 |
</xsl:if> |
544 |
|
1379 |
|
545 |
</xsl:template> |
|
|
546 |
|
1380 |
|
547 |
<xsl:template name="nameABCDQ"> |
1381 |
<xsl:for-each select="marc:datafield[@tag=602]"> |
548 |
<xsl:call-template name="chopPunctuation"> |
1382 |
<span class="results_summary"> |
549 |
<xsl:with-param name="chopString"> |
1383 |
<span class="label">Subject – Name of family : </span> |
550 |
<xsl:call-template name="subfieldSelect"> |
1384 |
<xsl:if test="marc:subfield[@code='a']"> |
551 |
<xsl:with-param name="codes">aq</xsl:with-param> |
1385 |
<xsl:element name="a"> |
552 |
</xsl:call-template> |
1386 |
<xsl:attribute name="href"> |
553 |
</xsl:with-param> |
1387 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='a']"/> |
554 |
<xsl:with-param name="punctuation"> |
1388 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='a']"/></xsl:element> |
555 |
<xsl:text>:,;/ </xsl:text> |
1389 |
</xsl:if> |
556 |
</xsl:with-param> |
1390 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='b']"> |
557 |
</xsl:call-template> |
1391 |
<xsl:text>. </xsl:text> |
558 |
<xsl:call-template name="termsOfAddress"/> |
1392 |
<xsl:element name="a"> |
559 |
</xsl:template> |
1393 |
<xsl:attribute name="href"> |
560 |
|
1394 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='b'][1]"/> |
561 |
<xsl:template name="nameABCDN"> |
1395 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='b'][1]"/></xsl:element> |
562 |
<xsl:for-each select="marc:subfield[@code='a']"> |
1396 |
<xsl:if test="marc:subfield[@code='b'][2]"> |
563 |
<xsl:call-template name="chopPunctuation"> |
1397 |
<xsl:text>. </xsl:text> |
564 |
<xsl:with-param name="chopString" select="."/> |
1398 |
<xsl:element name="a"> |
565 |
</xsl:call-template> |
1399 |
<xsl:attribute name="href"> |
566 |
</xsl:for-each> |
1400 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='b'][2]"/> |
567 |
<xsl:for-each select="marc:subfield[@code='b']"> |
1401 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='b'][2]"/></xsl:element> |
568 |
<xsl:value-of select="."/> |
1402 |
</xsl:if> |
569 |
</xsl:for-each> |
1403 |
|
570 |
<xsl:if test="marc:subfield[@code='c'] or marc:subfield[@code='d'] or marc:subfield[@code='n']"> |
1404 |
<xsl:if test="marc:subfield[@code='b'][3]"> |
571 |
<xsl:call-template name="subfieldSelect"> |
1405 |
<xsl:text>. </xsl:text> |
572 |
<xsl:with-param name="codes">cdn</xsl:with-param> |
1406 |
<xsl:element name="a"> |
573 |
</xsl:call-template> |
1407 |
<xsl:attribute name="href"> |
574 |
</xsl:if> |
1408 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='b'][3]"/> |
575 |
</xsl:template> |
1409 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='b'][3]"/></xsl:element> |
576 |
|
1410 |
</xsl:if> |
577 |
<xsl:template name="nameACDEQ"> |
1411 |
|
578 |
<xsl:call-template name="subfieldSelect"> |
1412 |
</xsl:if> |
579 |
<xsl:with-param name="codes">acdeq</xsl:with-param> |
1413 |
<xsl:if test="marc:subfield[@code='c']"> |
580 |
</xsl:call-template> |
1414 |
<xsl:text>. </xsl:text> |
581 |
</xsl:template> |
1415 |
<xsl:value-of select="marc:subfield[@code='c']"/> |
582 |
<xsl:template name="termsOfAddress"> |
1416 |
</xsl:if> |
583 |
<xsl:if test="marc:subfield[@code='b' or @code='c']"> |
1417 |
|
584 |
<xsl:call-template name="chopPunctuation"> |
1418 |
<xsl:choose> |
585 |
<xsl:with-param name="chopString"> |
1419 |
<xsl:when test="(marc:subfield[@code='d']) and (marc:subfield[@code='f']) and (marc:subfield[@code='e'])"> |
586 |
<xsl:call-template name="subfieldSelect"> |
1420 |
<xsl:text> ( </xsl:text> |
587 |
<xsl:with-param name="codes">bc</xsl:with-param> |
1421 |
<xsl:value-of select="marc:subfield[@code='d']"/> |
588 |
</xsl:call-template> |
1422 |
<xsl:text> ; </xsl:text> |
589 |
</xsl:with-param> |
1423 |
<xsl:value-of select="marc:subfield[@code='f']"/> |
590 |
</xsl:call-template> |
1424 |
<xsl:text> ; </xsl:text> |
591 |
</xsl:if> |
1425 |
<xsl:value-of select="marc:subfield[@code='e']"/> |
592 |
</xsl:template> |
1426 |
<xsl:text> ) </xsl:text> |
593 |
|
1427 |
</xsl:when> |
594 |
<xsl:template name="part"> |
1428 |
<xsl:when test="(marc:subfield[@code='d']) and (marc:subfield[@code='f'])"> |
595 |
<xsl:variable name="partNumber"> |
1429 |
<xsl:text> ( </xsl:text> |
596 |
<xsl:call-template name="specialSubfieldSelect"> |
1430 |
</xsl:when> |
597 |
<xsl:with-param name="axis">n</xsl:with-param> |
1431 |
<xsl:when test="marc:subfield[@code='d']"> |
598 |
<xsl:with-param name="anyCodes">n</xsl:with-param> |
1432 |
<xsl:text> ( </xsl:text> |
599 |
<xsl:with-param name="afterCodes">fghkdlmor</xsl:with-param> |
1433 |
<xsl:value-of select="marc:subfield[@code='d']"/> |
600 |
</xsl:call-template> |
1434 |
<xsl:text> ) </xsl:text> |
601 |
</xsl:variable> |
1435 |
</xsl:when> |
602 |
<xsl:variable name="partName"> |
1436 |
</xsl:choose> |
603 |
<xsl:call-template name="specialSubfieldSelect"> |
1437 |
|
604 |
<xsl:with-param name="axis">p</xsl:with-param> |
1438 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='t']"> |
605 |
<xsl:with-param name="anyCodes">p</xsl:with-param> |
1439 |
<xsl:text> -- </xsl:text> |
606 |
<xsl:with-param name="afterCodes">fghkdlmor</xsl:with-param> |
1440 |
<xsl:value-of select="marc:subfield[@code='t']"/> |
607 |
</xsl:call-template> |
1441 |
</xsl:if> |
608 |
</xsl:variable> |
1442 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='x']"> |
609 |
<xsl:if test="string-length(normalize-space($partNumber))"> |
1443 |
<xsl:text> -- </xsl:text> |
610 |
<xsl:call-template name="chopPunctuation"> |
1444 |
<xsl:element name="a"> |
611 |
<xsl:with-param name="chopString" select="$partNumber"/> |
1445 |
<xsl:attribute name="href"> |
612 |
</xsl:call-template> |
1446 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][1]"/> |
613 |
</xsl:if> |
1447 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][1]"/></xsl:element> |
614 |
<xsl:if test="string-length(normalize-space($partName))"> |
1448 |
<xsl:if test="marc:subfield[@code='x'][2]"> |
615 |
<xsl:call-template name="chopPunctuation"> |
1449 |
<xsl:text> -- </xsl:text> |
616 |
<xsl:with-param name="chopString" select="$partName"/> |
1450 |
<xsl:element name="a"> |
617 |
</xsl:call-template> |
1451 |
<xsl:attribute name="href"> |
618 |
</xsl:if> |
1452 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][2]"/> |
619 |
</xsl:template> |
1453 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][2]"/></xsl:element> |
620 |
|
1454 |
</xsl:if> |
621 |
<xsl:template name="specialSubfieldSelect"> |
1455 |
<xsl:if test="marc:subfield[@code='x'][3]"> |
622 |
<xsl:param name="anyCodes"/> |
1456 |
<xsl:text> -- </xsl:text> |
623 |
<xsl:param name="axis"/> |
1457 |
<xsl:element name="a"> |
624 |
<xsl:param name="beforeCodes"/> |
1458 |
<xsl:attribute name="href"> |
625 |
<xsl:param name="afterCodes"/> |
1459 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][3]"/> |
626 |
<xsl:variable name="str"> |
1460 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][3]"/></xsl:element></xsl:if> |
627 |
<xsl:for-each select="marc:subfield"> |
1461 |
</xsl:if> |
628 |
<xsl:if test="contains($anyCodes, @code) or (contains($beforeCodes,@code) and following-sibling::marc:subfield[@code=$axis]) or (contains($afterCodes,@code) and preceding-sibling::marc:subfield[@code=$axis])"> |
1462 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='y']"> |
629 |
<xsl:value-of select="text()"/> |
1463 |
<xsl:text> -- </xsl:text> |
630 |
<xsl:text> </xsl:text> |
1464 |
<xsl:element name="a"> |
631 |
</xsl:if> |
1465 |
<xsl:attribute name="href"> |
632 |
</xsl:for-each> |
1466 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='y']"/> |
633 |
</xsl:variable> |
1467 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='y']"/></xsl:element> |
634 |
<xsl:value-of select="substring($str,1,string-length($str)-1)"/> |
1468 |
</xsl:if> |
635 |
</xsl:template> |
1469 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='z']"> |
636 |
|
1470 |
<xsl:text> -- </xsl:text> |
637 |
</xsl:stylesheet> |
1471 |
<xsl:element name="a"> |
|
|
1472 |
<xsl:attribute name="href"> |
1473 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='z']"/> |
1474 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='z']"/></xsl:element> |
1475 |
</xsl:if> |
1476 |
<xsl:text> | </xsl:text> |
1477 |
<!-- recherche sur tous les mots --> <xsl:element name="a"><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?idx=su&q= |
1478 |
<xsl:choose> |
1479 |
<xsl:when test="contains(marc:subfield[@code='a'],'(')"> |
1480 |
<xsl:value-of select="substring-before(marc:subfield[@code='a'], '(')" /> |
1481 |
<xsl:value-of select="substring-before(substring-after(marc:subfield[@code='a'], '('), ')')" /> |
1482 |
<xsl:value-of select="substring-after(marc:subfield[@code='a'], ')')" /> |
1483 |
</xsl:when> |
1484 |
<xsl:otherwise> |
1485 |
<xsl:value-of select="marc:subfield[@code='a']" /> |
1486 |
</xsl:otherwise> |
1487 |
</xsl:choose> |
1488 |
<xsl:if test="marc:subfield[@code='b'][1]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='b'][1]!=''"><xsl:value-of select="marc:subfield[@code='b'][1]"/></xsl:if> |
1489 |
<xsl:if test="marc:subfield[@code='b'][2]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='b'][2]!=''"><xsl:value-of select="marc:subfield[@code='b'][2]"/></xsl:if> |
1490 |
<xsl:if test="marc:subfield[@code='b'][3]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='b'][3]!=''"><xsl:value-of select="marc:subfield[@code='b'][3]"/></xsl:if> |
1491 |
<xsl:if test="marc:subfield[@code='x'][1]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][1]!=''"><xsl:value-of select="marc:subfield[@code='x'][1]"/></xsl:if> |
1492 |
<xsl:if test="marc:subfield[@code='x'][2]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][2]!=''"><xsl:value-of select="marc:subfield[@code='x'][2]"/></xsl:if> |
1493 |
<xsl:if test="marc:subfield[@code='x'][3]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][3]!=''"><xsl:value-of select="marc:subfield[@code='x'][3]"/></xsl:if> |
1494 |
<xsl:if test="marc:subfield[@code='t']!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='t']!=''"><xsl:value-of select="marc:subfield[@code='t']"/></xsl:if> |
1495 |
<xsl:if test="marc:subfield[@code='y'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='y']!=''"><xsl:value-of select="marc:subfield[@code='y']"/></xsl:if><xsl:if test="marc:subfield[@code='z'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='z']!=''"><xsl:value-of select="marc:subfield[@code='z']"/></xsl:if><xsl:if test="marc:subfield[@code='j'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='j']!=''"><xsl:value-of select="marc:subfield[@code='j']"/></xsl:if></xsl:attribute> <xsl:element name="img"><xsl:attribute name="src">/intranet-tmpl/prog/img/filefind.png</xsl:attribute><xsl:attribute name="title">Lancer une recherche sur tous les mots sujet</xsl:attribute></xsl:element> </xsl:element> |
1496 |
</span> |
1497 |
</xsl:for-each> |
1498 |
|
1499 |
|
1500 |
<xsl:for-each select="marc:datafield[@tag=604]"> |
1501 |
<span class="results_summary"> |
1502 |
<span class="label">Subject – Author/Title : </span> |
1503 |
<xsl:if test="marc:subfield[@code='a']"> |
1504 |
<xsl:element name="a"> |
1505 |
<xsl:attribute name="href"> |
1506 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='a']"/> |
1507 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='a']"/></xsl:element> |
1508 |
</xsl:if> |
1509 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='b']"> |
1510 |
<xsl:text>. </xsl:text> |
1511 |
<xsl:element name="a"> |
1512 |
<xsl:attribute name="href"> |
1513 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='b'][1]"/> |
1514 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='b'][1]"/></xsl:element> |
1515 |
<xsl:if test="marc:subfield[@code='b'][2]"> |
1516 |
<xsl:text>. </xsl:text> |
1517 |
<xsl:element name="a"> |
1518 |
<xsl:attribute name="href"> |
1519 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='b'][2]"/> |
1520 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='b'][2]"/></xsl:element> |
1521 |
</xsl:if> |
1522 |
|
1523 |
<xsl:if test="marc:subfield[@code='b'][3]"> |
1524 |
<xsl:text>. </xsl:text> |
1525 |
<xsl:element name="a"> |
1526 |
<xsl:attribute name="href"> |
1527 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='b'][3]"/> |
1528 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='b'][3]"/></xsl:element> |
1529 |
</xsl:if> |
1530 |
|
1531 |
</xsl:if> |
1532 |
<xsl:if test="marc:subfield[@code='c']"> |
1533 |
<xsl:text>. </xsl:text> |
1534 |
<xsl:value-of select="marc:subfield[@code='c']"/> |
1535 |
</xsl:if> |
1536 |
|
1537 |
<xsl:choose> |
1538 |
<xsl:when test="(marc:subfield[@code='d']) and (marc:subfield[@code='f']) and (marc:subfield[@code='e'])"> |
1539 |
<xsl:text> ( </xsl:text> |
1540 |
<xsl:value-of select="marc:subfield[@code='d']"/> |
1541 |
<xsl:text> ; </xsl:text> |
1542 |
<xsl:value-of select="marc:subfield[@code='f']"/> |
1543 |
<xsl:text> ; </xsl:text> |
1544 |
<xsl:value-of select="marc:subfield[@code='e']"/> |
1545 |
<xsl:text> ) </xsl:text> |
1546 |
</xsl:when> |
1547 |
<xsl:when test="(marc:subfield[@code='d']) and (marc:subfield[@code='f'])"> |
1548 |
<xsl:text> ( </xsl:text> |
1549 |
</xsl:when> |
1550 |
<xsl:when test="marc:subfield[@code='d']"> |
1551 |
<xsl:text> ( </xsl:text> |
1552 |
<xsl:value-of select="marc:subfield[@code='d']"/> |
1553 |
<xsl:text> ) </xsl:text> |
1554 |
</xsl:when> |
1555 |
</xsl:choose> |
1556 |
|
1557 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='t']"> |
1558 |
<xsl:text> -- </xsl:text> |
1559 |
<xsl:value-of select="marc:subfield[@code='t']"/> |
1560 |
</xsl:if> |
1561 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='x']"> |
1562 |
<xsl:text> -- </xsl:text> |
1563 |
<xsl:element name="a"> |
1564 |
<xsl:attribute name="href"> |
1565 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][1]"/> |
1566 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][1]"/></xsl:element> |
1567 |
<xsl:if test="marc:subfield[@code='x'][2]"> |
1568 |
<xsl:text> -- </xsl:text> |
1569 |
<xsl:element name="a"> |
1570 |
<xsl:attribute name="href"> |
1571 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][2]"/> |
1572 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][2]"/></xsl:element> |
1573 |
</xsl:if> |
1574 |
<xsl:if test="marc:subfield[@code='x'][3]"> |
1575 |
<xsl:text> -- </xsl:text> |
1576 |
<xsl:element name="a"> |
1577 |
<xsl:attribute name="href"> |
1578 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][3]"/> |
1579 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][3]"/></xsl:element></xsl:if> |
1580 |
</xsl:if> |
1581 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='y']"> |
1582 |
<xsl:text> -- </xsl:text> |
1583 |
<xsl:element name="a"> |
1584 |
<xsl:attribute name="href"> |
1585 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='y']"/> |
1586 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='y']"/></xsl:element> |
1587 |
</xsl:if> |
1588 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='z']"> |
1589 |
<xsl:text> -- </xsl:text> |
1590 |
<xsl:element name="a"> |
1591 |
<xsl:attribute name="href"> |
1592 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='z']"/> |
1593 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='z']"/></xsl:element> |
1594 |
</xsl:if> |
1595 |
<xsl:text> | </xsl:text> |
1596 |
<!-- recherche sur tous les mots --> <xsl:element name="a"><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?idx=su&q= |
1597 |
<xsl:choose> |
1598 |
<xsl:when test="contains(marc:subfield[@code='a'],'(')"> |
1599 |
<xsl:value-of select="substring-before(marc:subfield[@code='a'], '(')" /> |
1600 |
<xsl:value-of select="substring-before(substring-after(marc:subfield[@code='a'], '('), ')')" /> |
1601 |
<xsl:value-of select="substring-after(marc:subfield[@code='a'], ')')" /> |
1602 |
</xsl:when> |
1603 |
<xsl:otherwise> |
1604 |
<xsl:value-of select="marc:subfield[@code='a']" /> |
1605 |
</xsl:otherwise> |
1606 |
</xsl:choose> |
1607 |
<xsl:if test="marc:subfield[@code='b'][1]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='b'][1]!=''"><xsl:value-of select="marc:subfield[@code='b'][1]"/></xsl:if> |
1608 |
<xsl:if test="marc:subfield[@code='x'][1]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][1]!=''"><xsl:value-of select="marc:subfield[@code='x'][1]"/></xsl:if> |
1609 |
<xsl:if test="marc:subfield[@code='x'][2]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][2]!=''"><xsl:value-of select="marc:subfield[@code='x'][2]"/></xsl:if> |
1610 |
<xsl:if test="marc:subfield[@code='x'][3]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][3]!=''"><xsl:value-of select="marc:subfield[@code='x'][3]"/></xsl:if> |
1611 |
<xsl:if test="marc:subfield[@code='t']!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='t']!=''"><xsl:value-of select="marc:subfield[@code='t']"/></xsl:if> |
1612 |
<xsl:if test="marc:subfield[@code='y'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='y']!=''"><xsl:value-of select="marc:subfield[@code='y']"/></xsl:if><xsl:if test="marc:subfield[@code='z'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='z']!=''"><xsl:value-of select="marc:subfield[@code='z']"/></xsl:if><xsl:if test="marc:subfield[@code='j'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='j']!=''"><xsl:value-of select="marc:subfield[@code='j']"/></xsl:if></xsl:attribute> <xsl:element name="img"><xsl:attribute name="src">/intranet-tmpl/prog/img/filefind.png</xsl:attribute><xsl:attribute name="title">Lancer une recherche sur tous les mots sujet</xsl:attribute></xsl:element> </xsl:element> |
1613 |
</span> |
1614 |
</xsl:for-each> |
1615 |
|
1616 |
|
1617 |
<xsl:for-each select="marc:datafield[@tag=605]"> |
1618 |
<span class="results_summary"> |
1619 |
<span class="label">Subject – Uniform title : </span> |
1620 |
<xsl:if test="marc:subfield[@code='a']"> |
1621 |
<xsl:element name="a"> |
1622 |
<xsl:attribute name="href"> |
1623 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='a']"/> |
1624 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='a']"/></xsl:element> |
1625 |
</xsl:if> |
1626 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='b']"> |
1627 |
<xsl:text>. </xsl:text> |
1628 |
<xsl:element name="a"> |
1629 |
<xsl:attribute name="href"> |
1630 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='b'][1]"/> |
1631 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='b'][1]"/></xsl:element> |
1632 |
<xsl:if test="marc:subfield[@code='b'][2]"> |
1633 |
<xsl:text>. </xsl:text> |
1634 |
<xsl:element name="a"> |
1635 |
<xsl:attribute name="href"> |
1636 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='b'][2]"/> |
1637 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='b'][2]"/></xsl:element> |
1638 |
</xsl:if> |
1639 |
|
1640 |
<xsl:if test="marc:subfield[@code='b'][3]"> |
1641 |
<xsl:text>. </xsl:text> |
1642 |
<xsl:element name="a"> |
1643 |
<xsl:attribute name="href"> |
1644 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='b'][3]"/> |
1645 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='b'][3]"/></xsl:element> |
1646 |
</xsl:if> |
1647 |
|
1648 |
</xsl:if> |
1649 |
<xsl:if test="marc:subfield[@code='c']"> |
1650 |
<xsl:text>. </xsl:text> |
1651 |
<xsl:value-of select="marc:subfield[@code='c']"/> |
1652 |
</xsl:if> |
1653 |
|
1654 |
<xsl:choose> |
1655 |
<xsl:when test="(marc:subfield[@code='d']) and (marc:subfield[@code='f']) and (marc:subfield[@code='e'])"> |
1656 |
<xsl:text> ( </xsl:text> |
1657 |
<xsl:value-of select="marc:subfield[@code='d']"/> |
1658 |
<xsl:text> ; </xsl:text> |
1659 |
<xsl:value-of select="marc:subfield[@code='f']"/> |
1660 |
<xsl:text> ; </xsl:text> |
1661 |
<xsl:value-of select="marc:subfield[@code='e']"/> |
1662 |
<xsl:text> ) </xsl:text> |
1663 |
</xsl:when> |
1664 |
<xsl:when test="(marc:subfield[@code='d']) and (marc:subfield[@code='f'])"> |
1665 |
<xsl:text> ( </xsl:text> |
1666 |
</xsl:when> |
1667 |
<xsl:when test="marc:subfield[@code='d']"> |
1668 |
<xsl:text> ( </xsl:text> |
1669 |
<xsl:value-of select="marc:subfield[@code='d']"/> |
1670 |
<xsl:text> ) </xsl:text> |
1671 |
</xsl:when> |
1672 |
</xsl:choose> |
1673 |
|
1674 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='t']"> |
1675 |
<xsl:text> -- </xsl:text> |
1676 |
<xsl:value-of select="marc:subfield[@code='t']"/> |
1677 |
</xsl:if> |
1678 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='x']"> |
1679 |
<xsl:text> -- </xsl:text> |
1680 |
<xsl:element name="a"> |
1681 |
<xsl:attribute name="href"> |
1682 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][1]"/> |
1683 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][1]"/></xsl:element> |
1684 |
<xsl:if test="marc:subfield[@code='x'][2]"> |
1685 |
<xsl:text> -- </xsl:text> |
1686 |
<xsl:element name="a"> |
1687 |
<xsl:attribute name="href"> |
1688 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][2]"/> |
1689 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][2]"/></xsl:element> |
1690 |
</xsl:if> |
1691 |
<xsl:if test="marc:subfield[@code='x'][3]"> |
1692 |
<xsl:text> -- </xsl:text> |
1693 |
<xsl:element name="a"> |
1694 |
<xsl:attribute name="href"> |
1695 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][3]"/> |
1696 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][3]"/></xsl:element></xsl:if> |
1697 |
</xsl:if> |
1698 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='y']"> |
1699 |
<xsl:text> -- </xsl:text> |
1700 |
<xsl:element name="a"> |
1701 |
<xsl:attribute name="href"> |
1702 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='y']"/> |
1703 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='y']"/></xsl:element> |
1704 |
</xsl:if> |
1705 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='z']"> |
1706 |
<xsl:text> -- </xsl:text> |
1707 |
<xsl:element name="a"> |
1708 |
<xsl:attribute name="href"> |
1709 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='z']"/> |
1710 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='z']"/></xsl:element> |
1711 |
</xsl:if> |
1712 |
<xsl:text> | </xsl:text> |
1713 |
<!-- recherche sur tous les mots --> <xsl:element name="a"><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?idx=su&q= |
1714 |
<xsl:choose> |
1715 |
<xsl:when test="contains(marc:subfield[@code='a'],'(')"> |
1716 |
<xsl:value-of select="substring-before(marc:subfield[@code='a'], '(')" /> |
1717 |
<xsl:value-of select="substring-before(substring-after(marc:subfield[@code='a'], '('), ')')" /> |
1718 |
<xsl:value-of select="substring-after(marc:subfield[@code='a'], ')')" /> |
1719 |
</xsl:when> |
1720 |
<xsl:otherwise> |
1721 |
<xsl:value-of select="marc:subfield[@code='a']" /> |
1722 |
</xsl:otherwise> |
1723 |
</xsl:choose> |
1724 |
<xsl:if test="marc:subfield[@code='b'][1]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='b'][1]!=''"><xsl:value-of select="marc:subfield[@code='b'][1]"/></xsl:if> |
1725 |
<xsl:if test="marc:subfield[@code='x'][1]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][1]!=''"><xsl:value-of select="marc:subfield[@code='x'][1]"/></xsl:if> |
1726 |
<xsl:if test="marc:subfield[@code='x'][2]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][2]!=''"><xsl:value-of select="marc:subfield[@code='x'][2]"/></xsl:if> |
1727 |
<xsl:if test="marc:subfield[@code='x'][3]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][3]!=''"><xsl:value-of select="marc:subfield[@code='x'][3]"/></xsl:if> |
1728 |
<xsl:if test="marc:subfield[@code='t']!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='t']!=''"><xsl:value-of select="marc:subfield[@code='t']"/></xsl:if> |
1729 |
<xsl:if test="marc:subfield[@code='y'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='y']!=''"><xsl:value-of select="marc:subfield[@code='y']"/></xsl:if><xsl:if test="marc:subfield[@code='z'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='z']!=''"><xsl:value-of select="marc:subfield[@code='z']"/></xsl:if><xsl:if test="marc:subfield[@code='j'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='j']!=''"><xsl:value-of select="marc:subfield[@code='j']"/></xsl:if></xsl:attribute> <xsl:element name="img"><xsl:attribute name="src">/intranet-tmpl/prog/img/filefind.png</xsl:attribute><xsl:attribute name="title">Lancer une recherche sur tous les mots sujet</xsl:attribute></xsl:element> </xsl:element> |
1730 |
</span> |
1731 |
</xsl:for-each> |
1732 |
|
1733 |
|
1734 |
|
1735 |
|
1736 |
<xsl:for-each select="marc:datafield[@tag=606]"> |
1737 |
<span class="results_summary"> |
1738 |
<span class="label">Subject : </span> |
1739 |
<xsl:if test="marc:subfield[@code='a']"> |
1740 |
<xsl:element name="a"> |
1741 |
<xsl:attribute name="href"> |
1742 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='a']"/> |
1743 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='a']"/></xsl:element> |
1744 |
</xsl:if> |
1745 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='j']"> |
1746 |
<xsl:text> -- </xsl:text> |
1747 |
<xsl:element name="a"> |
1748 |
<xsl:attribute name="href"> |
1749 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='j'][1]"/> |
1750 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='j'][1]"/></xsl:element> |
1751 |
</xsl:if> |
1752 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='x']"> |
1753 |
<xsl:text> -- </xsl:text> |
1754 |
<xsl:element name="a"> |
1755 |
<xsl:attribute name="href"> |
1756 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][1]"/> |
1757 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][1]"/></xsl:element> |
1758 |
<xsl:if test="marc:subfield[@code='x'][2]"> |
1759 |
<xsl:text> -- </xsl:text> |
1760 |
<xsl:element name="a"> |
1761 |
<xsl:attribute name="href"> |
1762 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][2]"/> |
1763 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][2]"/></xsl:element> |
1764 |
</xsl:if> |
1765 |
<xsl:if test="marc:subfield[@code='x'][3]"> |
1766 |
<xsl:text> -- </xsl:text> |
1767 |
<xsl:element name="a"> |
1768 |
<xsl:attribute name="href"> |
1769 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][3]"/> |
1770 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][3]"/></xsl:element> |
1771 |
</xsl:if> |
1772 |
</xsl:if> |
1773 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='y']"> |
1774 |
<xsl:text> -- </xsl:text> |
1775 |
<xsl:element name="a"> |
1776 |
<xsl:attribute name="href"> |
1777 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='y'][1]"/> |
1778 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='y'][1]"/></xsl:element> |
1779 |
<xsl:if test="marc:subfield[@code='y'][2]"> |
1780 |
<xsl:text> -- </xsl:text> |
1781 |
<xsl:element name="a"> |
1782 |
<xsl:attribute name="href"> |
1783 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='y'][2]"/> |
1784 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='y'][2]"/></xsl:element> |
1785 |
</xsl:if> |
1786 |
<xsl:if test="marc:subfield[@code='y'][3]"> |
1787 |
<xsl:text> -- </xsl:text> |
1788 |
<xsl:element name="a"> |
1789 |
<xsl:attribute name="href"> |
1790 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='y'][3]"/> |
1791 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='y'][3]"/></xsl:element> |
1792 |
</xsl:if> |
1793 |
</xsl:if> |
1794 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='z']"> |
1795 |
<xsl:text> -- </xsl:text> |
1796 |
<xsl:element name="a"> |
1797 |
<xsl:attribute name="href"> |
1798 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='z']"/> |
1799 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='z']"/></xsl:element> |
1800 |
</xsl:if> |
1801 |
<xsl:text> | </xsl:text> |
1802 |
<!-- recherche sur tous les mots --> <xsl:element name="a"><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?idx=su&q= |
1803 |
<xsl:choose> |
1804 |
<xsl:when test="contains(marc:subfield[@code='a'],'(')"> |
1805 |
<xsl:value-of select="substring-before(marc:subfield[@code='a'], '(')" /> |
1806 |
<xsl:value-of select="substring-before(substring-after(marc:subfield[@code='a'], '('), ')')" /> |
1807 |
<xsl:value-of select="substring-after(marc:subfield[@code='a'], ')')" /> |
1808 |
</xsl:when> |
1809 |
<xsl:otherwise> |
1810 |
<xsl:value-of select="marc:subfield[@code='a']" /> |
1811 |
</xsl:otherwise> |
1812 |
</xsl:choose> |
1813 |
<xsl:if test="marc:subfield[@code='x'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][1]!=''"><xsl:value-of select="marc:subfield[@code='x'][1]"/></xsl:if> <xsl:if test="marc:subfield[@code='x'][2]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][2]!=''"> <xsl:value-of select="marc:subfield[@code='x'][2]"/> </xsl:if><xsl:if test="marc:subfield[@code='y'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='y']!=''"><xsl:value-of select="marc:subfield[@code='y']"/></xsl:if><xsl:if test="marc:subfield[@code='z'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='z']!=''"><xsl:value-of select="marc:subfield[@code='z']"/></xsl:if><xsl:if test="marc:subfield[@code='j'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='j']!=''"><xsl:value-of select="marc:subfield[@code='j']"/></xsl:if></xsl:attribute> <xsl:element name="img"><xsl:attribute name="src">/intranet-tmpl/prog/img/filefind.png</xsl:attribute><xsl:attribute name="title">Lancer une recherche sur tous les mots sujet</xsl:attribute></xsl:element> </xsl:element> |
1814 |
</span> |
1815 |
</xsl:for-each> |
1816 |
|
1817 |
|
1818 |
<xsl:for-each select="marc:datafield[@tag=607]"> |
1819 |
<span class="results_summary"> |
1820 |
<span class="label">Subject - geographical : </span> |
1821 |
<xsl:if test="marc:subfield[@code='a']"> |
1822 |
<xsl:element name="a"> |
1823 |
<xsl:attribute name="href"> |
1824 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='a']"/> |
1825 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='a']"/></xsl:element> |
1826 |
</xsl:if> |
1827 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='x']"> |
1828 |
<xsl:text> -- </xsl:text> |
1829 |
<xsl:element name="a"> |
1830 |
<xsl:attribute name="href"> |
1831 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][1]"/> |
1832 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][1]"/></xsl:element> |
1833 |
<xsl:if test="marc:subfield[@code='x'][2]"> |
1834 |
<xsl:text> -- </xsl:text> |
1835 |
<xsl:element name="a"> |
1836 |
<xsl:attribute name="href"> |
1837 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][2]"/> |
1838 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][2]"/></xsl:element> |
1839 |
</xsl:if> |
1840 |
<xsl:if test="marc:subfield[@code='x'][3]"> |
1841 |
<xsl:text> -- </xsl:text> |
1842 |
<xsl:element name="a"> |
1843 |
<xsl:attribute name="href"> |
1844 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][3]"/> |
1845 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][3]"/></xsl:element> |
1846 |
</xsl:if> |
1847 |
</xsl:if> |
1848 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='y']"> |
1849 |
<xsl:text> -- </xsl:text> |
1850 |
<xsl:element name="a"> |
1851 |
<xsl:attribute name="href"> |
1852 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='y'][1]"/> |
1853 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='y'][1]"/></xsl:element> |
1854 |
<xsl:if test="marc:subfield[@code='y'][2]"> |
1855 |
<xsl:text> -- </xsl:text> |
1856 |
<xsl:element name="a"> |
1857 |
<xsl:attribute name="href"> |
1858 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='y'][2]"/> |
1859 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='y'][2]"/></xsl:element> |
1860 |
</xsl:if> |
1861 |
<xsl:if test="marc:subfield[@code='y'][3]"> |
1862 |
<xsl:text> -- </xsl:text> |
1863 |
<xsl:element name="a"> |
1864 |
<xsl:attribute name="href"> |
1865 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='y'][3]"/> |
1866 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='y'][3]"/></xsl:element> |
1867 |
</xsl:if> |
1868 |
<xsl:if test="marc:subfield[@code='y'][4]"> |
1869 |
<xsl:text> -- </xsl:text> |
1870 |
<xsl:element name="a"> |
1871 |
<xsl:attribute name="href"> |
1872 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='y'][4]"/> |
1873 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='y'][4]"/></xsl:element> |
1874 |
</xsl:if> |
1875 |
<xsl:if test="marc:subfield[@code='y'][5]"> |
1876 |
<xsl:text> -- </xsl:text> |
1877 |
<xsl:element name="a"> |
1878 |
<xsl:attribute name="href"> |
1879 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='y'][5]"/> |
1880 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='y'][5]"/></xsl:element> |
1881 |
</xsl:if> |
1882 |
<xsl:if test="marc:subfield[@code='y'][6]"> |
1883 |
<xsl:text> -- </xsl:text> |
1884 |
<xsl:element name="a"> |
1885 |
<xsl:attribute name="href"> |
1886 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='y'][6]"/> |
1887 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='y'][6]"/></xsl:element> |
1888 |
</xsl:if> |
1889 |
</xsl:if> |
1890 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='z']"> |
1891 |
<xsl:text> -- </xsl:text> |
1892 |
<xsl:element name="a"> |
1893 |
<xsl:attribute name="href"> |
1894 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='z']"/> |
1895 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='z']"/></xsl:element> |
1896 |
</xsl:if> |
1897 |
<xsl:text> | </xsl:text> |
1898 |
<!-- recherche sur tous les mots --> <xsl:element name="a"><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?idx=su&q= |
1899 |
<xsl:choose> |
1900 |
<xsl:when test="contains(marc:subfield[@code='a'],'(')"> |
1901 |
<xsl:value-of select="substring-before(marc:subfield[@code='a'], '(')" /> |
1902 |
<xsl:value-of select="substring-before(substring-after(marc:subfield[@code='a'], '('), ')')" /> |
1903 |
<xsl:value-of select="substring-after(marc:subfield[@code='a'], ')')" /> |
1904 |
</xsl:when> |
1905 |
<xsl:otherwise> |
1906 |
<xsl:value-of select="marc:subfield[@code='a']" /> |
1907 |
</xsl:otherwise> |
1908 |
</xsl:choose> |
1909 |
<xsl:if test="marc:subfield[@code='x'][1]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][1]!=''"><xsl:value-of select="marc:subfield[@code='x'][1]"/></xsl:if> |
1910 |
<xsl:if test="marc:subfield[@code='x'][2]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][2]!=''"><xsl:value-of select="marc:subfield[@code='x'][2]"/></xsl:if> |
1911 |
<xsl:if test="marc:subfield[@code='x'][3]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][3]!=''"><xsl:value-of select="marc:subfield[@code='x'][3]"/></xsl:if> |
1912 |
<xsl:if test="marc:subfield[@code='y'][1] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='y'][1] !=''"><xsl:value-of select="marc:subfield[@code='y'][1]"/></xsl:if> |
1913 |
<xsl:if test="marc:subfield[@code='y'][2] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='y'][2] !=''"><xsl:value-of select="marc:subfield[@code='y'][2]"/></xsl:if> |
1914 |
<xsl:if test="marc:subfield[@code='y'][3] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='y'][3] !=''"><xsl:value-of select="marc:subfield[@code='y'][3]"/></xsl:if> |
1915 |
<xsl:if test="marc:subfield[@code='z'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='z']!=''"><xsl:value-of select="marc:subfield[@code='z']"/></xsl:if><xsl:if test="marc:subfield[@code='j'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='j']!=''"><xsl:value-of select="marc:subfield[@code='j']"/></xsl:if></xsl:attribute> <xsl:element name="img"><xsl:attribute name="src">/intranet-tmpl/prog/img/filefind.png</xsl:attribute><xsl:attribute name="title">Lancer une recherche sur tous les mots sujet</xsl:attribute></xsl:element> </xsl:element> |
1916 |
</span> |
1917 |
</xsl:for-each> |
1918 |
|
1919 |
|
1920 |
<xsl:for-each select="marc:datafield[@tag=608]"> |
1921 |
<span class="results_summary"> |
1922 |
<span class="label">Subject - Form, physical types : </span> |
1923 |
<xsl:if test="marc:subfield[@code='a']"> |
1924 |
<xsl:element name="a"> |
1925 |
<xsl:attribute name="href"> |
1926 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='a']"/> |
1927 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='a']"/></xsl:element> |
1928 |
</xsl:if> |
1929 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='b']"> |
1930 |
<xsl:text>. </xsl:text> |
1931 |
<xsl:element name="a"> |
1932 |
<xsl:attribute name="href"> |
1933 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='b'][1]"/> |
1934 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='b'][1]"/></xsl:element> |
1935 |
<xsl:if test="marc:subfield[@code='b'][2]"> |
1936 |
<xsl:text>. </xsl:text> |
1937 |
<xsl:element name="a"> |
1938 |
<xsl:attribute name="href"> |
1939 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='b'][2]"/> |
1940 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='b'][2]"/></xsl:element> |
1941 |
</xsl:if> |
1942 |
|
1943 |
<xsl:if test="marc:subfield[@code='b'][3]"> |
1944 |
<xsl:text>. </xsl:text> |
1945 |
<xsl:element name="a"> |
1946 |
<xsl:attribute name="href"> |
1947 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='b'][3]"/> |
1948 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='b'][3]"/></xsl:element> |
1949 |
</xsl:if> |
1950 |
|
1951 |
</xsl:if> |
1952 |
<xsl:if test="marc:subfield[@code='c']"> |
1953 |
<xsl:text>. </xsl:text> |
1954 |
<xsl:value-of select="marc:subfield[@code='c']"/> |
1955 |
</xsl:if> |
1956 |
|
1957 |
<xsl:choose> |
1958 |
<xsl:when test="(marc:subfield[@code='d']) and (marc:subfield[@code='f']) and (marc:subfield[@code='e'])"> |
1959 |
<xsl:text> ( </xsl:text> |
1960 |
<xsl:value-of select="marc:subfield[@code='d']"/> |
1961 |
<xsl:text> ; </xsl:text> |
1962 |
<xsl:value-of select="marc:subfield[@code='f']"/> |
1963 |
<xsl:text> ; </xsl:text> |
1964 |
<xsl:value-of select="marc:subfield[@code='e']"/> |
1965 |
<xsl:text> ) </xsl:text> |
1966 |
</xsl:when> |
1967 |
<xsl:when test="(marc:subfield[@code='d']) and (marc:subfield[@code='f'])"> |
1968 |
<xsl:text> ( </xsl:text> |
1969 |
</xsl:when> |
1970 |
<xsl:when test="marc:subfield[@code='d']"> |
1971 |
<xsl:text> ( </xsl:text> |
1972 |
<xsl:value-of select="marc:subfield[@code='d']"/> |
1973 |
<xsl:text> ) </xsl:text> |
1974 |
</xsl:when> |
1975 |
</xsl:choose> |
1976 |
|
1977 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='t']"> |
1978 |
<xsl:text> -- </xsl:text> |
1979 |
<xsl:value-of select="marc:subfield[@code='t']"/> |
1980 |
</xsl:if> |
1981 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='x']"> |
1982 |
<xsl:text> -- </xsl:text> |
1983 |
<xsl:element name="a"> |
1984 |
<xsl:attribute name="href"> |
1985 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][1]"/> |
1986 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][1]"/></xsl:element> |
1987 |
<xsl:if test="marc:subfield[@code='x'][2]"> |
1988 |
<xsl:text> -- </xsl:text> |
1989 |
<xsl:element name="a"> |
1990 |
<xsl:attribute name="href"> |
1991 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][2]"/> |
1992 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][2]"/></xsl:element> |
1993 |
</xsl:if> |
1994 |
<xsl:if test="marc:subfield[@code='x'][3]"> |
1995 |
<xsl:text> -- </xsl:text> |
1996 |
<xsl:element name="a"> |
1997 |
<xsl:attribute name="href"> |
1998 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='x'][3]"/> |
1999 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='x'][3]"/></xsl:element></xsl:if> |
2000 |
</xsl:if> |
2001 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='y']"> |
2002 |
<xsl:text> -- </xsl:text> |
2003 |
<xsl:element name="a"> |
2004 |
<xsl:attribute name="href"> |
2005 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='y']"/> |
2006 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='y']"/></xsl:element> |
2007 |
</xsl:if> |
2008 |
<xsl:if test="marc:subfield[@code='a'] and marc:subfield[@code='z']"> |
2009 |
<xsl:text> -- </xsl:text> |
2010 |
<xsl:element name="a"> |
2011 |
<xsl:attribute name="href"> |
2012 |
/cgi-bin/koha/opac-search.pl?idx=su,phr&q=<xsl:value-of select="marc:subfield[@code='z']"/> |
2013 |
</xsl:attribute><xsl:value-of select="marc:subfield[@code='z']"/></xsl:element> |
2014 |
</xsl:if> |
2015 |
<xsl:text> | </xsl:text> |
2016 |
<!-- recherche sur tous les mots --> <xsl:element name="a"><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?idx=su&q= |
2017 |
<xsl:choose> |
2018 |
<xsl:when test="contains(marc:subfield[@code='a'],'(')"> |
2019 |
<xsl:value-of select="substring-before(marc:subfield[@code='a'], '(')" /> |
2020 |
<xsl:value-of select="substring-before(substring-after(marc:subfield[@code='a'], '('), ')')" /> |
2021 |
<xsl:value-of select="substring-after(marc:subfield[@code='a'], ')')" /> |
2022 |
</xsl:when> |
2023 |
<xsl:otherwise> |
2024 |
<xsl:value-of select="marc:subfield[@code='a']" /> |
2025 |
</xsl:otherwise> |
2026 |
</xsl:choose> |
2027 |
<xsl:if test="marc:subfield[@code='b'][1]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='b'][1]!=''"><xsl:value-of select="marc:subfield[@code='b'][1]"/></xsl:if> |
2028 |
<xsl:if test="marc:subfield[@code='x'][1]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][1]!=''"><xsl:value-of select="marc:subfield[@code='x'][1]"/></xsl:if> |
2029 |
<xsl:if test="marc:subfield[@code='x'][2]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][2]!=''"><xsl:value-of select="marc:subfield[@code='x'][2]"/></xsl:if> |
2030 |
<xsl:if test="marc:subfield[@code='x'][3]!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='x'][3]!=''"><xsl:value-of select="marc:subfield[@code='x'][3]"/></xsl:if> |
2031 |
<xsl:if test="marc:subfield[@code='t']!=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='t']!=''"><xsl:value-of select="marc:subfield[@code='t']"/></xsl:if> |
2032 |
<xsl:if test="marc:subfield[@code='y'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='y']!=''"><xsl:value-of select="marc:subfield[@code='y']"/></xsl:if><xsl:if test="marc:subfield[@code='z'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='z']!=''"><xsl:value-of select="marc:subfield[@code='z']"/></xsl:if><xsl:if test="marc:subfield[@code='j'] !=''"><xsl:text>+</xsl:text></xsl:if> <xsl:if test="marc:subfield[@code='j']!=''"><xsl:value-of select="marc:subfield[@code='j']"/></xsl:if></xsl:attribute> <xsl:element name="img"><xsl:attribute name="src">/intranet-tmpl/prog/img/filefind.png</xsl:attribute><xsl:attribute name="title">Lancer une recherche sur tous les mots sujet</xsl:attribute></xsl:element> </xsl:element> |
2033 |
</span> |
2034 |
</xsl:for-each> |
2035 |
|
2036 |
|
2037 |
<xsl:call-template name="tag_subject"> |
2038 |
<xsl:with-param name="tag">615</xsl:with-param> |
2039 |
<xsl:with-param name="label">Category of subject</xsl:with-param> |
2040 |
</xsl:call-template> |
2041 |
|
2042 |
<xsl:call-template name="tag_subject"> |
2043 |
<xsl:with-param name="tag">616</xsl:with-param> |
2044 |
<xsl:with-param name="label">Trademark</xsl:with-param> |
2045 |
</xsl:call-template> |
2046 |
|
2047 |
|
2048 |
<xsl:if test="marc:datafield[@tag=856]/marc:subfield[@code='u']"> |
2049 |
<span class="results_summary"> |
2050 |
<span class="label">Online resource : </span> |
2051 |
<xsl:for-each select="marc:datafield[@tag=856]"> |
2052 |
<xsl:variable name="url" select="substring-before(marc:subfield[@code='u'], '//')"/> |
2053 |
<xsl:if test="contains($url,'http:')"> |
2054 |
<a> |
2055 |
<xsl:attribute name="href"> |
2056 |
<xsl:value-of select="marc:subfield[@code='u']"/> |
2057 |
</xsl:attribute> |
2058 |
<xsl:choose> |
2059 |
<xsl:when test="marc:subfield[@code='y' or @code='3' or @code='z']"> |
2060 |
<xsl:call-template name="subfieldSelect"> |
2061 |
<xsl:with-param name="codes">y3z</xsl:with-param> |
2062 |
</xsl:call-template> |
2063 |
</xsl:when> |
2064 |
<xsl:when test="not(marc:subfield[@code='y']) and not(marc:subfield[@code='3']) and not(marc:subfield[@code='z'])"> |
2065 |
Cliquer ici |
2066 |
</xsl:when> |
2067 |
</xsl:choose> |
2068 |
</a> |
2069 |
</xsl:if> |
2070 |
<xsl:if test="not(contains($url,'http:'))"> |
2071 |
<a> |
2072 |
<xsl:attribute name="href"> |
2073 |
http://<xsl:value-of select="marc:subfield[@code='u']"/> |
2074 |
</xsl:attribute> |
2075 |
<xsl:choose> |
2076 |
<xsl:when test="marc:subfield[@code='y' or @code='3' or @code='z']"> |
2077 |
<xsl:call-template name="subfieldSelect"> |
2078 |
<xsl:with-param name="codes">y3z</xsl:with-param> |
2079 |
</xsl:call-template> |
2080 |
</xsl:when> |
2081 |
<xsl:when test="not(marc:subfield[@code='y']) and not(marc:subfield[@code='3']) and not(marc:subfield[@code='z'])"> |
2082 |
Cliquer ici |
2083 |
</xsl:when> |
2084 |
</xsl:choose> |
2085 |
</a> |
2086 |
</xsl:if> |
2087 |
<xsl:choose> |
2088 |
<xsl:when test="position()=last()"/> |
2089 |
<xsl:otherwise> | </xsl:otherwise> |
2090 |
</xsl:choose> |
2091 |
</xsl:for-each> |
2092 |
</span> |
2093 |
</xsl:if> |
2094 |
|
2095 |
<!-- |
2096 |
<xsl:if test="marc:datafield[@tag=901]"> |
2097 |
|
2098 |
<span class="results_summary"> |
2099 |
<span class="label">Type:</span> |
2100 |
<xsl:for-each select="marc:datafield[@tag=901]"> |
2101 |
<xsl:for-each select="marc:subfield"> |
2102 |
<xsl:value-of select="text()"/> |
2103 |
<xsl:choose> |
2104 |
<xsl:when test="position()=last()"> |
2105 |
<xsl:text>.</xsl:text> |
2106 |
</xsl:when> |
2107 |
<xsl:otherwise><xsl:text>, </xsl:text> |
2108 |
</xsl:otherwise> |
2109 |
</xsl:choose> |
2110 |
</xsl:for-each> |
2111 |
</xsl:for-each> |
2112 |
</span> |
2113 |
</xsl:if> |
2114 |
--> |
2115 |
|
2116 |
<!-- 780 --> |
2117 |
<xsl:if test="marc:datafield[@tag=780]"> |
2118 |
<xsl:for-each select="marc:datafield[@tag=780]"> |
2119 |
<li> |
2120 |
<xsl:choose> |
2121 |
<xsl:when test="@ind2=0"> |
2122 |
<strong>Continue : </strong> |
2123 |
</xsl:when> |
2124 |
<xsl:when test="@ind2=1"> |
2125 |
<strong>Continue in part : </strong> |
2126 |
</xsl:when> |
2127 |
<xsl:when test="@ind2=2"> |
2128 |
<strong>Replace : </strong> |
2129 |
</xsl:when> |
2130 |
<xsl:when test="@ind2=3"> |
2131 |
<strong>Replace in part : </strong> |
2132 |
</xsl:when> |
2133 |
<xsl:when test="@ind2=4"> |
2134 |
<strong>Merged ... and: ...</strong> |
2135 |
</xsl:when> |
2136 |
<xsl:when test="@ind2=5"> |
2137 |
<strong>Absorbed : </strong> |
2138 |
</xsl:when> |
2139 |
<xsl:when test="@ind2=6"> |
2140 |
<strong>Absorbed in part :</strong> |
2141 |
</xsl:when> |
2142 |
<xsl:when test="@ind2=7"> |
2143 |
<strong>Separed :</strong> |
2144 |
</xsl:when> |
2145 |
</xsl:choose> |
2146 |
|
2147 |
<xsl:variable name="f780"> |
2148 |
<xsl:call-template name="subfieldSelect"> |
2149 |
<xsl:with-param name="codes">à</xsl:with-param> |
2150 |
</xsl:call-template> |
2151 |
</xsl:variable> |
2152 |
<a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=<xsl:value-of select="translate($f780, '()', '')"/></xsl:attribute> |
2153 |
<xsl:value-of select="translate($f780, '()', '')"/> |
2154 |
</a> |
2155 |
</li> |
2156 |
|
2157 |
<xsl:choose> |
2158 |
<xsl:when test="@ind1=0"> |
2159 |
<li><xsl:value-of select="marc:subfield[@code='n']"/></li> |
2160 |
</xsl:when> |
2161 |
</xsl:choose> |
2162 |
|
2163 |
</xsl:for-each> |
2164 |
</xsl:if> |
2165 |
|
2166 |
<!-- 785 --> |
2167 |
<xsl:if test="marc:datafield[@tag=785]"> |
2168 |
<xsl:for-each select="marc:datafield[@tag=785]"> |
2169 |
<li> |
2170 |
<xsl:choose> |
2171 |
<xsl:when test="@ind2=0"> |
2172 |
<strong>Continue by :</strong> |
2173 |
</xsl:when> |
2174 |
<xsl:when test="@ind2=1"> |
2175 |
<strong>Continue in part :</strong> |
2176 |
</xsl:when> |
2177 |
<xsl:when test="@ind2=2"> |
2178 |
<strong>Replace by :</strong> |
2179 |
</xsl:when> |
2180 |
<xsl:when test="@ind2=3"> |
2181 |
<strong>Replace by :</strong> |
2182 |
</xsl:when> |
2183 |
<xsl:when test="@ind2=4"> |
2184 |
<strong>Absorbed by :</strong> |
2185 |
</xsl:when> |
2186 |
<xsl:when test="@ind2=5"> |
2187 |
<strong>Absorbé partiellement par:</strong> |
2188 |
</xsl:when> |
2189 |
<xsl:when test="@ind2=6"> |
2190 |
<strong>Explode of ... at ... :</strong> |
2191 |
</xsl:when> |
2192 |
<xsl:when test="@ind2=7"> |
2193 |
<strong>Merged with ... to train ...</strong> |
2194 |
</xsl:when> |
2195 |
<xsl:when test="@ind2=8"> |
2196 |
<strong>Redevient:</strong> |
2197 |
</xsl:when> |
2198 |
</xsl:choose> |
2199 |
<xsl:variable name="f785"> |
2200 |
<xsl:call-template name="subfieldSelect"> |
2201 |
<xsl:with-param name="codes">à</xsl:with-param> |
2202 |
</xsl:call-template> |
2203 |
</xsl:variable> |
2204 |
|
2205 |
<a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=<xsl:value-of select="translate($f785, '()', '')"/></xsl:attribute> |
2206 |
<xsl:value-of select="translate($f785, '()', '')"/> |
2207 |
</a> |
2208 |
|
2209 |
</li> |
2210 |
</xsl:for-each> |
2211 |
</xsl:if> |
2212 |
|
2213 |
<xsl:if test="marc:datafield[@tag=033]/marc:subfield[@code='a']"> |
2214 |
<span class="results_summary"> |
2215 |
<span class="label">Other System Persistent Identifier : </span> |
2216 |
<xsl:for-each select="marc:datafield[@tag=033]"> |
2217 |
<xsl:variable name="url" select="substring-before(marc:subfield[@code='a'], '//')"/> |
2218 |
<xsl:if test="contains($url,'http:')"> |
2219 |
<a> |
2220 |
<xsl:attribute name="href"> |
2221 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
2222 |
</xsl:attribute> |
2223 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
2224 |
</a> |
2225 |
</xsl:if> |
2226 |
<xsl:choose> |
2227 |
<xsl:when test="position()=last()"/> |
2228 |
<xsl:otherwise> | </xsl:otherwise> |
2229 |
</xsl:choose> |
2230 |
</xsl:for-each> |
2231 |
</span> |
2232 |
</xsl:if> |
2233 |
|
2234 |
</xsl:template> |
2235 |
|
2236 |
<xsl:template name="nameABCDQ"> |
2237 |
<xsl:call-template name="chopPunctuation"> |
2238 |
<xsl:with-param name="chopString"> |
2239 |
<xsl:call-template name="subfieldSelect"> |
2240 |
<xsl:with-param name="codes">aq</xsl:with-param> |
2241 |
</xsl:call-template> |
2242 |
</xsl:with-param> |
2243 |
<xsl:with-param name="punctuation"> |
2244 |
<xsl:text>:,;/ </xsl:text> |
2245 |
</xsl:with-param> |
2246 |
</xsl:call-template> |
2247 |
<xsl:call-template name="termsOfAddress"/> |
2248 |
</xsl:template> |
2249 |
|
2250 |
<xsl:template name="nameABCDN"> |
2251 |
<xsl:for-each select="marc:subfield[@code='a']"> |
2252 |
<xsl:call-template name="chopPunctuation"> |
2253 |
<xsl:with-param name="chopString" select="."/> |
2254 |
</xsl:call-template> |
2255 |
</xsl:for-each> |
2256 |
<xsl:for-each select="marc:subfield[@code='b']"> |
2257 |
<xsl:value-of select="."/> |
2258 |
</xsl:for-each> |
2259 |
<xsl:if test="marc:subfield[@code='c'] or marc:subfield[@code='d'] or marc:subfield[@code='n']"> |
2260 |
<xsl:call-template name="subfieldSelect"> |
2261 |
<xsl:with-param name="codes">cdn</xsl:with-param> |
2262 |
</xsl:call-template> |
2263 |
</xsl:if> |
2264 |
</xsl:template> |
2265 |
|
2266 |
<xsl:template name="nameACDEQ"> |
2267 |
<xsl:call-template name="subfieldSelect"> |
2268 |
<xsl:with-param name="codes">acdeq</xsl:with-param> |
2269 |
</xsl:call-template> |
2270 |
</xsl:template> |
2271 |
<xsl:template name="termsOfAddress"> |
2272 |
<xsl:if test="marc:subfield[@code='b' or @code='c']"> |
2273 |
<xsl:call-template name="chopPunctuation"> |
2274 |
<xsl:with-param name="chopString"> |
2275 |
<xsl:call-template name="subfieldSelect"> |
2276 |
<xsl:with-param name="codes">bc</xsl:with-param> |
2277 |
</xsl:call-template> |
2278 |
</xsl:with-param> |
2279 |
</xsl:call-template> |
2280 |
</xsl:if> |
2281 |
</xsl:template> |
2282 |
|
2283 |
<xsl:template name="part"> |
2284 |
<xsl:variable name="partNumber"> |
2285 |
<xsl:call-template name="specialSubfieldSelect"> |
2286 |
<xsl:with-param name="axis">n</xsl:with-param> |
2287 |
<xsl:with-param name="anyCodes">n</xsl:with-param> |
2288 |
<xsl:with-param name="afterCodes">fghkdlmor</xsl:with-param> |
2289 |
</xsl:call-template> |
2290 |
</xsl:variable> |
2291 |
<xsl:variable name="partName"> |
2292 |
<xsl:call-template name="specialSubfieldSelect"> |
2293 |
<xsl:with-param name="axis">p</xsl:with-param> |
2294 |
<xsl:with-param name="anyCodes">p</xsl:with-param> |
2295 |
<xsl:with-param name="afterCodes">fghkdlmor</xsl:with-param> |
2296 |
</xsl:call-template> |
2297 |
</xsl:variable> |
2298 |
<xsl:if test="string-length(normalize-space($partNumber))"> |
2299 |
<xsl:call-template name="chopPunctuation"> |
2300 |
<xsl:with-param name="chopString" select="$partNumber"/> |
2301 |
</xsl:call-template> |
2302 |
</xsl:if> |
2303 |
<xsl:if test="string-length(normalize-space($partName))"> |
2304 |
<xsl:call-template name="chopPunctuation"> |
2305 |
<xsl:with-param name="chopString" select="$partName"/> |
2306 |
</xsl:call-template> |
2307 |
</xsl:if> |
2308 |
</xsl:template> |
2309 |
|
2310 |
<xsl:template name="specialSubfieldSelect"> |
2311 |
<xsl:param name="anyCodes"/> |
2312 |
<xsl:param name="axis"/> |
2313 |
<xsl:param name="beforeCodes"/> |
2314 |
<xsl:param name="afterCodes"/> |
2315 |
<xsl:variable name="str"> |
2316 |
<xsl:for-each select="marc:subfield"> |
2317 |
<xsl:if test="contains($anyCodes, @code) or (contains($beforeCodes,@code) and following-sibling::marc:subfield[@code=$axis]) or (contains($afterCodes,@code) and preceding-sibling::marc:subfield[@code=$axis])"> |
2318 |
<xsl:value-of select="text()"/> |
2319 |
<xsl:text> </xsl:text> |
2320 |
</xsl:if> |
2321 |
</xsl:for-each> |
2322 |
</xsl:variable> |
2323 |
<xsl:value-of select="substring($str,1,string-length($str)-1)"/> |
2324 |
</xsl:template> |
2325 |
|
2326 |
</xsl:stylesheet> |