Bug 12704: Remove CGI::scrolling_list from unimarc_field_225a.pl
[koha.git] / etc / zebradb / xsl / zebra.xsl
blob9eb670fc781bc058d78579fda68838a76d009cbf
1 <?xml version="1.0" encoding="UTF-8"?>
3 <!--
4 $Id: zebra.xsl,v 1.2 2007-12-13 17:42:28 adam Exp $
5 Copyright (C) 1995-2006
6 Index Data ApS
8 This file is part of the Zebra server.
10 Zebra is free software; you can redistribute it and/or modify it under
11 the terms of the GNU General Public License as published by the Free
12 Software Foundation; either version 2, or (at your option) any later
13 version.
15 Zebra is distributed in the hope that it will be useful, but WITHOUT ANY
16 WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 for more details.
20 You should have received a copy of the GNU General Public License
21 along with Zebra; see the file LICENSE.zebra. If not, write to the
22 Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
23 MA 02110-1301 USA.
24 -->
26 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
27 xmlns:z="http://indexdata.com/zebra-2.0"
28 version="1.0">
30 <xsl:param name="id" select="''"/>
31 <xsl:param name="filename" select="''"/>
32 <xsl:param name="rank" select="''"/>
33 <xsl:param name="score" select="''"/>
34 <xsl:param name="schema" select="''"/>
35 <xsl:param name="size" select="''"/>
37 <xsl:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/>
39 <!-- match on any record -->
40 <xsl:template match="/">
41 <z:info z:id="{$id}"
42 z:filename="{$filename}"
43 z:rank="{$rank}"
44 z:score="{$score}"
45 z:schema="{$schema}"
46 z:size="{$size}"/>
47 </xsl:template>
49 </xsl:stylesheet>