Mercurial > hg > nginx-site
annotate xsls/content.xsls @ 448:92672f6f0ee1
Elaborated on $http_* and $sent_http_* syntax.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 16 Mar 2012 06:16:13 +0000 |
parents | 4e3b681cae20 |
children | 6135f3c95bf6 |
rev | line source |
---|---|
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
1 X:stylesheet { |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
2 |
32
2bcfb5f75e06
Supporting new format of <module> and <section>:
Igor Sysoev <igor@sysoev.ru>
parents:
22
diff
changeset
|
3 X:template = "section[@id and @name]" { |
132 | 4 <a name="{@id}" /> <center><h4> !{@name} </h4></center> |
5 !!; | |
32
2bcfb5f75e06
Supporting new format of <module> and <section>:
Igor Sysoev <igor@sysoev.ru>
parents:
22
diff
changeset
|
6 } |
2bcfb5f75e06
Supporting new format of <module> and <section>:
Igor Sysoev <igor@sysoev.ru>
parents:
22
diff
changeset
|
7 |
110
40eec261c2a6
Added proper support for anonymous sections, notably for the summary.
Ruslan Ermilov <ru@nginx.com>
parents:
103
diff
changeset
|
8 X:template = "section[@id and not(@name)]" { |
132 | 9 <a name="{@id}" /> |
10 !!; | |
32
2bcfb5f75e06
Supporting new format of <module> and <section>:
Igor Sysoev <igor@sysoev.ru>
parents:
22
diff
changeset
|
11 } |
2bcfb5f75e06
Supporting new format of <module> and <section>:
Igor Sysoev <igor@sysoev.ru>
parents:
22
diff
changeset
|
12 |
121
49443032011c
Unified <section> syntax for "article" and "module" documents.
Ruslan Ermilov <ru@nginx.com>
parents:
110
diff
changeset
|
13 X:template = "section[not(@id) and @name]" { |
132 | 14 <center><h4> !{@name} </h4></center> |
15 !!; | |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
16 } |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
17 |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
18 X:template = "para" { <p> !!; </p> } |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
19 |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
20 X:template = "para[@align]" { <p align="{@align}"> !!; </p> } |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
21 |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
22 X:template = "initial" { <span class="initial"><b> !!; </b></span> } |
15
2f7420346aee
Initial emphasizing support. Using it for "Q:" and "A:" letter in FAQ.
Igor Sysoev <igor@sysoev.ru>
parents:
0
diff
changeset
|
23 |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
24 |
354
4e3b681cae20
Unified the padding and margins of examples and notes blocks.
Ruslan Ermilov <ru@nginx.com>
parents:
271
diff
changeset
|
25 X:template = "programlisting" { <blockquote class="example"><pre> !!; </pre></blockquote> } |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
26 |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
27 X:template = "para/programlisting" { |
132 | 28 X:text disable-output-escaping="yes" {</p> } |
354
4e3b681cae20
Unified the padding and margins of examples and notes blocks.
Ruslan Ermilov <ru@nginx.com>
parents:
271
diff
changeset
|
29 <blockquote class="example"><pre> !!; </pre></blockquote> |
132 | 30 X:text disable-output-escaping="yes" {<p> } |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
31 } |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
32 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
33 |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
34 X:template = "note" { <blockquote class="note"> !!; </blockquote> } |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
35 |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
36 X:template = "para/note" { |
132 | 37 X:text disable-output-escaping="yes" {</p> } |
38 <blockquote class="note"> !!; </blockquote> | |
39 X:text disable-output-escaping="yes" {<p> } | |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
40 } |
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
41 |
57
12f1de4539b4
Initial English translation of ngx_http_core_module.
Ruslan Ermilov <ru@nginx.com>
parents:
52
diff
changeset
|
42 X:template = "list[@type='bullet']" { <ul> !!; </ul> } |
92
4b0182b7b1e5
Fixed HTML for <list> inside <para>.
Ruslan Ermilov <ru@nginx.com>
parents:
90
diff
changeset
|
43 X:template = "para/list[@type='bullet']" { |
132 | 44 X:text disable-output-escaping="yes" {</p> } |
92
4b0182b7b1e5
Fixed HTML for <list> inside <para>.
Ruslan Ermilov <ru@nginx.com>
parents:
90
diff
changeset
|
45 <ul> !!; </ul> |
132 | 46 X:text disable-output-escaping="yes" {<p> } |
92
4b0182b7b1e5
Fixed HTML for <list> inside <para>.
Ruslan Ermilov <ru@nginx.com>
parents:
90
diff
changeset
|
47 } |
4b0182b7b1e5
Fixed HTML for <list> inside <para>.
Ruslan Ermilov <ru@nginx.com>
parents:
90
diff
changeset
|
48 |
57
12f1de4539b4
Initial English translation of ngx_http_core_module.
Ruslan Ermilov <ru@nginx.com>
parents:
52
diff
changeset
|
49 X:template = "list[@type='enum']" { <ol> !!; </ol> } |
92
4b0182b7b1e5
Fixed HTML for <list> inside <para>.
Ruslan Ermilov <ru@nginx.com>
parents:
90
diff
changeset
|
50 X:template = "para/list[@type='enum']" { |
132 | 51 X:text disable-output-escaping="yes" {</p> } |
92
4b0182b7b1e5
Fixed HTML for <list> inside <para>.
Ruslan Ermilov <ru@nginx.com>
parents:
90
diff
changeset
|
52 <ol> !!; </ol> |
132 | 53 X:text disable-output-escaping="yes" {<p> } |
92
4b0182b7b1e5
Fixed HTML for <list> inside <para>.
Ruslan Ermilov <ru@nginx.com>
parents:
90
diff
changeset
|
54 } |
4b0182b7b1e5
Fixed HTML for <list> inside <para>.
Ruslan Ermilov <ru@nginx.com>
parents:
90
diff
changeset
|
55 |
57
12f1de4539b4
Initial English translation of ngx_http_core_module.
Ruslan Ermilov <ru@nginx.com>
parents:
52
diff
changeset
|
56 X:template = "listitem" { <li> !!; </li> } |
12f1de4539b4
Initial English translation of ngx_http_core_module.
Ruslan Ermilov <ru@nginx.com>
parents:
52
diff
changeset
|
57 |
12f1de4539b4
Initial English translation of ngx_http_core_module.
Ruslan Ermilov <ru@nginx.com>
parents:
52
diff
changeset
|
58 X:template = "list[@type='tag']" { <dl compact=""> !!; </dl> } |
92
4b0182b7b1e5
Fixed HTML for <list> inside <para>.
Ruslan Ermilov <ru@nginx.com>
parents:
90
diff
changeset
|
59 X:template = "para/list[@type='tag']" { |
132 | 60 X:text disable-output-escaping="yes" {</p> } |
92
4b0182b7b1e5
Fixed HTML for <list> inside <para>.
Ruslan Ermilov <ru@nginx.com>
parents:
90
diff
changeset
|
61 <dl compact=""> !!; </dl> |
132 | 62 X:text disable-output-escaping="yes" {<p> } |
92
4b0182b7b1e5
Fixed HTML for <list> inside <para>.
Ruslan Ermilov <ru@nginx.com>
parents:
90
diff
changeset
|
63 } |
4b0182b7b1e5
Fixed HTML for <list> inside <para>.
Ruslan Ermilov <ru@nginx.com>
parents:
90
diff
changeset
|
64 |
57
12f1de4539b4
Initial English translation of ngx_http_core_module.
Ruslan Ermilov <ru@nginx.com>
parents:
52
diff
changeset
|
65 X:template = "tag-name" { <dt> !!; </dt> } |
12f1de4539b4
Initial English translation of ngx_http_core_module.
Ruslan Ermilov <ru@nginx.com>
parents:
52
diff
changeset
|
66 X:template = "tag-desc" { <dd> !!; </dd> } |
12f1de4539b4
Initial English translation of ngx_http_core_module.
Ruslan Ermilov <ru@nginx.com>
parents:
52
diff
changeset
|
67 |
12f1de4539b4
Initial English translation of ngx_http_core_module.
Ruslan Ermilov <ru@nginx.com>
parents:
52
diff
changeset
|
68 <!-- legacy list templates --> |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
69 |
103 | 70 X:template = "list[not(@type)]" { <ul> !!; </ul> } |
71 X:template = "para/list[not(@type)]" { | |
132 | 72 X:text disable-output-escaping="yes" {</p> } |
73 <ul> !!; </ul> | |
74 X:text disable-output-escaping="yes" {<p> } | |
103 | 75 } |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
76 X:template = "item" { <li> !!; </li> } |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
77 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
78 |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
79 X:template = "orderedlist" { <ol> !!; </ol> } |
103 | 80 X:template = "para/orderedlist" { |
132 | 81 X:text disable-output-escaping="yes" {</p> } |
82 <ol> !!; </ol> | |
83 X:text disable-output-escaping="yes" {<p> } | |
103 | 84 } |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
85 X:template = "item" { <li> !!; </li> } |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
86 |
57
12f1de4539b4
Initial English translation of ngx_http_core_module.
Ruslan Ermilov <ru@nginx.com>
parents:
52
diff
changeset
|
87 <!-- --> |
12f1de4539b4
Initial English translation of ngx_http_core_module.
Ruslan Ermilov <ru@nginx.com>
parents:
52
diff
changeset
|
88 |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
89 X:template = "table[@note and @width]" { |
132 | 90 <blockquote><table width="{@width}"> !!; </table></blockquote> |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
91 } |
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
92 X:template = "table[@note and not(@width)]" { |
132 | 93 <blockquote><table width="100%"> !!; </table></blockquote> |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
94 } |
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
95 X:template = "table[not(@note) and @width]" { |
132 | 96 <table width="{@width}"> !!; </table> |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
97 } |
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
98 X:template = "table" { <table width="100%"> !!; </table> } |
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
99 X:template = "tr" { <tr> !!; </tr> } |
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
100 X:template = "td[@width]" { <td width="{@width}"> !!; </td> } |
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
101 X:template = "td" { <td> !!; </td> } |
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
102 |
57
12f1de4539b4
Initial English translation of ngx_http_core_module.
Ruslan Ermilov <ru@nginx.com>
parents:
52
diff
changeset
|
103 X:template = "c-def" { <code> !!; </code> } |
12f1de4539b4
Initial English translation of ngx_http_core_module.
Ruslan Ermilov <ru@nginx.com>
parents:
52
diff
changeset
|
104 |
12f1de4539b4
Initial English translation of ngx_http_core_module.
Ruslan Ermilov <ru@nginx.com>
parents:
52
diff
changeset
|
105 X:template = "c-func" { <code> !!; X:text{()} </code> } |
12f1de4539b4
Initial English translation of ngx_http_core_module.
Ruslan Ermilov <ru@nginx.com>
parents:
52
diff
changeset
|
106 |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
107 X:template = "command" { <code> !!; </code> } |
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
108 |
57
12f1de4539b4
Initial English translation of ngx_http_core_module.
Ruslan Ermilov <ru@nginx.com>
parents:
52
diff
changeset
|
109 X:template = "emphasis" { <strong> !!; </strong> } |
12f1de4539b4
Initial English translation of ngx_http_core_module.
Ruslan Ermilov <ru@nginx.com>
parents:
52
diff
changeset
|
110 |
354
4e3b681cae20
Unified the padding and margins of examples and notes blocks.
Ruslan Ermilov <ru@nginx.com>
parents:
271
diff
changeset
|
111 X:template = "example" { <blockquote class="example"><pre> !!; </pre></blockquote> } |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
112 |
90
e4e9f7bc885f
Fixed HTML for <example> inside <para>.
Ruslan Ermilov <ru@nginx.com>
parents:
71
diff
changeset
|
113 X:template = "para/example" { |
132 | 114 X:text disable-output-escaping="yes" {</p> } |
354
4e3b681cae20
Unified the padding and margins of examples and notes blocks.
Ruslan Ermilov <ru@nginx.com>
parents:
271
diff
changeset
|
115 <blockquote class="example"><pre> !!; </pre></blockquote> |
132 | 116 X:text disable-output-escaping="yes" {<p> } |
90
e4e9f7bc885f
Fixed HTML for <example> inside <para>.
Ruslan Ermilov <ru@nginx.com>
parents:
71
diff
changeset
|
117 } |
e4e9f7bc885f
Fixed HTML for <example> inside <para>.
Ruslan Ermilov <ru@nginx.com>
parents:
71
diff
changeset
|
118 |
271 | 119 X:template = "literal" { <code> !!; </code> } |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
120 |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
121 X:template = "header" { |
132 | 122 X:text {“} !!; X:text {”} |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
123 } |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
124 |
52
666e85596e3c
Added support for <link url="..."> which should eventually replace
Ruslan Ermilov <ru@nginx.com>
parents:
32
diff
changeset
|
125 X:template = "http-status" { |
666e85596e3c
Added support for <link url="..."> which should eventually replace
Ruslan Ermilov <ru@nginx.com>
parents:
32
diff
changeset
|
126 !{@code} X:text { (} !{@text} X:text{)} |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
127 } |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
128 |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
129 X:template = "url[/*[@lang='he']]" { |
132 | 130 <i><span class="ltr"> !!; </span></i> |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
131 } |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
132 |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
133 X:template = "url" { <i> !!;</i> } |
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
134 |
271 | 135 X:template = "value" { <code><i> !!; </i></code> } |
57
12f1de4539b4
Initial English translation of ngx_http_core_module.
Ruslan Ermilov <ru@nginx.com>
parents:
52
diff
changeset
|
136 |
126
d4133c439eeb
'registered' element added
Sergey Budnevitch <sb@waeme.net>
parents:
121
diff
changeset
|
137 X:template = "registered" { !!; <sup> X:text {®} </sup> } |
d4133c439eeb
'registered' element added
Sergey Budnevitch <sb@waeme.net>
parents:
121
diff
changeset
|
138 |
57
12f1de4539b4
Initial English translation of ngx_http_core_module.
Ruslan Ermilov <ru@nginx.com>
parents:
52
diff
changeset
|
139 X:template = "var" { <code> !!; </code> } |
12f1de4539b4
Initial English translation of ngx_http_core_module.
Ruslan Ermilov <ru@nginx.com>
parents:
52
diff
changeset
|
140 |
148
682163f2b298
Unified article/path and module/pathname into a single "path".
Ruslan Ermilov <ru@nginx.com>
parents:
147
diff
changeset
|
141 X:template = "path" { <code> !!; </code> } |
22
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
142 X:template = "i" { <i> !!; </i> } |
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
143 X:template = "b" { <b> !!; </b> } |
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
144 X:template = "nobr" { <nobr> !!; </nobr> } |
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
145 X:template = "mdash" { X:text { — } } |
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
146 X:template = "space" { X:text { } } |
9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents:
17
diff
changeset
|
147 X:template = "br" { <br/> } |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
148 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
149 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
150 } |