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="text"/>
5 <xsl:template match="/">
11 <xsl:template match="marc:record">
12 <table class='marc_table'>
13 <tr class='marc_tag_row'>
14 <th class='marc_tag_col' NOWRAP="TRUE" ALIGN="RIGHT" VALIGN="middle">
17 <td class='marc_tag_data' COLSPAN='3'>
18 <xsl:value-of select="marc:leader"/>
21 <xsl:apply-templates select="marc:datafield|marc:controlfield"/>
25 <xsl:template match="marc:controlfield">
26 <tr class='marc_tag_row'>
27 <th class='marc_tag_col' NOWRAP="TRUE" ALIGN="RIGHT" VALIGN="middle">
28 <xsl:value-of select="@tag"/>
30 <td class='marc_tag_data' COLSPAN='3'>
31 <xsl:value-of select="."/>
36 <xsl:template match="marc:datafield">
37 <tr class='marc_tag_row'>
38 <th class='marc_tag_col' NOWRAP="TRUE" ALIGN="RIGHT" VALIGN="middle">
39 <xsl:value-of select="@tag"/>
41 <td class='marc_tag_ind'>
42 <xsl:value-of select="@ind1"/>
45 <td class='marc_tag_ind' style='border-left: 1px solid #A0A0A0; padding-left: 3px;'>
46 <xsl:value-of select="@ind2"/>
47 <span style='color:#FFF'>.</span>
50 <td class='marc_subfields'>
51 <xsl:apply-templates select="marc:subfield"/>
56 <xsl:template match="marc:subfield">
57 <span style='color: blue;padding-left: 5px;padding-right: 5px;'>
58 ‡<xsl:value-of select="@code"/>
59 </span><xsl:value-of select="."/>
64 <!-- Stylus Studio meta-information - (c)1998-2002 eXcelon Corp.
66 <scenarios ><scenario default="no" name="Ray Charles" userelativepaths="yes" externalpreview="no" url="..\xml\MARC21slim\raycharles.xml" htmlbaseurl="" outputurl="" processortype="internal" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext=""/><scenario default="yes" name="s7" userelativepaths="yes" externalpreview="no" url="..\ifla\sally7.xml" htmlbaseurl="" outputurl="" processortype="internal" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext=""/></scenarios><MapperInfo srcSchemaPath="" srcSchemaRoot="" srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/>