view docs/xsls/module.xsls @ 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 fc808f006ff4
children ac19e755a132
line wrap: on
line source

X:stylesheet {

X:output method="html" indent="no" encoding="utf-8";

X:strip-space elements = "*";

<!--
  -- a current directory of a XSLT script is where the script is stored,
  -- but not where XSLT processor has been started to run the script
  -->
X:param XML = "'../xml'";

X:var LINK = "/module/@link";

X:include href = "directive.xslt";
X:include href = "content.xslt";


X:template = "/module" {
    <html><head>

    <title> !{@title} </title>

    </head>
    <body>

    !!;

    </body>
    </html>
}

}