Mercurial > hg > nginx
comparison docs/xsls/content.xsls @ 4066:ac19e755a132
DTD and XSLS changes for modules.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 05 Sep 2011 09:32:00 +0000 |
parents | fc808f006ff4 |
children | 24f511e94057 |
comparison
equal
deleted
inserted
replaced
4065:227a819b46db | 4066:ac19e755a132 |
---|---|
1 X:stylesheet { | 1 X:stylesheet { |
2 | 2 |
3 X:template = "section[@name and @title]" { | 3 X:template = "section[@id and @name]" { |
4 <a name="{@name}" /> <center><h4> !{@title} </h4></center> | 4 <a name="{@id}" /> <center><h4> !{@name} </h4></center> |
5 !!; | 5 !!; |
6 } | |
7 | |
8 X:template = "section[not(@id) and @name]" { | |
9 <center><h4> !{@name} </h4></center> | |
10 !!; | |
11 } | |
12 | |
13 X:template = "section[not(@id) and not(@name)]" { !!; } | |
14 | |
15 X:template = "para" { <p> !!; </p> } | |
16 | |
17 X:template = "c-def" { <code> !!; </code> } | |
18 | |
19 X:template = "c-func" { <code> !!; X:text{()} </code> } | |
20 | |
21 X:template = "code" { <code> !!; </code> } | |
22 | |
23 X:template = "command" { <code> !!; </code> } | |
24 | |
25 X:template = "example" { <blockquote><pre> !!; </pre></blockquote> } | |
26 | |
27 X:template = "emphasis" { <strong> !!; </strong> } | |
28 | |
29 X:template = "header" { <code> !!; </code> } | |
30 | |
31 X:template = "http-error" { | |
32 <i> X:text{"} !{@text} X:text{"} </i> | |
33 X:text{ (} !{@code} X:text{)} | |
34 } | |
35 | |
36 X:template = "link[@id and not(@doc)]" { <a href="#{@id}"> !!; </a> } | |
37 X:template = "link" { <u> !!; </u> } | |
38 | |
39 X:template = "list[@type='bullet']" { <ul> !!; </ul> } | |
40 X:template = "list[@type='enum']" { <ol> !!; </ol> } | |
41 X:template = "listitem" { <li> !!; </li> } | |
42 | |
43 X:template = "argument" { <code><i> !!; </i></code> } | |
44 X:template = "parameter" { <code> !!; </code> } | |
45 X:template = "value" { <code> !!; </code> } | |
46 | |
47 X:template = "var" { <code> !!; </code> } | |
6 } | 48 } |
7 | |
8 X:template = "section[not(@name) and @title]" { | |
9 <center><h4> !{@title} </h4></center> | |
10 !!; | |
11 } | |
12 | |
13 X:template = "section[not(@name) and not(@title)]" { !!; } | |
14 | |
15 X:template = "para" { <p> !!; </p> } | |
16 | |
17 X:template = "value" { <i> !!; </i> } | |
18 | |
19 } |