1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet version="1.0" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3 <xsl:output method="html"/>
5 <xsl:template match="/">
11 <xsl:template match="marc:record">
14 <th style="white-space:nowrap">
19 <xsl:value-of select="marc:leader"/>
22 <xsl:apply-templates select="marc:datafield|marc:controlfield"/>
26 <xsl:template match="marc:controlfield">
28 <th style="white-space:nowrap">
29 <xsl:value-of select="@tag"/>
33 <xsl:value-of select="."/>
38 <xsl:template match="marc:datafield">
40 <th style="white-space:nowrap">
41 <xsl:value-of select="@tag"/>
43 <td><xsl:value-of select="@ind1"/></td>
44 <td><xsl:value-of select="@ind2"/></td>
45 <td><xsl:apply-templates select="marc:subfield"/></td>
49 <xsl:template match="marc:subfield">
50 <strong>_<xsl:value-of select="@code"/></strong> <xsl:value-of select="."/>
52 <xsl:when test="position()=last()"><xsl:text> </xsl:text></xsl:when><xsl:otherwise><br /></xsl:otherwise></xsl:choose>