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