Lines 70-75
Link Here
|
70 |
<xsl:when test="$leader6='c' or $leader6='d'">PR</xsl:when> |
70 |
<xsl:when test="$leader6='c' or $leader6='d'">PR</xsl:when> |
71 |
</xsl:choose> |
71 |
</xsl:choose> |
72 |
</xsl:variable> |
72 |
</xsl:variable> |
|
|
73 |
|
74 |
<xsl:variable name="controlField008-23" select="substring($controlField008,24,1)"/> |
75 |
<xsl:variable name="controlField008-21" select="substring($controlField008,22,1)"/> |
76 |
<xsl:variable name="controlField008-22" select="substring($controlField008,23,1)"/> |
77 |
<xsl:variable name="controlField008-24" select="substring($controlField008,25,4)"/> |
78 |
<xsl:variable name="controlField008-26" select="substring($controlField008,27,1)"/> |
79 |
<xsl:variable name="controlField008-29" select="substring($controlField008,30,1)"/> |
80 |
<xsl:variable name="controlField008-34" select="substring($controlField008,35,1)"/> |
81 |
<xsl:variable name="controlField008-33" select="substring($controlField008,34,1)"/> |
82 |
<xsl:variable name="controlField008-30-31" select="substring($controlField008,31,2)"/> |
83 |
|
84 |
<xsl:variable name="physicalDescription"> |
85 |
<xsl:if test="$materialTypeCode='CF' and marc:controlfield[@tag=007][substring(.,12,1)='a']"> |
86 |
reformatted digital |
87 |
</xsl:if> |
88 |
<xsl:if test="$materialTypeCode='CF' and marc:controlfield[@tag=007][substring(.,12,1)='b']"> |
89 |
digitized microfilm |
90 |
</xsl:if> |
91 |
<xsl:if test="$materialTypeCode='CF' and marc:controlfield[@tag=007][substring(.,12,1)='d']"> |
92 |
digitized other analog |
93 |
</xsl:if> |
94 |
|
95 |
<xsl:variable name="check008-23"> |
96 |
<xsl:if test="$materialTypeCode='BK' or $materialTypeCode='MU' or $materialTypeCode='CR' or $materialTypeCode='MX'"> |
97 |
<xsl:value-of select="true()"></xsl:value-of> |
98 |
</xsl:if> |
99 |
</xsl:variable> |
100 |
<xsl:variable name="check008-29"> |
101 |
<xsl:if test="$materialTypeCode='MP' or $materialTypeCode='VM'"> |
102 |
<xsl:value-of select="true()"></xsl:value-of> |
103 |
</xsl:if> |
104 |
</xsl:variable> |
105 |
<xsl:choose> |
106 |
<xsl:when test="($check008-23 and $controlField008-23='f') or ($check008-29 and $controlField008-29='f')"> |
107 |
braille |
108 |
</xsl:when> |
109 |
<xsl:when test="($controlField008-23=' ' and ($leader6='c' or $leader6='d')) or (($materialTypeCode='BK' or $materialTypeCode='CR') and ($controlField008-23=' ' or $controlField008='r'))"> |
110 |
print |
111 |
</xsl:when> |
112 |
<xsl:when test="$leader6 = 'm' or ($check008-23 and $controlField008-23='s') or ($check008-29 and $controlField008-29='s')"> |
113 |
electronic |
114 |
</xsl:when> |
115 |
<xsl:when test="($check008-23 and $controlField008-23='b') or ($check008-29 and $controlField008-29='b')"> |
116 |
microfiche |
117 |
</xsl:when> |
118 |
<xsl:when test="($check008-23 and $controlField008-23='a') or ($check008-29 and $controlField008-29='a')"> |
119 |
microfilm |
120 |
</xsl:when> |
121 |
<xsl:when test="($controlField008-23='d' and ($materialTypeCode='BK' or $materialTypeCode='CR'))"> |
122 |
large print |
123 |
</xsl:when> |
124 |
</xsl:choose> |
125 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='c'][substring(text(),2,1)='b']"> |
126 |
chip cartridge |
127 |
</xsl:if> |
128 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='c'][substring(text(),2,1)='c']"> |
129 |
<img src="/opac-tmpl/lib/famfamfam/cd.png" alt="computer optical disc cartridge" class="format"/> |
130 |
</xsl:if> |
131 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='c'][substring(text(),2,1)='j']"> |
132 |
magnetic disc |
133 |
</xsl:if> |
134 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='c'][substring(text(),2,1)='m']"> |
135 |
magneto-optical disc |
136 |
</xsl:if> |
137 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='c'][substring(text(),2,1)='o']"> |
138 |
<img src="/opac-tmpl/lib/famfamfam/cd.png" alt="optical disc" class="format"/> |
139 |
</xsl:if> |
140 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='c'][substring(text(),2,1)='r']"> |
141 |
available online |
142 |
<img src="/opac-tmpl/lib/famfamfam/drive_web.png" alt="remote" class="format"/> |
143 |
</xsl:if> |
144 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='c'][substring(text(),2,1)='a']"> |
145 |
tape cartridge |
146 |
</xsl:if> |
147 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='c'][substring(text(),2,1)='f']"> |
148 |
tape cassette |
149 |
</xsl:if> |
150 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='c'][substring(text(),2,1)='h']"> |
151 |
tape reel |
152 |
</xsl:if> |
153 |
|
154 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='d'][substring(text(),2,1)='a']"> |
155 |
<img src="/opac-tmpl/lib/famfamfam/world.png" alt="celestial globe" class="format"/> |
156 |
</xsl:if> |
157 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='d'][substring(text(),2,1)='e']"> |
158 |
<img src="/opac-tmpl/lib/famfamfam/world.png" alt="earth moon globe" class="format"/> |
159 |
</xsl:if> |
160 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='d'][substring(text(),2,1)='b']"> |
161 |
<img src="/opac-tmpl/lib/famfamfam/world.png" alt="planetary or lunar globe" class="format"/> |
162 |
</xsl:if> |
163 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='d'][substring(text(),2,1)='c']"> |
164 |
<img src="/opac-tmpl/lib/famfamfam/world.png" alt="terrestrial globe" class="format"/> |
165 |
</xsl:if> |
166 |
|
167 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='o'][substring(text(),2,1)='o']"> |
168 |
kit |
169 |
</xsl:if> |
170 |
|
171 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='a'][substring(text(),2,1)='d']"> |
172 |
atlas |
173 |
</xsl:if> |
174 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='a'][substring(text(),2,1)='g']"> |
175 |
diagram |
176 |
</xsl:if> |
177 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='a'][substring(text(),2,1)='j']"> |
178 |
map |
179 |
</xsl:if> |
180 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='a'][substring(text(),2,1)='q']"> |
181 |
model |
182 |
</xsl:if> |
183 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='a'][substring(text(),2,1)='k']"> |
184 |
profile |
185 |
</xsl:if> |
186 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='a'][substring(text(),2,1)='r']"> |
187 |
remote-sensing image |
188 |
</xsl:if> |
189 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='a'][substring(text(),2,1)='s']"> |
190 |
section |
191 |
</xsl:if> |
192 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='a'][substring(text(),2,1)='y']"> |
193 |
view |
194 |
</xsl:if> |
195 |
|
196 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='h'][substring(text(),2,1)='a']"> |
197 |
aperture card |
198 |
</xsl:if> |
199 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='h'][substring(text(),2,1)='e']"> |
200 |
microfiche |
201 |
</xsl:if> |
202 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='h'][substring(text(),2,1)='f']"> |
203 |
microfiche cassette |
204 |
</xsl:if> |
205 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='h'][substring(text(),2,1)='b']"> |
206 |
microfilm cartridge |
207 |
</xsl:if> |
208 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='h'][substring(text(),2,1)='c']"> |
209 |
microfilm cassette |
210 |
</xsl:if> |
211 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='h'][substring(text(),2,1)='d']"> |
212 |
microfilm reel |
213 |
</xsl:if> |
214 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='h'][substring(text(),2,1)='g']"> |
215 |
microopaque |
216 |
</xsl:if> |
217 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='m'][substring(text(),2,1)='c']"> |
218 |
film cartridge |
219 |
</xsl:if> |
220 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='m'][substring(text(),2,1)='f']"> |
221 |
film cassette |
222 |
</xsl:if> |
223 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='m'][substring(text(),2,1)='r']"> |
224 |
film reel |
225 |
</xsl:if> |
226 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='k'][substring(text(),2,1)='n']"> |
227 |
<img src="/opac-tmpl/lib/famfamfam/chart_curve.png" alt="chart" class="format"/> |
228 |
</xsl:if> |
229 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='k'][substring(text(),2,1)='c']"> |
230 |
collage |
231 |
</xsl:if> |
232 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='k'][substring(text(),2,1)='d']"> |
233 |
<img src="/opac-tmpl/lib/famfamfam/pencil.png" alt="drawing" class="format"/> |
234 |
</xsl:if> |
235 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='k'][substring(text(),2,1)='o']"> |
236 |
<img src="/opac-tmpl/lib/famfamfam/note.png" alt="flash card" class="format"/> |
237 |
</xsl:if> |
238 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='k'][substring(text(),2,1)='e']"> |
239 |
<img src="/opac-tmpl/lib/famfamfam/paintbrush.png" alt="painting" class="format"/> |
240 |
</xsl:if> |
241 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='k'][substring(text(),2,1)='f']"> |
242 |
photomechanical print |
243 |
</xsl:if> |
244 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='k'][substring(text(),2,1)='g']"> |
245 |
photonegative |
246 |
</xsl:if> |
247 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='k'][substring(text(),2,1)='h']"> |
248 |
photoprint |
249 |
</xsl:if> |
250 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='k'][substring(text(),2,1)='i']"> |
251 |
<img src="/opac-tmpl/lib/famfamfam/picture.png" alt="picture" class="format"/> |
252 |
</xsl:if> |
253 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='k'][substring(text(),2,1)='j']"> |
254 |
print |
255 |
</xsl:if> |
256 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='k'][substring(text(),2,1)='l']"> |
257 |
technical drawing |
258 |
</xsl:if> |
259 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='q'][substring(text(),2,1)='q']"> |
260 |
<img src="/opac-tmpl/lib/famfamfam/script.png" alt="notated music" class="format"/> |
261 |
</xsl:if> |
262 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='g'][substring(text(),2,1)='d']"> |
263 |
filmslip |
264 |
</xsl:if> |
265 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='g'][substring(text(),2,1)='c']"> |
266 |
filmstrip cartridge |
267 |
</xsl:if> |
268 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='g'][substring(text(),2,1)='o']"> |
269 |
filmstrip roll |
270 |
</xsl:if> |
271 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='g'][substring(text(),2,1)='f']"> |
272 |
other filmstrip type |
273 |
</xsl:if> |
274 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='g'][substring(text(),2,1)='s']"> |
275 |
<img src="/opac-tmpl/lib/famfamfam/pictures.png" alt="slide" class="format"/> |
276 |
</xsl:if> |
277 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='g'][substring(text(),2,1)='t']"> |
278 |
transparency |
279 |
</xsl:if> |
280 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='r'][substring(text(),2,1)='r']"> |
281 |
remote-sensing image |
282 |
</xsl:if> |
283 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='s'][substring(text(),2,1)='e']"> |
284 |
cylinder |
285 |
</xsl:if> |
286 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='s'][substring(text(),2,1)='q']"> |
287 |
roll |
288 |
</xsl:if> |
289 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='s'][substring(text(),2,1)='g']"> |
290 |
sound cartridge |
291 |
</xsl:if> |
292 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='s'][substring(text(),2,1)='s']"> |
293 |
sound cassette |
294 |
</xsl:if> |
295 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='s'][substring(text(),2,1)='d']"> |
296 |
<img src="/opac-tmpl/lib/famfamfam/cd.png" alt="sound disc" class="format"/> |
297 |
</xsl:if> |
298 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='s'][substring(text(),2,1)='t']"> |
299 |
sound-tape reel |
300 |
</xsl:if> |
301 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='s'][substring(text(),2,1)='i']"> |
302 |
sound-track film |
303 |
</xsl:if> |
304 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='s'][substring(text(),2,1)='w']"> |
305 |
wire recording |
306 |
</xsl:if> |
307 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='f'][substring(text(),2,1)='c']"> |
308 |
combination |
309 |
</xsl:if> |
310 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='f'][substring(text(),2,1)='b']"> |
311 |
braille |
312 |
</xsl:if> |
313 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='f'][substring(text(),2,1)='a']"> |
314 |
moon |
315 |
</xsl:if> |
316 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='f'][substring(text(),2,1)='d']"> |
317 |
tactile, with no writing system |
318 |
</xsl:if> |
319 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='t'][substring(text(),2,1)='c']"> |
320 |
braille |
321 |
</xsl:if> |
322 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='t'][substring(text(),2,1)='b']"> |
323 |
<img src="/opac-tmpl/lib/famfamfam/magnifier.png" alt="large print" class="format"/> |
324 |
</xsl:if> |
325 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='t'][substring(text(),2,1)='a']"> |
326 |
regular print |
327 |
</xsl:if> |
328 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='t'][substring(text(),2,1)='d']"> |
329 |
text in looseleaf binder |
330 |
</xsl:if> |
331 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='v'][substring(text(),2,1)='c']"> |
332 |
videocartridge |
333 |
</xsl:if> |
334 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='v'][substring(text(),2,1)='f']"> |
335 |
videocassette |
336 |
</xsl:if> |
337 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='v'][substring(text(),2,1)='d']"> |
338 |
<img src="/opac-tmpl/lib/famfamfam/dvd.png" alt="videodisc" class="format"/> |
339 |
</xsl:if> |
340 |
<xsl:if test="marc:controlfield[@tag=007][substring(text(),1,1)='v'][substring(text(),2,1)='r']"> |
341 |
videoreel |
342 |
</xsl:if> |
343 |
</xsl:variable> |
344 |
|
73 |
<xsl:variable name="materialTypeLabel"> |
345 |
<xsl:variable name="materialTypeLabel"> |
74 |
<xsl:choose> |
346 |
<xsl:choose> |
75 |
<xsl:when test="$leader19='a'">Set</xsl:when> |
347 |
<xsl:when test="$leader19='a'">Set</xsl:when> |
Lines 186-204
Link Here
|
186 |
<xsl:with-param name="theme" select="$theme"/> |
458 |
<xsl:with-param name="theme" select="$theme"/> |
187 |
</xsl:call-template> |
459 |
</xsl:call-template> |
188 |
|
460 |
|
189 |
<xsl:if test="$DisplayOPACiconsXSLT!='0'"> |
461 |
<xsl:if test="$DisplayOPACiconsXSLT!='0'"> |
190 |
<xsl:if test="$materialTypeCode!=''"> |
462 |
<span class="results_summary type"> |
191 |
<span class="results_summary type"><span class="label">Material type: </span> |
463 |
<xsl:if test="$materialTypeCode!=''"> |
192 |
<xsl:element name="img"> |
464 |
<span class="results_material_type"> |
193 |
<xsl:attribute name="src">/opac-tmpl/lib/famfamfam/<xsl:value-of select="$materialTypeCode"/>.png</xsl:attribute> |
465 |
<span class="label">Material type: </span> |
194 |
<xsl:attribute name="alt"><xsl:value-of select="$materialTypeLabel"/></xsl:attribute> |
466 |
<xsl:choose> |
195 |
<xsl:attribute name="class">materialtype mt_icon_<xsl:value-of select="$materialTypeCode"/></xsl:attribute> |
467 |
<xsl:when test="$leader19='a'"><img src="/opac-tmpl/lib/famfamfam/ST.png" alt="Set" class="materialtype mt_icon_ST"/> Set</xsl:when> |
196 |
</xsl:element> |
468 |
<xsl:when test="$leader6='a'"> |
197 |
<xsl:value-of select="$materialTypeLabel"/> |
469 |
<xsl:choose> |
198 |
</span> |
470 |
<xsl:when test="$leader7='c' or $leader7='d' or $leader7='m'"><img src="/opac-tmpl/lib/famfamfam/BK.png" alt="Text" class="materialtype mt_icon_BK"/> Text</xsl:when> |
199 |
</xsl:if> |
471 |
<xsl:when test="$leader7='i' or $leader7='s'"><img src="/opac-tmpl/lib/famfamfam/SE.png" alt="Continuing resource" class="materialtype mt_icon_SE"/> Continuing resource</xsl:when> |
200 |
</xsl:if> |
472 |
<xsl:when test="$leader7='a' or $leader7='b'"><img src="/opac-tmpl/lib/famfamfam/AR.png" alt="Article" class="materialtype mt_icon_AR"/> Article</xsl:when> |
|
|
473 |
</xsl:choose> |
474 |
</xsl:when> |
475 |
<xsl:when test="$leader6='t'"><img src="/opac-tmpl/lib/famfamfam/BK.png" alt="Text" class="materialtype mt_icon_BK"/> Text</xsl:when> |
476 |
<xsl:when test="$leader6='o'"><img src="/opac-tmpl/lib/famfamfam/MM.png" alt="Kit" class="materialtype mt_icon_MM"/> Kit</xsl:when> |
477 |
<xsl:when test="$leader6='p'"><img src="/opac-tmpl/lib/famfamfam/MM.png" alt="Mixed materials" class="materialtype mt_icon_MM"/>Mixed materials</xsl:when> |
478 |
<xsl:when test="$leader6='m'"><img src="/opac-tmpl/lib/famfamfam/CF.png" alt="Computer file" class="materialtype mt_icon_CF"/> Computer file</xsl:when> |
479 |
<xsl:when test="$leader6='e' or $leader6='f'"><img src="/opac-tmpl/lib/famfamfam/MP.png" alt="Map" class="materialtype mt_icon_MP"/> Map</xsl:when> |
480 |
<xsl:when test="$leader6='g'"><img src="/opac-tmpl/lib/famfamfam/VM.png" alt="Film" class="materialtype mt_icon_VM"/> Film</xsl:when> |
481 |
<xsl:when test="$leader6='k'"><img src="/opac-tmpl/lib/famfamfam/GR.png" alt="Picture" class="materialtype mt_icon_GR"/> Picture</xsl:when> |
482 |
<xsl:when test="$leader6='r'"><img src="/opac-tmpl/lib/famfamfam/OB.png" alt="Object" class="materialtype mt_icon_OB"/> Object</xsl:when> |
483 |
<xsl:when test="$leader6='c' or $leader6='d'"><img src="/opac-tmpl/lib/famfamfam/PR.png" alt="Score" class="materialtype mt_icon_PR"/> Score</xsl:when> |
484 |
<xsl:when test="$leader6='i'"><img src="/opac-tmpl/lib/famfamfam/MU.png" alt="Sound" class="materialtype mt_icon_MU"/> Sound</xsl:when> |
485 |
<xsl:when test="$leader6='j'"><img src="/opac-tmpl/lib/famfamfam/PR.png" alt="Music" class="materialtype mt_icon_PR"/> Music</xsl:when> |
486 |
</xsl:choose> |
487 |
</span> |
488 |
</xsl:if> |
489 |
<xsl:if test="string-length(normalize-space($physicalDescription))"> |
490 |
<span class="results_format"> |
491 |
<span class="label">; Format: </span><xsl:copy-of select="$physicalDescription"></xsl:copy-of> |
492 |
</span> |
493 |
</xsl:if> |
494 |
|
495 |
<xsl:if test="$controlField008-21 or $controlField008-22 or $controlField008-24 or $controlField008-26 or $controlField008-29 or $controlField008-34 or $controlField008-33 or $controlField008-30-31 or $controlField008-33"> |
496 |
|
497 |
<xsl:if test="$materialTypeCode='CR'"> |
498 |
<span class="results_typeofcontinuing"> |
499 |
<xsl:if test="$controlField008-21 and $controlField008-21 !='|' and $controlField008-21 !=' '"> |
500 |
<span class="label">; Type of continuing resource: </span> |
501 |
</xsl:if> |
502 |
<xsl:choose> |
503 |
<xsl:when test="$controlField008-21='d'"> |
504 |
<img src="/opac-tmpl/lib/famfamfam/database.png" alt="database" class="format"/> |
505 |
</xsl:when> |
506 |
<xsl:when test="$controlField008-21='l'"> |
507 |
loose-leaf |
508 |
</xsl:when> |
509 |
<xsl:when test="$controlField008-21='m'"> |
510 |
series |
511 |
</xsl:when> |
512 |
<xsl:when test="$controlField008-21='n'"> |
513 |
newspaper |
514 |
</xsl:when> |
515 |
<xsl:when test="$controlField008-21='p'"> |
516 |
periodical |
517 |
</xsl:when> |
518 |
<xsl:when test="$controlField008-21='w'"> |
519 |
<img src="/opac-tmpl/lib/famfamfam/world_link.png" alt="web site" class="format"/> |
520 |
</xsl:when> |
521 |
</xsl:choose> |
522 |
</span> |
523 |
</xsl:if> |
524 |
<xsl:if test="$materialTypeCode='BK' or $materialTypeCode='CR'"> |
525 |
<xsl:if test="contains($controlField008-24,'abcdefghijklmnopqrstvwxyz')"> |
526 |
<span class="results_natureofcontents"> |
527 |
<span class="label">; Nature of contents: </span> |
528 |
<xsl:choose> |
529 |
<xsl:when test="contains($controlField008-24,'a')"> |
530 |
abstract or summary |
531 |
</xsl:when> |
532 |
<xsl:when test="contains($controlField008-24,'b')"> |
533 |
bibliography |
534 |
<img src="/opac-tmpl/lib/famfamfam/text_list_bullets.png" alt="bibliography" class="natureofcontents"/> |
535 |
</xsl:when> |
536 |
<xsl:when test="contains($controlField008-24,'c')"> |
537 |
catalog |
538 |
</xsl:when> |
539 |
<xsl:when test="contains($controlField008-24,'d')"> |
540 |
dictionary |
541 |
</xsl:when> |
542 |
<xsl:when test="contains($controlField008-24,'e')"> |
543 |
encyclopedia |
544 |
</xsl:when> |
545 |
<xsl:when test="contains($controlField008-24,'f')"> |
546 |
handbook |
547 |
</xsl:when> |
548 |
<xsl:when test="contains($controlField008-24,'g')"> |
549 |
legal article |
550 |
</xsl:when> |
551 |
<xsl:when test="contains($controlField008-24,'i')"> |
552 |
index |
553 |
</xsl:when> |
554 |
<xsl:when test="contains($controlField008-24,'k')"> |
555 |
discography |
556 |
</xsl:when> |
557 |
<xsl:when test="contains($controlField008-24,'l')"> |
558 |
legislation |
559 |
</xsl:when> |
560 |
<xsl:when test="contains($controlField008-24,'m')"> |
561 |
theses |
562 |
</xsl:when> |
563 |
<xsl:when test="contains($controlField008-24,'n')"> |
564 |
survey of literature |
565 |
</xsl:when> |
566 |
<xsl:when test="contains($controlField008-24,'o')"> |
567 |
review |
568 |
</xsl:when> |
569 |
<xsl:when test="contains($controlField008-24,'p')"> |
570 |
programmed text |
571 |
</xsl:when> |
572 |
<xsl:when test="contains($controlField008-24,'q')"> |
573 |
filmography |
574 |
</xsl:when> |
575 |
<xsl:when test="contains($controlField008-24,'r')"> |
576 |
directory |
577 |
</xsl:when> |
578 |
<xsl:when test="contains($controlField008-24,'s')"> |
579 |
statistics |
580 |
</xsl:when> |
581 |
<xsl:when test="contains($controlField008-24,'t')"> |
582 |
<img src="/opac-tmpl/lib/famfamfam/report.png" alt="technical report" class="natureofcontents"/> |
583 |
</xsl:when> |
584 |
<xsl:when test="contains($controlField008-24,'v')"> |
585 |
legal case and case notes |
586 |
</xsl:when> |
587 |
<xsl:when test="contains($controlField008-24,'w')"> |
588 |
law report or digest |
589 |
</xsl:when> |
590 |
<xsl:when test="contains($controlField008-24,'z')"> |
591 |
treaty |
592 |
</xsl:when> |
593 |
</xsl:choose> |
594 |
<xsl:choose> |
595 |
<xsl:when test="$controlField008-29='1'"> |
596 |
conference publication |
597 |
</xsl:when> |
598 |
</xsl:choose> |
599 |
</span> |
600 |
</xsl:if> |
601 |
</xsl:if> |
602 |
<xsl:if test="$materialTypeCode='CF'"> |
603 |
<span class="results_typeofcomp"> |
604 |
<xsl:if test="$controlField008-26='a' or $controlField008-26='e' or $controlField008-26='f' or $controlField008-26='g'"> |
605 |
<span class="label">; Type of computer file: </span> |
606 |
</xsl:if> |
607 |
<xsl:choose> |
608 |
<xsl:when test="$controlField008-26='a'"> |
609 |
numeric data |
610 |
</xsl:when> |
611 |
<xsl:when test="$controlField008-26='e'"> |
612 |
<img src="/opac-tmpl/lib/famfamfam/database.png" alt="database" class="format"/> |
613 |
</xsl:when> |
614 |
<xsl:when test="$controlField008-26='f'"> |
615 |
<img src="/opac-tmpl/lib/famfamfam/font.png" alt="font" class="format"/> |
616 |
</xsl:when> |
617 |
<xsl:when test="$controlField008-26='g'"> |
618 |
<img src="/opac-tmpl/lib/famfamfam/controller.png" alt="game" class="format"/> |
619 |
</xsl:when> |
620 |
</xsl:choose> |
621 |
</span> |
622 |
</xsl:if> |
623 |
<xsl:if test="$materialTypeCode='BK'"> |
624 |
<span class="results_contents_literary"> |
625 |
<xsl:if test="(substring($controlField008,25,1)='j') or (substring($controlField008,25,1)='1') or ($controlField008-34='a' or $controlField008-34='b' or $controlField008-34='c' or $controlField008-34='d')"> |
626 |
<span class="label">; Nature of contents: </span> |
627 |
</xsl:if> |
628 |
<xsl:if test="substring($controlField008,25,1)='j'"> |
629 |
patent |
630 |
</xsl:if> |
631 |
<xsl:if test="substring($controlField008,31,1)='1'"> |
632 |
festschrift |
633 |
</xsl:if> |
634 |
<xsl:if test="$controlField008-34='a' or $controlField008-34='b' or $controlField008-34='c' or $controlField008-34='d'"> |
635 |
<img src="/opac-tmpl/lib/famfamfam/user.png" alt="biography" class="natureofcontents"/> |
636 |
</xsl:if> |
637 |
|
638 |
<xsl:if test="$controlField008-33 and $controlField008-33!='|' and $controlField008-33!='u' and $controlField008-33!=' '"> |
639 |
<span class="label">; Literary form: </span> |
640 |
</xsl:if> |
641 |
<xsl:choose> |
642 |
<xsl:when test="$controlField008-33='0'"> |
643 |
Not fiction |
644 |
</xsl:when> |
645 |
<xsl:when test="$controlField008-33='1'"> |
646 |
Fiction |
647 |
</xsl:when> |
648 |
<xsl:when test="$controlField008-33='d'"> |
649 |
Dramas |
650 |
</xsl:when> |
651 |
<xsl:when test="$controlField008-33='e'"> |
652 |
Essays |
653 |
</xsl:when> |
654 |
<xsl:when test="$controlField008-33='f'"> |
655 |
Novels |
656 |
</xsl:when> |
657 |
<xsl:when test="$controlField008-33='h'"> |
658 |
Humor, satires, etc. |
659 |
</xsl:when> |
660 |
<xsl:when test="$controlField008-33='i'"> |
661 |
Letters |
662 |
</xsl:when> |
663 |
<xsl:when test="$controlField008-33='j'"> |
664 |
Short stories |
665 |
</xsl:when> |
666 |
<xsl:when test="$controlField008-33='m'"> |
667 |
Mixed forms |
668 |
</xsl:when> |
669 |
<xsl:when test="$controlField008-33='p'"> |
670 |
Poetry |
671 |
</xsl:when> |
672 |
<xsl:when test="$controlField008-33='s'"> |
673 |
Speeches |
674 |
</xsl:when> |
675 |
</xsl:choose> |
676 |
</span> |
677 |
</xsl:if> |
678 |
<xsl:if test="$materialTypeCode='MU' and $controlField008-30-31 and $controlField008-30-31!='||' and $controlField008-30-31!=' '"> |
679 |
<span class="results_literaryform"> |
680 |
<span class="label">; Literary form: </span> <!-- Literary text for sound recordings --> |
681 |
<xsl:if test="contains($controlField008-30-31,'b')"> |
682 |
biography |
683 |
</xsl:if> |
684 |
<xsl:if test="contains($controlField008-30-31,'c')"> |
685 |
conference publication |
686 |
</xsl:if> |
687 |
<xsl:if test="contains($controlField008-30-31,'d')"> |
688 |
drama |
689 |
</xsl:if> |
690 |
<xsl:if test="contains($controlField008-30-31,'e')"> |
691 |
essay |
692 |
</xsl:if> |
693 |
<xsl:if test="contains($controlField008-30-31,'f')"> |
694 |
fiction |
695 |
</xsl:if> |
696 |
<xsl:if test="contains($controlField008-30-31,'o')"> |
697 |
folktale |
698 |
</xsl:if> |
699 |
<xsl:if test="contains($controlField008-30-31,'h')"> |
700 |
history |
701 |
</xsl:if> |
702 |
<xsl:if test="contains($controlField008-30-31,'k')"> |
703 |
humor, satire |
704 |
</xsl:if> |
705 |
<xsl:if test="contains($controlField008-30-31,'m')"> |
706 |
memoir |
707 |
</xsl:if> |
708 |
<xsl:if test="contains($controlField008-30-31,'p')"> |
709 |
poetry |
710 |
</xsl:if> |
711 |
<xsl:if test="contains($controlField008-30-31,'r')"> |
712 |
rehearsal |
713 |
</xsl:if> |
714 |
<xsl:if test="contains($controlField008-30-31,'g')"> |
715 |
reporting |
716 |
</xsl:if> |
717 |
<xsl:if test="contains($controlField008-30-31,'s')"> |
718 |
sound |
719 |
</xsl:if> |
720 |
<xsl:if test="contains($controlField008-30-31,'l')"> |
721 |
speech |
722 |
</xsl:if> |
723 |
</span> |
724 |
</xsl:if> |
725 |
<xsl:if test="$materialTypeCode='VM'"> |
726 |
<span class="results_typeofvisual"> |
727 |
<span class="label">; Type of visual material: </span> |
728 |
<xsl:choose> |
729 |
<xsl:when test="$controlField008-33='a'"> |
730 |
art original |
731 |
</xsl:when> |
732 |
<xsl:when test="$controlField008-33='b'"> |
733 |
kit |
734 |
</xsl:when> |
735 |
<xsl:when test="$controlField008-33='c'"> |
736 |
art reproduction |
737 |
</xsl:when> |
738 |
<xsl:when test="$controlField008-33='d'"> |
739 |
diorama |
740 |
</xsl:when> |
741 |
<xsl:when test="$controlField008-33='f'"> |
742 |
filmstrip |
743 |
</xsl:when> |
744 |
<xsl:when test="$controlField008-33='g'"> |
745 |
game |
746 |
</xsl:when> |
747 |
<xsl:when test="$controlField008-33='i'"> |
748 |
picture |
749 |
</xsl:when> |
750 |
<xsl:when test="$controlField008-33='k'"> |
751 |
graphic |
752 |
</xsl:when> |
753 |
<xsl:when test="$controlField008-33='l'"> |
754 |
technical drawing |
755 |
</xsl:when> |
756 |
<xsl:when test="$controlField008-33='m'"> |
757 |
motion picture |
758 |
</xsl:when> |
759 |
<xsl:when test="$controlField008-33='n'"> |
760 |
chart |
761 |
</xsl:when> |
762 |
<xsl:when test="$controlField008-33='o'"> |
763 |
flash card |
764 |
</xsl:when> |
765 |
<xsl:when test="$controlField008-33='p'"> |
766 |
microscope slide |
767 |
</xsl:when> |
768 |
<xsl:when test="$controlField008-33='q' or marc:controlfield[@tag=007][substring(text(),1,1)='a'][substring(text(),2,1)='q']"> |
769 |
model |
770 |
</xsl:when> |
771 |
<xsl:when test="$controlField008-33='r'"> |
772 |
realia |
773 |
</xsl:when> |
774 |
<xsl:when test="$controlField008-33='s'"> |
775 |
slide |
776 |
</xsl:when> |
777 |
<xsl:when test="$controlField008-33='t'"> |
778 |
transparency |
779 |
</xsl:when> |
780 |
<xsl:when test="$controlField008-33='v'"> |
781 |
videorecording |
782 |
</xsl:when> |
783 |
<xsl:when test="$controlField008-33='w'"> |
784 |
toy |
785 |
</xsl:when> |
786 |
</xsl:choose> |
787 |
</span> |
788 |
</xsl:if> |
789 |
</xsl:if> |
201 |
|
790 |
|
|
|
791 |
<xsl:if test="($materialTypeCode='BK' or $materialTypeCode='CF' or $materialTypeCode='MU' or $materialTypeCode='VM') and ($controlField008-22='a' or $controlField008-22='b' or $controlField008-22='c' or $controlField008-22='d' or $controlField008-22='e' or $controlField008-22='g' or $controlField008-22='j' or $controlField008-22='f')"> |
792 |
<span class="results_audience"> |
793 |
<span class="label">; Audience: </span> |
794 |
<xsl:choose> |
795 |
<xsl:when test="$controlField008-22='a'"> |
796 |
Preschool; |
797 |
</xsl:when> |
798 |
<xsl:when test="$controlField008-22='b'"> |
799 |
Primary; |
800 |
</xsl:when> |
801 |
<xsl:when test="$controlField008-22='c'"> |
802 |
Pre-adolescent; |
803 |
</xsl:when> |
804 |
<xsl:when test="$controlField008-22='d'"> |
805 |
Adolescent; |
806 |
</xsl:when> |
807 |
<xsl:when test="$controlField008-22='e'"> |
808 |
Adult; |
809 |
</xsl:when> |
810 |
<xsl:when test="$controlField008-22='g'"> |
811 |
General; |
812 |
</xsl:when> |
813 |
<xsl:when test="$controlField008-22='j'"> |
814 |
Juvenile; |
815 |
</xsl:when> |
816 |
<xsl:when test="$controlField008-22='f'"> |
817 |
Specialized; |
818 |
</xsl:when> |
819 |
</xsl:choose> |
820 |
</span> |
821 |
</xsl:if> |
822 |
</span> |
823 |
</xsl:if> |
202 |
|
824 |
|
203 |
<!-- Publisher or Distributor Number --> |
825 |
<!-- Publisher or Distributor Number --> |
204 |
<xsl:if test="marc:datafield[@tag=028]"> |
826 |
<xsl:if test="marc:datafield[@tag=028]"> |
205 |
- |
|
|