view docs/xslt/module.xslt @ 4062:82738a316a54

The "max_ranges" directive. "max_ranges 0" disables ranges support at all, "max_ranges 1" allows the single range, etc. By default number of ranges is unlimited, to be precise, 2^31-1.
author Igor Sysoev <igor@sysoev.ru>
date Wed, 31 Aug 2011 09:40:55 +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>