nginx/docs/xsls/module.xsls
2011-08-05 09:25:34 +00:00

34 lines
519 B
Plaintext

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>
}
}