annotate xsls/content.xsls @ 32:2bcfb5f75e06

Supporting new format of <module> and <section>: <module name="..." ...> and <section id="..." name="..."> Old format should be eventually removed.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 30 Sep 2011 13:13:21 +0000
parents 9d3403f5204d
children 666e85596e3c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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]" {
2bcfb5f75e06 Supporting new format of <module> and <section>:
Igor Sysoev <igor@sysoev.ru>
parents: 22
diff changeset
4 <a name="{@id}" /> <center><h4> !{@name} </h4></center>
2bcfb5f75e06 Supporting new format of <module> and <section>:
Igor Sysoev <igor@sysoev.ru>
parents: 22
diff changeset
5 !!;
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
2bcfb5f75e06 Supporting new format of <module> and <section>:
Igor Sysoev <igor@sysoev.ru>
parents: 22
diff changeset
8 X:template = "section[not(@id) and @name]" {
2bcfb5f75e06 Supporting new format of <module> and <section>:
Igor Sysoev <igor@sysoev.ru>
parents: 22
diff changeset
9 <center><h4> !{@name} </h4></center>
2bcfb5f75e06 Supporting new format of <module> and <section>:
Igor Sysoev <igor@sysoev.ru>
parents: 22
diff changeset
10 !!;
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
2bcfb5f75e06 Supporting new format of <module> and <section>:
Igor Sysoev <igor@sysoev.ru>
parents: 22
diff changeset
13 X:template = "section[not(@id) and not(@name)]" { !!; }
2bcfb5f75e06 Supporting new format of <module> and <section>:
Igor Sysoev <igor@sysoev.ru>
parents: 22
diff changeset
14
2bcfb5f75e06 Supporting new format of <module> and <section>:
Igor Sysoev <igor@sysoev.ru>
parents: 22
diff changeset
15 <!-- legacy section templates -->
2bcfb5f75e06 Supporting new format of <module> and <section>:
Igor Sysoev <igor@sysoev.ru>
parents: 22
diff changeset
16
22
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
17 X:template = "section[@name and @title]" {
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
18 <a name="{@name}" /> <center><h4> !{@title} </h4></center>
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
19 !!;
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
20 }
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 = "section[not(@name) and @title]" {
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
23 <center><h4> !{@title} </h4></center>
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
24 !!;
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
25 }
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 = "section[not(@name) and not(@title)]" { !!; }
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
28
32
2bcfb5f75e06 Supporting new format of <module> and <section>:
Igor Sysoev <igor@sysoev.ru>
parents: 22
diff changeset
29 <!-- -->
2bcfb5f75e06 Supporting new format of <module> and <section>:
Igor Sysoev <igor@sysoev.ru>
parents: 22
diff changeset
30
22
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
31 X:template = "para" { <p> !!; </p> }
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
32
22
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
33 X:template = "item/para" { <p class="noindent"> !!; </p> }
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
34
22
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
35 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
36
22
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
37 X:template = "para[child::initial]" { <p class="noindent"> !!; </p> }
17
1fc034261cf4 Refactoring r16: "initial" should be property of text but not of paragraph.
Igor Sysoev <igor@sysoev.ru>
parents: 15
diff changeset
38
22
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
39 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
40
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
41
22
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
42 X:template = "programlisting" { <blockquote><pre> !!; </pre></blockquote> }
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
43
22
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
44 X:template = "para/programlisting" {
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
45 X:text disable-output-escaping="yes" {&lt;/p&gt; }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
46 <blockquote><pre> !!; </pre></blockquote>
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
47 X:text disable-output-escaping="yes" {&lt;p class="noindent"&gt; }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
48 }
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
49
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
50
22
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
51 X:template = "note" { <blockquote class="note"> !!; </blockquote> }
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
52
22
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
53 X:template = "para/note" {
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
54 X:text disable-output-escaping="yes" {&lt;/p&gt; }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
55 <blockquote class="note"> !!; </blockquote>
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
56 X:text disable-output-escaping="yes" {&lt;p class="noindent"&gt; }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
57 }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
58
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
59
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
60 X:template = "list" { <ul> !!; </ul> }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
61 X:template = "item" { <li> !!; </li> }
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
62
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
63
22
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
64 X:template = "orderedlist" { <ol> !!; </ol> }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
65 X:template = "item" { <li> !!; </li> }
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
66
22
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
67 X:template = "table[@note and @width]" {
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
68 <blockquote><table width="{@width}"> !!; </table></blockquote>
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
69 }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
70 X:template = "table[@note and not(@width)]" {
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
71 <blockquote><table width="100%"> !!; </table></blockquote>
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
72 }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
73 X:template = "table[not(@note) and @width]" {
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
74 <table width="{@width}"> !!; </table>
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
75 }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
76 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
77 X:template = "tr" { <tr> !!; </tr> }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
78 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
79 X:template = "td" { <td> !!; </td> }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
80
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
81 X:template = "command" { <code> !!; </code> }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
82
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
83 X:template = "example" { <blockquote><pre> !!; </pre></blockquote> }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
84
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
85 X:template = "pathname" { <code> !!; </code> }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
86
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
87 X:template = "argument" { <code><i> !!; </i></code> }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
88 X:template = "parameter" { <code> !!; </code> }
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
89
22
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
90 X:template = "header" {
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
91 X:text {&#8220;} !!; X:text {&#8221;}
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
92 }
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
93
22
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
94 X:template = "http-error" {
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
95 X:text { error code } !{@code} X:text { (} !{@text} X:text{)}
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
96 }
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
97
22
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
98 X:template = "dirname[/*[@lang='he']]" {
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
99 <nobr><span class="ltr">
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
100 X:text {&#8220;} !!; X:text {&#8221;}
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
101 </span></nobr>
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
102 }
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
103
22
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
104 X:template = "dirname" {
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
105 <nobr> X:text {&#8220;} !!; X:text {&#8221;} </nobr>
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
106 }
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
107
22
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
108 X:template = "url[/*[@lang='he']]" {
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
109 <i><span class="ltr"> !!; </span></i>
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
110 }
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
111
22
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
112 X:template = "url" { <i> !!;</i> }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
113
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
114 X:template = "path" { X:text {&#8220;} <code> !!; </code> X:text {&#8221;} }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
115 X:template = "code" { <code> !!; </code> }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
116 X:template = "i" { <i> !!; </i> }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
117 X:template = "b" { <b> !!; </b> }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
118 X:template = "nobr" { <nobr> !!; </nobr> }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
119 X:template = "mdash" { X:text {&#xA0;&#8212; } }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
120 X:template = "space" { X:text { } }
9d3403f5204d nginx-1.1.3, ngx_http_mp4_module
Igor Sysoev <igor@sysoev.ru>
parents: 17
diff changeset
121 X:template = "br" { <br/> }
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
122
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
123
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
124 }