1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE stylesheet [
<!ENTITY nbsp
" " >]
>
3 <xsl:stylesheet version=
"1.0" xmlns:
marc=
"http://www.loc.gov/MARC21/slim" xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform">
4 <xsl:output method=
"html" encoding=
"UTF-8"/>
6 <xsl:template match=
"/">
8 <head><title>MARC View
</title></head>
10 <xsl:apply-templates/>
15 <xsl:template match=
"marc:record">
18 <th style=
"white-space:nowrap">
23 <xsl:value-of select=
"marc:leader"/>
26 <xsl:apply-templates select=
"marc:datafield|marc:controlfield"/>
30 <xsl:template match=
"marc:controlfield">
32 <th style=
"white-space:nowrap">
33 <xsl:value-of select=
"@tag"/>
37 <xsl:value-of select=
"."/>
42 <xsl:template match=
"marc:datafield">
44 <th style=
"white-space:nowrap">
45 <xsl:value-of select=
"@tag"/>
47 <td><xsl:value-of select=
"@ind1"/></td>
48 <td><xsl:value-of select=
"@ind2"/></td>
49 <td><xsl:apply-templates select=
"marc:subfield"/></td>
53 <xsl:template match=
"marc:subfield">
54 <strong>_
<xsl:value-of select=
"@code"/></strong> <xsl:value-of select=
"."/>
56 <xsl:when test=
"position()=last()"><xsl:text> </xsl:text></xsl:when><xsl:otherwise><br /></xsl:otherwise></xsl:choose>