putting the style directly into the xsl
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 30 Aug 2005 16:41:13 +0000 (16:41 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 30 Aug 2005 16:41:13 +0000 (16:41 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1773 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xsl/oilsMARC21slim2HTML.xsl

index cc31e18..ce515e9 100644 (file)
@@ -5,6 +5,23 @@
        <xsl:template match="/">
                <html>
                        <head>
+
+                               <style>
+
+                                       .marc_table {}
+                                       .marc_tag_row {}
+                                       .marc_tag_data {}
+                                       .marc_tag_col {}
+                                       .marc_tag_ind {}
+                                       .marc_subfields {}
+                                       .marc_subfield_code { 
+                                               color: blue; 
+                                               padding-left: 5px;
+                                               padding-right: 5px; 
+                                       }
+
+                               </style>
+
                                <link href='/css/opac_marc.css' rel='stylesheet' type='text/css'></link>
                        </head>
                        <xsl:apply-templates/>
@@ -57,7 +74,9 @@
        </xsl:template>
        
        <xsl:template match="marc:subfield">
-               <span class='marc_subfield_code'>&#8225;<xsl:value-of select="@code"/></span><xsl:value-of select="."/> 
+               <span class='marc_subfield_code' > 
+                       &#8225;<xsl:value-of select="@code"/>
+               </span><xsl:value-of select="."/>       
        </xsl:template>
 
 </xsl:stylesheet>