Lines 57-92
Link Here
|
57 |
<xsl:call-template name="tag_7xx"> |
57 |
<xsl:call-template name="tag_7xx"> |
58 |
<xsl:with-param name="tag">700</xsl:with-param> |
58 |
<xsl:with-param name="tag">700</xsl:with-param> |
59 |
<xsl:with-param name="label">Main Author</xsl:with-param> |
59 |
<xsl:with-param name="label">Main Author</xsl:with-param> |
|
|
60 |
<xsl:with-param name="spanclass">main_author</xsl:with-param> |
60 |
</xsl:call-template> |
61 |
</xsl:call-template> |
61 |
|
62 |
|
62 |
<xsl:call-template name="tag_7xx"> |
63 |
<xsl:call-template name="tag_7xx"> |
63 |
<xsl:with-param name="tag">710</xsl:with-param> |
64 |
<xsl:with-param name="tag">710</xsl:with-param> |
64 |
<xsl:with-param name="label">Corporate Author (Main)</xsl:with-param> |
65 |
<xsl:with-param name="label">Corporate Author (Main)</xsl:with-param> |
|
|
66 |
<xsl:with-param name="spanclass">corporate_main_author</xsl:with-param> |
65 |
</xsl:call-template> |
67 |
</xsl:call-template> |
66 |
|
68 |
|
67 |
<xsl:call-template name="tag_7xx"> |
69 |
<xsl:call-template name="tag_7xx"> |
68 |
<xsl:with-param name="tag">701</xsl:with-param> |
70 |
<xsl:with-param name="tag">701</xsl:with-param> |
69 |
<xsl:with-param name="label">Coauthor</xsl:with-param> |
71 |
<xsl:with-param name="label">Coauthor</xsl:with-param> |
|
|
72 |
<xsl:with-param name="spanclass">coauthor</xsl:with-param> |
70 |
</xsl:call-template> |
73 |
</xsl:call-template> |
71 |
|
74 |
|
72 |
<xsl:call-template name="tag_7xx"> |
75 |
<xsl:call-template name="tag_7xx"> |
73 |
<xsl:with-param name="tag">702</xsl:with-param> |
76 |
<xsl:with-param name="tag">702</xsl:with-param> |
74 |
<xsl:with-param name="label">Secondary Author</xsl:with-param> |
77 |
<xsl:with-param name="label">Secondary Author</xsl:with-param> |
|
|
78 |
<xsl:with-param name="spanclass">secondary_author</xsl:with-param> |
75 |
</xsl:call-template> |
79 |
</xsl:call-template> |
76 |
|
80 |
|
77 |
<xsl:call-template name="tag_7xx"> |
81 |
<xsl:call-template name="tag_7xx"> |
78 |
<xsl:with-param name="tag">711</xsl:with-param> |
82 |
<xsl:with-param name="tag">711</xsl:with-param> |
79 |
<xsl:with-param name="label">Corporate Author (Coauthor)</xsl:with-param> |
83 |
<xsl:with-param name="label">Corporate Author (Coauthor)</xsl:with-param> |
|
|
84 |
<xsl:with-param name="spanclass">corporate_coauthor</xsl:with-param> |
80 |
</xsl:call-template> |
85 |
</xsl:call-template> |
81 |
|
86 |
|
82 |
<xsl:call-template name="tag_7xx"> |
87 |
<xsl:call-template name="tag_7xx"> |
83 |
<xsl:with-param name="tag">712</xsl:with-param> |
88 |
<xsl:with-param name="tag">712</xsl:with-param> |
84 |
<xsl:with-param name="label">Corporate Author (Secondary)</xsl:with-param> |
89 |
<xsl:with-param name="label">Corporate Author (Secondary)</xsl:with-param> |
|
|
90 |
<xsl:with-param name="spanclass">corporate_secondary_author</xsl:with-param> |
85 |
</xsl:call-template> |
91 |
</xsl:call-template> |
86 |
|
92 |
|
87 |
<xsl:if test="marc:datafield[@tag=101]"> |
93 |
<xsl:if test="marc:datafield[@tag=101]"> |
88 |
<li> |
94 |
<span class="results_summary language"> |
89 |
<strong>Language: </strong> |
95 |
<span class="label">Language: </span> |
90 |
<xsl:for-each select="marc:datafield[@tag=101]"> |
96 |
<xsl:for-each select="marc:datafield[@tag=101]"> |
91 |
<xsl:for-each select="marc:subfield"> |
97 |
<xsl:for-each select="marc:subfield"> |
92 |
<xsl:choose> |
98 |
<xsl:choose> |
Lines 98-104
Link Here
|
98 |
<xsl:when test="@code='g'">of title proper, </xsl:when> |
104 |
<xsl:when test="@code='g'">of title proper, </xsl:when> |
99 |
<xsl:when test="@code='h'">of libretto, </xsl:when> |
105 |
<xsl:when test="@code='h'">of libretto, </xsl:when> |
100 |
<xsl:when test="@code='i'">of accompanying material, </xsl:when> |
106 |
<xsl:when test="@code='i'">of accompanying material, </xsl:when> |
101 |
<xsl:when test="@code='j'">of subtitles, </xsl:when>n> |
107 |
<xsl:when test="@code='j'">of subtitles, </xsl:when> |
102 |
</xsl:choose> |
108 |
</xsl:choose> |
103 |
<xsl:value-of select="text()"/> |
109 |
<xsl:value-of select="text()"/> |
104 |
<xsl:choose> |
110 |
<xsl:choose> |
Lines 111-122
Link Here
|
111 |
</xsl:choose> |
117 |
</xsl:choose> |
112 |
</xsl:for-each> |
118 |
</xsl:for-each> |
113 |
</xsl:for-each> |
119 |
</xsl:for-each> |
114 |
</li> |
120 |
</span> |
115 |
</xsl:if> |
121 |
</xsl:if> |
116 |
|
122 |
|
117 |
<xsl:if test="marc:datafield[@tag=102]"> |
123 |
<xsl:if test="marc:datafield[@tag=102]"> |
118 |
<li> |
124 |
<span class="results_summary country"> |
119 |
<strong>Country: </strong> |
125 |
<span class="label">Country: </span> |
120 |
<xsl:for-each select="marc:datafield[@tag=102]"> |
126 |
<xsl:for-each select="marc:datafield[@tag=102]"> |
121 |
<xsl:for-each select="marc:subfield"> |
127 |
<xsl:for-each select="marc:subfield"> |
122 |
<xsl:value-of select="text()"/> |
128 |
<xsl:value-of select="text()"/> |
Lines 129-150
Link Here
|
129 |
</xsl:choose> |
135 |
</xsl:choose> |
130 |
</xsl:for-each> |
136 |
</xsl:for-each> |
131 |
</xsl:for-each> |
137 |
</xsl:for-each> |
132 |
</li> |
138 |
</span> |
133 |
</xsl:if> |
139 |
</xsl:if> |
134 |
|
140 |
|
135 |
<xsl:call-template name="tag_210" /> |
141 |
<xsl:call-template name="tag_210" /> |
136 |
|
142 |
|
137 |
<xsl:call-template name="tag_215" /> |
143 |
<xsl:call-template name="tag_215" /> |
138 |
|
144 |
|
139 |
<xsl:if test="marc:controlfield[@tag=009]"> |
145 |
<xsl:if test="marc:controlfield[@tag=009]"> |
140 |
<li><strong>Tag 009: </strong> |
146 |
<span class="results_summary tag_009"> |
|
|
147 |
<span class="label">Tag 009: </span> |
141 |
<xsl:value-of select="marc:controlfield[@tag=009]"/> |
148 |
<xsl:value-of select="marc:controlfield[@tag=009]"/> |
142 |
</li> |
149 |
</span> |
143 |
</xsl:if> |
150 |
</xsl:if> |
144 |
|
151 |
|
145 |
<!-- Build ISBN --> |
152 |
<!-- Build ISBN --> |
146 |
<xsl:if test="marc:datafield[@tag=010]/marc:subfield[@code='a']"> |
153 |
<xsl:if test="marc:datafield[@tag=010]/marc:subfield[@code='a']"> |
147 |
<li><strong>ISBN: </strong> |
154 |
<span class="results_summary isbn"> |
|
|
155 |
<span class="label">ISBN: </span> |
148 |
<xsl:for-each select="marc:datafield[@tag=010]/marc:subfield[@code='a']"> |
156 |
<xsl:for-each select="marc:datafield[@tag=010]/marc:subfield[@code='a']"> |
149 |
<span property="isbn"> |
157 |
<span property="isbn"> |
150 |
<xsl:value-of select="."/> |
158 |
<xsl:value-of select="."/> |
Lines 158-170
Link Here
|
158 |
</xsl:choose> |
166 |
</xsl:choose> |
159 |
</span> |
167 |
</span> |
160 |
</xsl:for-each> |
168 |
</xsl:for-each> |
161 |
</li> |
169 |
</span> |
162 |
</xsl:if> |
170 |
</xsl:if> |
163 |
|
171 |
|
164 |
<!-- Build ISSN --> |
172 |
<!-- Build ISSN --> |
165 |
<xsl:if test="marc:datafield[@tag=011]/marc:subfield[@code='a']"> |
173 |
<xsl:if test="marc:datafield[@tag=011]/marc:subfield[@code='a']"> |
166 |
<li> |
174 |
<span class="results_summary issn"> |
167 |
<strong>ISSN: </strong> |
175 |
<span class="label">ISSN: </span> |
168 |
<xsl:for-each select="marc:datafield[@tag=011]/marc:subfield[@code='a']"> |
176 |
<xsl:for-each select="marc:datafield[@tag=011]/marc:subfield[@code='a']"> |
169 |
<span property="issn"> |
177 |
<span property="issn"> |
170 |
<xsl:value-of select="."/> |
178 |
<xsl:value-of select="."/> |
Lines 178-194
Link Here
|
178 |
</xsl:choose> |
186 |
</xsl:choose> |
179 |
</span> |
187 |
</span> |
180 |
</xsl:for-each> |
188 |
</xsl:for-each> |
181 |
</li> |
189 |
</span> |
182 |
</xsl:if> |
190 |
</xsl:if> |
183 |
|
191 |
|
184 |
<xsl:call-template name="tag_title"> |
192 |
<xsl:call-template name="tag_title"> |
185 |
<xsl:with-param name="tag">225</xsl:with-param> |
193 |
<xsl:with-param name="tag">225</xsl:with-param> |
186 |
<xsl:with-param name="label">Series</xsl:with-param> |
194 |
<xsl:with-param name="label">Series</xsl:with-param> |
|
|
195 |
<xsl:with-param name="spanclass">series</xsl:with-param> |
187 |
</xsl:call-template> |
196 |
</xsl:call-template> |
188 |
|
197 |
|
189 |
<xsl:if test="marc:datafield[@tag=676]"> |
198 |
<xsl:if test="marc:datafield[@tag=676]"> |
190 |
<li> |
199 |
<span class="results_summary dewey"> |
191 |
<strong>Dewey: </strong> |
200 |
<span class="label">Dewey: </span> |
192 |
<xsl:for-each select="marc:datafield[@tag=676]"> |
201 |
<xsl:for-each select="marc:datafield[@tag=676]"> |
193 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
202 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
194 |
<xsl:if test="marc:subfield[@code='v']"> |
203 |
<xsl:if test="marc:subfield[@code='v']"> |
Lines 203-214
Link Here
|
203 |
<xsl:text> ; </xsl:text> |
212 |
<xsl:text> ; </xsl:text> |
204 |
</xsl:if> |
213 |
</xsl:if> |
205 |
</xsl:for-each> |
214 |
</xsl:for-each> |
206 |
</li> |
215 |
</span> |
207 |
</xsl:if> |
216 |
</xsl:if> |
208 |
|
217 |
|
209 |
<xsl:if test="marc:datafield[@tag=686]"> |
218 |
<xsl:if test="marc:datafield[@tag=686]"> |
210 |
<li> |
219 |
<span class="results_summary classification"> |
211 |
<strong>Classification: </strong> |
220 |
<span class="label">Classification: </span> |
212 |
<xsl:for-each select="marc:datafield[@tag=686]"> |
221 |
<xsl:for-each select="marc:datafield[@tag=686]"> |
213 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
222 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
214 |
<xsl:if test="marc:subfield[@code='b']"> |
223 |
<xsl:if test="marc:subfield[@code='b']"> |
Lines 221-232
Link Here
|
221 |
</xsl:if> |
230 |
</xsl:if> |
222 |
<xsl:if test="not (position()=last())"><xsl:text> ; </xsl:text></xsl:if> |
231 |
<xsl:if test="not (position()=last())"><xsl:text> ; </xsl:text></xsl:if> |
223 |
</xsl:for-each> |
232 |
</xsl:for-each> |
224 |
</li> |
233 |
</span> |
225 |
</xsl:if> |
234 |
</xsl:if> |
226 |
|
235 |
|
227 |
<xsl:if test="marc:datafield[@tag=327]"> |
236 |
<xsl:if test="marc:datafield[@tag=327]"> |
228 |
<li> |
237 |
<span class="results_summary contents"> |
229 |
<strong>Contents note: </strong> |
238 |
<span class="label">Contents note: </span> |
230 |
<xsl:for-each select="marc:datafield[@tag=327]"> |
239 |
<xsl:for-each select="marc:datafield[@tag=327]"> |
231 |
<xsl:call-template name="chopPunctuation"> |
240 |
<xsl:call-template name="chopPunctuation"> |
232 |
<xsl:with-param name="chopString"> |
241 |
<xsl:with-param name="chopString"> |
Lines 238-249
Link Here
|
238 |
</xsl:with-param> |
247 |
</xsl:with-param> |
239 |
</xsl:call-template> |
248 |
</xsl:call-template> |
240 |
</xsl:for-each> |
249 |
</xsl:for-each> |
241 |
</li> |
250 |
</span> |
242 |
</xsl:if> |
251 |
</xsl:if> |
243 |
|
252 |
|
244 |
<xsl:if test="marc:datafield[@tag=330]"> |
253 |
<xsl:if test="marc:datafield[@tag=330]"> |
245 |
<li> |
254 |
<span class="results_summary abstract"> |
246 |
<strong>Abstract: </strong> |
255 |
<span class="label">Abstract: </span> |
247 |
<xsl:for-each select="marc:datafield[@tag=330]"> |
256 |
<xsl:for-each select="marc:datafield[@tag=330]"> |
248 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
257 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
249 |
<xsl:choose> |
258 |
<xsl:choose> |
Lines 255-311
Link Here
|
255 |
</xsl:otherwise> |
264 |
</xsl:otherwise> |
256 |
</xsl:choose> |
265 |
</xsl:choose> |
257 |
</xsl:for-each> |
266 |
</xsl:for-each> |
258 |
</li> |
267 |
</span> |
259 |
</xsl:if> |
268 |
</xsl:if> |
260 |
|
269 |
|
261 |
<xsl:if test="marc:datafield[@tag=317]"> |
270 |
<xsl:if test="marc:datafield[@tag=317]"> |
262 |
<li> |
271 |
<span class="results_summary provenance"> |
263 |
<strong>Provenance note: </strong> |
272 |
<span class="label">Provenance note: </span> |
264 |
<xsl:for-each select="marc:datafield[@tag=317]"> |
273 |
<xsl:for-each select="marc:datafield[@tag=317]"> |
265 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
274 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
266 |
</xsl:for-each> |
275 |
</xsl:for-each> |
267 |
</li> |
276 |
</span> |
268 |
</xsl:if> |
277 |
</xsl:if> |
269 |
|
278 |
|
270 |
<xsl:if test="marc:datafield[@tag=320]"> |
279 |
<xsl:if test="marc:datafield[@tag=320]"> |
271 |
<li> |
280 |
<span class="results_summary bibliography"> |
272 |
<strong>Bibliography: </strong> |
281 |
<span class="label">Bibliography: </span> |
273 |
<xsl:for-each select="marc:datafield[@tag=320]"> |
282 |
<xsl:for-each select="marc:datafield[@tag=320]"> |
274 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
283 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
275 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
284 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
276 |
</xsl:for-each> |
285 |
</xsl:for-each> |
277 |
</li> |
286 |
</span> |
278 |
</xsl:if> |
287 |
</xsl:if> |
279 |
|
288 |
|
280 |
<xsl:if test="marc:datafield[@tag=328]"> |
289 |
<xsl:if test="marc:datafield[@tag=328]"> |
281 |
<li> |
290 |
<span class="results_summary thesis"> |
282 |
<strong>Thesis: </strong> |
291 |
<span class="label">Thesis: </span> |
283 |
<xsl:for-each select="marc:datafield[@tag=328]"> |
292 |
<xsl:for-each select="marc:datafield[@tag=328]"> |
284 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
293 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
285 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
294 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
286 |
</xsl:for-each> |
295 |
</xsl:for-each> |
287 |
</li> |
296 |
</span> |
288 |
</xsl:if> |
297 |
</xsl:if> |
289 |
|
298 |
|
290 |
<xsl:if test="marc:datafield[@tag=333]"> |
299 |
<xsl:if test="marc:datafield[@tag=333]"> |
291 |
<li> |
300 |
<span class="results_summary audience"> |
292 |
<strong>Audience: </strong> |
301 |
<span class="label">Audience: </span> |
293 |
<xsl:for-each select="marc:datafield[@tag=333]"> |
302 |
<xsl:for-each select="marc:datafield[@tag=333]"> |
294 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
303 |
<xsl:value-of select="marc:subfield[@code='a']"/> |
295 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
304 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
296 |
</xsl:for-each> |
305 |
</xsl:for-each> |
297 |
</li> |
306 |
</span> |
298 |
</xsl:if> |
307 |
</xsl:if> |
299 |
|
308 |
|
300 |
<xsl:if test="marc:datafield[@tag=955]"> |
309 |
<xsl:if test="marc:datafield[@tag=955]"> |
301 |
<li> |
310 |
<span class="results_summary sudoc_serial_history"> |
302 |
<strong>SUDOC serial history: </strong> |
311 |
<span class="label">SUDOC serial history: </span> |
303 |
<xsl:for-each select="marc:datafield[@tag=955]"> |
312 |
<xsl:for-each select="marc:datafield[@tag=955]"> |
304 |
<xsl:value-of select="marc:subfield[@code='9']"/>: |
313 |
<xsl:value-of select="marc:subfield[@code='9']"/>: |
305 |
<xsl:value-of select="marc:subfield[@code='r']"/> |
314 |
<xsl:value-of select="marc:subfield[@code='r']"/> |
306 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
315 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
307 |
</xsl:for-each> |
316 |
</xsl:for-each> |
308 |
</li> |
317 |
</span> |
309 |
</xsl:if> |
318 |
</xsl:if> |
310 |
|
319 |
|
311 |
<xsl:call-template name="tag_subject"> |
320 |
<xsl:call-template name="tag_subject"> |
Lines 359-366
Link Here
|
359 |
</xsl:call-template> |
368 |
</xsl:call-template> |
360 |
|
369 |
|
361 |
<xsl:if test="marc:datafield[@tag=856]"> |
370 |
<xsl:if test="marc:datafield[@tag=856]"> |
362 |
<li> |
371 |
<span class="results_summary online_resources"> |
363 |
<strong>Online Resources: </strong> |
372 |
<span class="label">Online Resources:</span> |
364 |
<xsl:for-each select="marc:datafield[@tag=856]"> |
373 |
<xsl:for-each select="marc:datafield[@tag=856]"> |
365 |
<xsl:variable name="SubqText"><xsl:value-of select="marc:subfield[@code='q']"/></xsl:variable> |
374 |
<xsl:variable name="SubqText"><xsl:value-of select="marc:subfield[@code='q']"/></xsl:variable> |
366 |
<a> |
375 |
<a> |
Lines 386-392
Link Here
|
386 |
<xsl:otherwise> | </xsl:otherwise> |
395 |
<xsl:otherwise> | </xsl:otherwise> |
387 |
</xsl:choose> |
396 |
</xsl:choose> |
388 |
</xsl:for-each> |
397 |
</xsl:for-each> |
389 |
</li> |
398 |
</span> |
390 |
</xsl:if> |
399 |
</xsl:if> |
391 |
</xsl:template> |
400 |
</xsl:template> |
392 |
|
401 |
|