view docs/xsls/module.xsls @ 4034:e2c075e774b6

Cache size accounting fix: actual cache size on disk was less than needed by sum of sizes of files loaded by worker processes themselves while cache loader was running. The bug has been introduced in r3900.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 25 Aug 2011 17:29:34 +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>
}

}