mirror of
https://github.com/nginx/nginx.git
synced 2024-11-28 16:39:00 +08:00
2a46092c5a
- Agreed that examples can only contain literal text. - Agreed to call modules "ngx_*_module". - Renamed XML element "http-error" to a more general "http-status". - Fixed text of error codes to match the actual code.
35 lines
555 B
Plaintext
35 lines
555 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 ID = "/module/@id";
|
|
|
|
X:include href = "directive.xslt";
|
|
X:include href = "content.xslt";
|
|
|
|
|
|
X:template = "/module" {
|
|
<html><head>
|
|
|
|
<title> !{@name} </title>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<center><h3> !{@name} </h3></center>
|
|
!!;
|
|
|
|
</body>
|
|
</html>
|
|
}
|
|
|
|
}
|