From c6805cea9da3b8dbc90bfdcd9f71e040aae6a9af Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Fri, 18 Sep 2009 12:29:57 -0400 Subject: [PATCH] Bugs 3646 and 2651: Changes the output of compact.xsl from html to xhtml. Changes the output of compact.xsl to XHTML for catalogue/showmarc.pl?viewas=card. Adds element in <head>. Removes link to nonexistent css file (bug 2651). Signed-off-by: Galen Charlton <gmcharlt@gmail.com> --- koha-tmpl/intranet-tmpl/prog/en/xslt/compact.xsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/compact.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/compact.xsl index 0916cda9ed..43d7f537f0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/compact.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/compact.xsl @@ -4,13 +4,13 @@ xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:marc="http://www.loc.gov/MARC21/slim" + exclude-result-prefixes="xsi marc" version="1.0"> - <xsl:output method="html" doctype-public="-//W3C/DTD HTML 4.01 Transitional//EN" doctype-system="http://www.w3.org/TR/html4/strict.dtd" /> + <xsl:output method="xml" version="1.0" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" /> <xsl:template match="/"> <html> <head> - <meta http-equiv="Content-Type" content="text/html" charset="utf-8"/> - <link href="/koha-tmpl/opac-tmpl/prog/en/css/xsl.css" rel="stylesheet" type="text/css" /> + <title>MARC Card View -- 2.39.5