fix expected html output to contain secX anchors
[librarian.git] / librarian / xslt / wl2html_partial.xslt
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3
4    This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
5    Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
6
7 -->
8 <xsl:stylesheet version="1.0"
9     xmlns="http://www.w3.org/1999/xhtml"
10     xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
11
12     <xsl:param name="with-paths" select="boolean(0)" />
13     <xsl:param name="base-path" select="'.'"/>
14     <xsl:param name="base-offset" select="0" />
15
16     <xsl:include href="wl2html_base.xslt" />
17
18     <xsl:output
19         encoding="utf-8"
20         indent="yes"
21         omit-xml-declaration = "yes" />
22
23     <xsl:template match="/">
24         <chunk>
25         <xsl:apply-templates select="//chunk/child::node()" mode="element-tag">
26             <xsl:with-param name="offset" select="$base-offset" />
27             <xsl:with-param name="parent-path" select="$base-path" />
28             <xsl:with-param name="mixed" select="true()" />
29         </xsl:apply-templates>
30         </chunk>
31     </xsl:template>
32
33 </xsl:stylesheet>