summaryrefslogtreecommitdiffhomepage
path: root/docs/xsls
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2011-10-09 06:49:54 +0000
committerRuslan Ermilov <ru@nginx.com>2011-10-09 06:49:54 +0000
commitc94b7e3d94cc260e64360613de6dc45da8236240 (patch)
tree034d8b1ca3ea2f8c1b70dac4222cc1315b533a3c /docs/xsls
parent94b5460c7002ff84cf675977c9b9f4228276ed6b (diff)
downloadnginx-c94b7e3d94cc260e64360613de6dc45da8236240.tar.gz
nginx-c94b7e3d94cc260e64360613de6dc45da8236240.tar.bz2
The reference documentation is moving elsewhere.
Diffstat (limited to 'docs/xsls')
-rw-r--r--docs/xsls/content.xsls67
-rw-r--r--docs/xsls/directive.xsls51
-rw-r--r--docs/xsls/module.xsls34
3 files changed, 0 insertions, 152 deletions
diff --git a/docs/xsls/content.xsls b/docs/xsls/content.xsls
deleted file mode 100644
index ef83c5843..000000000
--- a/docs/xsls/content.xsls
+++ /dev/null
@@ -1,67 +0,0 @@
-X:stylesheet {
-
- X:template = "section[@id and @name]" {
- <a name="{@id}" /> <center><h4> !{@name} </h4></center>
- !!;
- }
-
- X:template = "section[not(@id) and @name]" {
- <center><h4> !{@name} </h4></center>
- !!;
- }
-
- X:template = "section[not(@id) and not(@name)]" { !!; }
-
- X:template = "para" { <p> !!; </p> }
-
- X:template = "c-def" { <code> !!; </code> }
-
- X:template = "c-func" { <code> !!; X:text{()} </code> }
-
- X:template = "code" { <code> !!; </code> }
-
- X:template = "command" { <code> !!; </code> }
-
- X:template = "dq" {
- X:text disable-output-escaping="yes" {&amp;ldquo;}
- !!;
- X:text disable-output-escaping="yes" {&amp;rdquo;}
- }
-
- X:template = "example" { <blockquote><pre> !!; </pre></blockquote> }
-
- X:template = "emphasis" { <strong> !!; </strong> }
-
- X:template = "header" { <code> !!; </code> }
-
- X:template = "http-status" {
- !{@code} X:text{ (} !{@text} X:text{)}
- }
-
- X:template = "link[@url]" { <a href="{@url}"> !!; </a> }
- X:template = "link[@id and not(@doc)]" { <a href="#{@id}"> !!; </a> }
- X:template = "link[@doc and not(@id)]" {
- <a href="{substring-before(@doc, '.xml')}.html"> !!; </a>
- }
- X:template = "link[@id and @doc]" {
- <a href="{substring-before(@doc, '.xml')}.html#{@id}"> !!; </a>
- }
- X:template = "link" { <u> !!; </u> }
-
- X:template = "list[@type='bullet']" { <ul> !!; </ul> }
- X:template = "list[@type='enum']" { <ol> !!; </ol> }
- X:template = "listitem" { <li> !!; </li> }
-
- X:template = "list[@type='tag']" { <dl compact=""> !!; </dl> }
- X:template = "tag-name" { <dt> !!; </dt> }
- X:template = "tag-desc" { <dd> !!; </dd> }
-
- X:template = "pathname" { <code> !!; </code> }
-
- X:template = "argument" { <code><i> !!; </i></code> }
- X:template = "parameter" { <code> !!; </code> }
-
- X:template = "value" { <code> !!; </code> }
-
- X:template = "var" { <code> !!; </code> }
-}
diff --git a/docs/xsls/directive.xsls b/docs/xsls/directive.xsls
deleted file mode 100644
index 07ccf529e..000000000
--- a/docs/xsls/directive.xsls
+++ /dev/null
@@ -1,51 +0,0 @@
-X:stylesheet {
-
- X:template = "directive" {
- <hr/>
- <a name="{@name}"/>
- <!-- <center><h4> !{@name} </h4></center> -->
- !! "syntax";
- !! "default";
- !! "context";
- X:if "(@appeared-in)" {
- <strong>appeared in version</strong>: !{@appeared-in}
- }
- !! "para";
- }
-
- X:template = "syntax" {
- X:if "position() = 1" {
- <strong>syntax</strong>:
- } else {
- <code>&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;</code>
- }
- <code> !!; </code> <br/>
- }
-
- X:template = "default" {
- <strong>default</strong>:
- X:if "count(text()) = 0" {
- <strong>none</strong>
- } else {
- <code> !!; </code>
- }
- <br/>
- }
-
- X:template = "context" {
- X:if "position() = 1" {
- <strong>context</strong>:
- }
- X:if "count(text()) = 0" {
- <strong>any</strong>
- } else {
- <code> !!; </code>
- }
- X:if "position() != last()" {
- X:text{, }
- } else {
- <br/>
- }
- }
-
-}
diff --git a/docs/xsls/module.xsls b/docs/xsls/module.xsls
deleted file mode 100644
index 4743700bd..000000000
--- a/docs/xsls/module.xsls
+++ /dev/null
@@ -1,34 +0,0 @@
-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>
-}
-
-}