view docs/xslt/module.xslt @ 4059:cc72e6229416

Unsatisfiable range with start value greater than content length was not properly skipped. The bug has been introduced in r4057.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 30 Aug 2011 14:25:35 +0000
parents 131adbb6c82d
children da811964e37c
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

   <xsl:output indent="no" encoding="utf-8" method="html"/>

   <xsl:strip-space elements="*"/>

   <xsl:param select="'../xml'" name="XML"/>

   <xsl:variable select="/module/@link" name="LINK"/>

   <xsl:include href="directive.xslt"/>

   <xsl:include href="content.xslt"/>

   <xsl:template match="/module">

      <html>
         <head>

            <title>
               <xsl:value-of select="@title"/>
            </title>

         </head>

         <body>

            <xsl:apply-templates/>

         </body>

      </html>
   </xsl:template>

</xsl:stylesheet>