1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (C) 1995-2013
6 This file is part of the Zebra server.
8 Zebra is free software; you can redistribute it and/or modify it under
9 the terms of the GNU General Public License as published by the Free
10 Software Foundation; either version 2, or (at your option) any later
13 Zebra is distributed in the hope that it will be useful, but WITHOUT ANY
14 WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 You should have received a copy of the GNU General Public License
19 along with Zebra; see the file LICENSE.zebra. If not, write to the
20 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
24 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
25 xmlns:z="http://indexdata.com/zebra-2.0"
28 <xsl:param name="id" select="''"/>
29 <xsl:param name="filename" select="''"/>
30 <xsl:param name="rank" select="''"/>
31 <xsl:param name="score" select="''"/>
32 <xsl:param name="schema" select="''"/>
33 <xsl:param name="size" select="''"/>
35 <xsl:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/>
37 <!-- match on any record -->
38 <xsl:template match="/">
40 z:filename="{$filename}"