02c89c750306eaba4d17218973039af55be8823d
[librarian.git] / librarian / xslt / wl2html_full.xslt
1 <xsl:stylesheet version="1.0"    
2     xmlns="http://www.w3.org/1999/xhtml"    
3     xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
4
5     <xsl:param name="with-paths" select="boolean(0)" />       
6     <xsl:param name="with-annotations" select="boolean(1)" />
7     
8     <xsl:include href="wl2html_base.xslt" />
9     <xsl:output encoding="utf-8" indent="yes" omit-xml-declaration = "yes" />
10
11     <xsl:template match="/">
12         <div class="document">
13
14             <xsl:if test="with-toc" />
15
16             <xsl:apply-templates select="/utwor" mode="element-tag">                
17                 <xsl:with-param name="parentpath" select="''" />
18                 <xsl:with-param name="offset" select="0" />
19                 <xsl:with-param name="mixed" select="false()" />
20             </xsl:apply-templates>
21
22             <xsl:if test="with-annotations" />
23         </div>
24     </xsl:template>
25
26 </xsl:stylesheet>