1 <?xml version="1.0" encoding="utf-8"?>
4 # This file is part of Librarian.
6 # Copyright © 2008,2009,2010 Fundacja Nowoczesna Polska <fundacja@nowoczesnapolska.org.pl>
8 # For full list of contributors see AUTHORS file.
10 # This program is free software: you can redistribute it and/or modify
11 # it under the terms of the GNU Affero General Public License as published by
12 # the Free Software Foundation, either version 3 of the License, or
13 # (at your option) any later version.
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU Affero General Public License for more details.
20 # You should have received a copy of the GNU Affero General Public License
21 # along with this program. If not, see <http://www.gnu.org/licenses/>.
24 <xsl:stylesheet version="1.0"
25 xmlns="http://www.w3.org/1999/xhtml"
26 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
28 <xsl:param name="with-paths" select="boolean(0)" />
29 <xsl:param name="base-path" select="'.'"/>
30 <xsl:param name="base-offset" select="0" />
32 <xsl:include href="wl2html_base.xslt" />
37 omit-xml-declaration = "yes" />
39 <xsl:template match="/">
41 <xsl:apply-templates select="//chunk/child::node()" mode="element-tag">
42 <xsl:with-param name="offset" select="$base-offset" />
43 <xsl:with-param name="parent-path" select="$base-path" />
44 <xsl:with-param name="mixed" select="true()" />
45 </xsl:apply-templates>