nginx/docs/xsls/module.xsls

35 lines
555 B
Plaintext
Raw Normal View History

2011-08-05 17:25:34 +08:00
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'";
2011-09-05 17:32:00 +08:00
X:var ID = "/module/@id";
2011-08-05 17:25:34 +08:00
X:include href = "directive.xslt";
X:include href = "content.xslt";
X:template = "/module" {
<html><head>
2011-09-05 17:32:00 +08:00
<title> !{@name} </title>
2011-08-05 17:25:34 +08:00
</head>
<body>
<center><h3> !{@name} </h3></center>
2011-08-05 17:25:34 +08:00
!!;
</body>
</html>
}
}