Added copyright notice about AGPL. Removed setuputils in favour of plain distutils.
[librarian.git] / librarian / xslt / wl2html_partial.xslt
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 #
4 #    This file is part of Librarian.
5 #
6 #    Copyright © 2008,2009,2010 Fundacja Nowoczesna Polska <fundacja@nowoczesnapolska.org.pl>
7 #    
8 #    For full list of contributors see AUTHORS file. 
9 #
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.
14 #
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.
19 #
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/>.
22 #
23 -->
24 <xsl:stylesheet version="1.0"    
25     xmlns="http://www.w3.org/1999/xhtml"    
26     xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
27
28     <xsl:param name="with-paths" select="boolean(0)" />
29     <xsl:param name="base-path" select="'.'"/>
30     <xsl:param name="base-offset" select="0" />
31     
32     <xsl:include href="wl2html_base.xslt" />    
33     
34     <xsl:output
35         encoding="utf-8"
36         indent="yes"
37         omit-xml-declaration = "yes" />
38
39     <xsl:template match="/">
40         <chunk>
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>
46         </chunk>
47     </xsl:template>    
48     
49 </xsl:stylesheet>