adding set_curcfg() call to tsearch2 configuration script for 8.2 and 8.1; fixing...
[Evergreen.git] / Open-ILS / xsl / oilsMARC21slim2HTML.xsl
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"/>
4         
5         <xsl:template match="/">
6                 <html>
7                         <head>
8
9                                 <style>
10
11                                         .marc_table {}
12                                         .marc_tag_row {}
13                                         .marc_tag_data {}
14                                         .marc_tag_col {}
15                                         .marc_tag_ind {}
16                                         .marc_subfields {}
17                                         .marc_subfield_code { 
18                                                 color: blue; 
19                                                 padding-left: 5px;
20                                                 padding-right: 5px; 
21                                         }
22
23                                 </style>
24
25                                 <link href='/css/opac_marc.css' rel='stylesheet' type='text/css'></link>
26                         </head>
27                         <body>
28                                 <div><button onclick='window.print();'>Print Page</button></div>
29                                 <xsl:apply-templates/>
30                         </body>
31                 </html>
32         </xsl:template>
33         
34         <xsl:template match="marc:record">
35                 <table class='marc_table'>
36                         <tr class='marc_tag_row'>
37                                 <th class='marc_tag_col' NOWRAP="TRUE" ALIGN="RIGHT" VALIGN="middle">
38                                         LDR
39                                 </th>
40                                 <td class='marc_tag_data' COLSPAN='3'>
41                                         <xsl:value-of select="marc:leader"/>
42                                 </td>
43                         </tr>
44                         <xsl:apply-templates select="marc:datafield|marc:controlfield"/>
45                 </table>
46         </xsl:template>
47         
48         <xsl:template match="marc:controlfield">
49                 <tr class='marc_tag_row'>
50                         <th class='marc_tag_col' NOWRAP="TRUE" ALIGN="RIGHT" VALIGN="middle">
51                                 <xsl:value-of select="@tag"/>
52                         </th>
53                         <td class='marc_tag_data' COLSPAN='3'>
54                                 <xsl:value-of select="."/>
55                         </td>
56                 </tr>
57         </xsl:template>
58         
59         <xsl:template match="marc:datafield">
60                 <tr class='marc_tag_row'>
61                         <th class='marc_tag_col' NOWRAP="TRUE" ALIGN="RIGHT" VALIGN="middle">
62                                 <xsl:value-of select="@tag"/>
63                         </th>
64                         <td class='marc_tag_ind'>
65                                 <xsl:value-of select="@ind1"/>
66                         </td>
67
68                         <td class='marc_tag_ind' style='border-left: 1px solid #A0A0A0; padding-left: 3px;'>
69                                 <xsl:value-of select="@ind2"/>
70                                 <span style='color:#FFF'>.</span> 
71                         </td>
72
73                         <td class='marc_subfields'>
74                                 <xsl:apply-templates select="marc:subfield"/>
75                         </td>
76                 </tr>
77         </xsl:template>
78         
79         <xsl:template match="marc:subfield">
80                 <span class='marc_subfield_code' > 
81                         &#8225;<xsl:value-of select="@code"/>
82                 </span><xsl:value-of select="."/>       
83         </xsl:template>
84
85 </xsl:stylesheet>
86
87 <!-- Stylus Studio meta-information - (c)1998-2002 eXcelon Corp.
88 <metaInformation>
89 <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"/>
90 </metaInformation>
91 -->