[Koha-patches] [PATCH] Bugs 3646 and 2651: Changes the output of compact.xsl from html to xhtml.

Nicole Engard nengard at gmail.com
Sun Feb 7 14:09:07 CET 2010


This doesn't appear to have been pushed to HEAD yet.

On Fri, Sep 18, 2009 at 11:29 AM, Garry Collum <gcollum at gmail.com> wrote:
> Changes the output of compact.xsl to XHTML for catalogue/showmarc.pl?viewas=card.
>
> Adds <title> element in <head>.
> Removes link to nonexistent css file (bug 2651).
> ---
>  koha-tmpl/intranet-tmpl/prog/en/xslt/compact.xsl |    6 +++---
>  1 files 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 0916cda..43d7f53 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</title>
>           </head>
>           <body>
>            <xsl:apply-templates/>
> --
> 1.5.6.5
>
> _______________________________________________
> Koha-patches mailing list
> Koha-patches at lists.koha.org
> http://lists.koha.org/mailman/listinfo/koha-patches
>



More information about the Koha-patches mailing list