[open-ils-commits] r8429 - branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/xsl

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Jan 18 17:42:44 EST 2008


Author: erickson
Date: 2008-01-18 17:16:53 -0500 (Fri, 18 Jan 2008)
New Revision: 8429

Modified:
   branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/xsl/oilsMARC21slim2HTML.xsl
Log:
cleaned up XSL to remove html/head/body tags

Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/xsl/oilsMARC21slim2HTML.xsl
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/xsl/oilsMARC21slim2HTML.xsl	2008-01-18 22:07:24 UTC (rev 8428)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/xsl/oilsMARC21slim2HTML.xsl	2008-01-18 22:16:53 UTC (rev 8429)
@@ -3,29 +3,22 @@
 	<xsl:output method="html"/>
 	
 	<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>
-			</head>
-			<body>
-				<xsl:apply-templates/>
-			</body>
-		</html>
+        <div>
+            <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>
+            <xsl:apply-templates/>
+        </div>
 	</xsl:template>
 	
 	<xsl:template match="marc:record">



More information about the open-ils-commits mailing list