Mercurial > hg > nginx-site
comparison xsls/content.xsls @ 22:9d3403f5204d
nginx-1.1.3, ngx_http_mp4_module
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 14 Sep 2011 15:05:04 +0000 |
parents | 1fc034261cf4 |
children | 2bcfb5f75e06 |
comparison
equal
deleted
inserted
replaced
21:a6e1763d5590 | 22:9d3403f5204d |
---|---|
1 X:stylesheet { | 1 X:stylesheet { |
2 | 2 |
3 X:template = "section[@name and @title]" { | 3 X:template = "section[@name and @title]" { |
4 <a name="{@name}" /> <center><h4> !{@title} </h4></center> | 4 <a name="{@name}" /> <center><h4> !{@title} </h4></center> |
5 !!; | 5 !!; |
6 } | 6 } |
7 | 7 |
8 X:template = "section[not(@name) and @title]" { | 8 X:template = "section[not(@name) and @title]" { |
9 <center><h4> !{@title} </h4></center> | 9 <center><h4> !{@title} </h4></center> |
10 !!; | 10 !!; |
11 } | 11 } |
12 | 12 |
13 X:template = "section[not(@name) and not(@title)]" { !!; } | 13 X:template = "section[not(@name) and not(@title)]" { !!; } |
14 | 14 |
15 X:template = "para" { <p> !!; </p> } | 15 X:template = "para" { <p> !!; </p> } |
16 | 16 |
17 X:template = "item/para" { <p class="noindent"> !!; </p> } | 17 X:template = "item/para" { <p class="noindent"> !!; </p> } |
18 | 18 |
19 X:template = "para[@align]" { <p align="{@align}"> !!; </p> } | 19 X:template = "para[@align]" { <p align="{@align}"> !!; </p> } |
20 | 20 |
21 X:template = "para[child::initial]" { <p class="noindent"> !!; </p> } | 21 X:template = "para[child::initial]" { <p class="noindent"> !!; </p> } |
22 | 22 |
23 X:template = "initial" { <span class="initial"><b> !!; </b></span> } | 23 X:template = "initial" { <span class="initial"><b> !!; </b></span> } |
24 | 24 |
25 | 25 |
26 X:template = "programlisting" { <blockquote><pre> !!; </pre></blockquote> } | 26 X:template = "programlisting" { <blockquote><pre> !!; </pre></blockquote> } |
27 | 27 |
28 X:template = "para/programlisting" { | 28 X:template = "para/programlisting" { |
29 X:text disable-output-escaping="yes" {</p> } | 29 X:text disable-output-escaping="yes" {</p> } |
30 <blockquote><pre> !!; </pre></blockquote> | 30 <blockquote><pre> !!; </pre></blockquote> |
31 X:text disable-output-escaping="yes" {<p class="noindent"> } | 31 X:text disable-output-escaping="yes" {<p class="noindent"> } |
32 } | 32 } |
33 | 33 |
34 | 34 |
35 X:template = "note" { <blockquote class="note"> !!; </blockquote> } | 35 X:template = "note" { <blockquote class="note"> !!; </blockquote> } |
36 | 36 |
37 X:template = "para/note" { | 37 X:template = "para/note" { |
38 X:text disable-output-escaping="yes" {</p> } | 38 X:text disable-output-escaping="yes" {</p> } |
39 <blockquote class="note"> !!; </blockquote> | 39 <blockquote class="note"> !!; </blockquote> |
40 X:text disable-output-escaping="yes" {<p class="noindent"> } | 40 X:text disable-output-escaping="yes" {<p class="noindent"> } |
41 } | 41 } |
42 | 42 |
43 | 43 |
44 X:template = "list" { <ul> !!; </ul> } | 44 X:template = "list" { <ul> !!; </ul> } |
45 X:template = "item" { <li> !!; </li> } | 45 X:template = "item" { <li> !!; </li> } |
46 | 46 |
47 | 47 |
48 X:template = "orderedlist" { <ol> !!; </ol> } | 48 X:template = "orderedlist" { <ol> !!; </ol> } |
49 X:template = "item" { <li> !!; </li> } | 49 X:template = "item" { <li> !!; </li> } |
50 | 50 |
51 X:template = "table[@note and @width]" { | 51 X:template = "table[@note and @width]" { |
52 <blockquote><table width="{@width}"> !!; </table></blockquote> | 52 <blockquote><table width="{@width}"> !!; </table></blockquote> |
53 } | 53 } |
54 X:template = "table[@note and not(@width)]" { | 54 X:template = "table[@note and not(@width)]" { |
55 <blockquote><table width="100%"> !!; </table></blockquote> | 55 <blockquote><table width="100%"> !!; </table></blockquote> |
56 } | 56 } |
57 X:template = "table[not(@note) and @width]" { | 57 X:template = "table[not(@note) and @width]" { |
58 <table width="{@width}"> !!; </table> | 58 <table width="{@width}"> !!; </table> |
59 } | 59 } |
60 X:template = "table" { <table width="100%"> !!; </table> } | 60 X:template = "table" { <table width="100%"> !!; </table> } |
61 X:template = "tr" { <tr> !!; </tr> } | 61 X:template = "tr" { <tr> !!; </tr> } |
62 X:template = "td[@width]" { <td width="{@width}"> !!; </td> } | 62 X:template = "td[@width]" { <td width="{@width}"> !!; </td> } |
63 X:template = "td" { <td> !!; </td> } | 63 X:template = "td" { <td> !!; </td> } |
64 | 64 |
65 X:template = "header" { | 65 X:template = "command" { <code> !!; </code> } |
66 X:text {“} !!; X:text {”} | |
67 } | |
68 | 66 |
69 X:template = "dirname[/*[@lang='he']]" { | 67 X:template = "example" { <blockquote><pre> !!; </pre></blockquote> } |
70 <nobr><span class="ltr"> | |
71 X:text {“} !!; X:text {”} | |
72 </span></nobr> | |
73 } | |
74 | 68 |
75 X:template = "dirname" { <nobr> X:text {“} !!; X:text {”} </nobr> } | 69 X:template = "pathname" { <code> !!; </code> } |
76 | 70 |
77 X:template = "url[/*[@lang='he']]" { | 71 X:template = "argument" { <code><i> !!; </i></code> } |
78 <i><span class="ltr"> !!; </span></i> | 72 X:template = "parameter" { <code> !!; </code> } |
79 } | |
80 | 73 |
81 X:template = "url" { <i> !!;</i> } | 74 X:template = "header" { |
75 X:text {“} !!; X:text {”} | |
76 } | |
82 | 77 |
83 X:template = "path" { X:text {“} <code> !!; </code> X:text {”} } | 78 X:template = "http-error" { |
84 X:template = "code" { <code> !!; </code> } | 79 X:text { error code } !{@code} X:text { (} !{@text} X:text{)} |
85 X:template = "i" { <i> !!; </i> } | 80 } |
86 X:template = "b" { <b> !!; </b> } | 81 |
87 X:template = "nobr" { <nobr> !!; </nobr> } | 82 X:template = "dirname[/*[@lang='he']]" { |
88 X:template = "mdash" { X:text { — } } | 83 <nobr><span class="ltr"> |
89 X:template = "space" { X:text { } } | 84 X:text {“} !!; X:text {”} |
90 X:template = "br" { <br/> } | 85 </span></nobr> |
86 } | |
87 | |
88 X:template = "dirname" { | |
89 <nobr> X:text {“} !!; X:text {”} </nobr> | |
90 } | |
91 | |
92 X:template = "url[/*[@lang='he']]" { | |
93 <i><span class="ltr"> !!; </span></i> | |
94 } | |
95 | |
96 X:template = "url" { <i> !!;</i> } | |
97 | |
98 X:template = "path" { X:text {“} <code> !!; </code> X:text {”} } | |
99 X:template = "code" { <code> !!; </code> } | |
100 X:template = "i" { <i> !!; </i> } | |
101 X:template = "b" { <b> !!; </b> } | |
102 X:template = "nobr" { <nobr> !!; </nobr> } | |
103 X:template = "mdash" { X:text { — } } | |
104 X:template = "space" { X:text { } } | |
105 X:template = "br" { <br/> } | |
91 | 106 |
92 | 107 |
93 } | 108 } |