1 <?xml version=
"1.0" encoding=
"UTF-8"?>
4 $Id: zebra.xsl,v 1.2 2007-12-13 17:42:28 adam Exp $
5 Copyright (C) 1995-2006
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
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
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,
26 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform"
27 xmlns:
z=
"http://indexdata.com/zebra-2.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=
"/">
42 z:
filename=
"{$filename}"