Mercurial > hg > nginx
comparison docs/xslt/content.xslt @ 4067:da811964e37c
XSLT regeneration for the previous commit.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 05 Sep 2011 09:33:54 +0000 |
parents | 131adbb6c82d |
children | e922cc1755fa |
comparison
equal
deleted
inserted
replaced
4066:ac19e755a132 | 4067:da811964e37c |
---|---|
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | 2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
3 | 3 |
4 <xsl:template match="section[@name and @title]"> | 4 <xsl:template match="section[@id and @name]"> |
5 | 5 |
6 <a name="{@name}"/> | 6 <a name="{@id}"/> |
7 <center> | 7 <center> |
8 <h4> | 8 <h4> |
9 <xsl:value-of select="@title"/> | 9 <xsl:value-of select="@name"/> |
10 </h4> | 10 </h4> |
11 </center> | 11 </center> |
12 | 12 |
13 <xsl:apply-templates/> | 13 <xsl:apply-templates/> |
14 </xsl:template> | 14 </xsl:template> |
15 | 15 |
16 <xsl:template match="section[not(@name) and @title]"> | 16 <xsl:template match="section[not(@id) and @name]"> |
17 | 17 |
18 <center> | 18 <center> |
19 <h4> | 19 <h4> |
20 <xsl:value-of select="@title"/> | 20 <xsl:value-of select="@name"/> |
21 </h4> | 21 </h4> |
22 </center> | 22 </center> |
23 | 23 |
24 <xsl:apply-templates/> | 24 <xsl:apply-templates/> |
25 </xsl:template> | 25 </xsl:template> |
26 | 26 |
27 <xsl:template match="section[not(@name) and not(@title)]"> | 27 <xsl:template match="section[not(@id) and not(@name)]"> |
28 <xsl:apply-templates/> | 28 <xsl:apply-templates/> |
29 </xsl:template> | 29 </xsl:template> |
30 | 30 |
31 <xsl:template match="para"> | 31 <xsl:template match="para"> |
32 <p> | 32 <p> |
33 <xsl:apply-templates/> | 33 <xsl:apply-templates/> |
34 </p> | 34 </p> |
35 </xsl:template> | 35 </xsl:template> |
36 | 36 |
37 <xsl:template match="c-def"> | |
38 <code> | |
39 <xsl:apply-templates/> | |
40 </code> | |
41 </xsl:template> | |
42 | |
43 <xsl:template match="c-func"> | |
44 <code> | |
45 <xsl:apply-templates/> | |
46 <xsl:text>()</xsl:text> | |
47 </code> | |
48 </xsl:template> | |
49 | |
50 <xsl:template match="code"> | |
51 <code> | |
52 <xsl:apply-templates/> | |
53 </code> | |
54 </xsl:template> | |
55 | |
56 <xsl:template match="command"> | |
57 <code> | |
58 <xsl:apply-templates/> | |
59 </code> | |
60 </xsl:template> | |
61 | |
62 <xsl:template match="example"> | |
63 <blockquote> | |
64 <pre> | |
65 <xsl:apply-templates/> | |
66 </pre> | |
67 </blockquote> | |
68 </xsl:template> | |
69 | |
70 <xsl:template match="emphasis"> | |
71 <strong> | |
72 <xsl:apply-templates/> | |
73 </strong> | |
74 </xsl:template> | |
75 | |
76 <xsl:template match="header"> | |
77 <code> | |
78 <xsl:apply-templates/> | |
79 </code> | |
80 </xsl:template> | |
81 | |
82 <xsl:template match="http-error"> | |
83 | |
84 <i> | |
85 <xsl:text>"</xsl:text> | |
86 <xsl:value-of select="@text"/> | |
87 <xsl:text>"</xsl:text> | |
88 </i> | |
89 | |
90 <xsl:text> (</xsl:text> | |
91 <xsl:value-of select="@code"/> | |
92 <xsl:text>)</xsl:text> | |
93 </xsl:template> | |
94 | |
95 <xsl:template match="link[@id and not(@doc)]"> | |
96 <a href="#{@id}"> | |
97 <xsl:apply-templates/> | |
98 </a> | |
99 </xsl:template> | |
100 | |
101 <xsl:template match="link"> | |
102 <u> | |
103 <xsl:apply-templates/> | |
104 </u> | |
105 </xsl:template> | |
106 | |
107 <xsl:template match="list[@type='bullet']"> | |
108 <ul> | |
109 <xsl:apply-templates/> | |
110 </ul> | |
111 </xsl:template> | |
112 | |
113 <xsl:template match="list[@type='enum']"> | |
114 <ol> | |
115 <xsl:apply-templates/> | |
116 </ol> | |
117 </xsl:template> | |
118 | |
119 <xsl:template match="listitem"> | |
120 <li> | |
121 <xsl:apply-templates/> | |
122 </li> | |
123 </xsl:template> | |
124 | |
125 <xsl:template match="argument"> | |
126 <code> | |
127 <i> | |
128 <xsl:apply-templates/> | |
129 </i> | |
130 </code> | |
131 </xsl:template> | |
132 | |
133 <xsl:template match="parameter"> | |
134 <code> | |
135 <xsl:apply-templates/> | |
136 </code> | |
137 </xsl:template> | |
138 | |
37 <xsl:template match="value"> | 139 <xsl:template match="value"> |
38 <i> | 140 <code> |
39 <xsl:apply-templates/> | 141 <xsl:apply-templates/> |
40 </i> | 142 </code> |
143 </xsl:template> | |
144 | |
145 <xsl:template match="var"> | |
146 <code> | |
147 <xsl:apply-templates/> | |
148 </code> | |
41 </xsl:template> | 149 </xsl:template> |
42 | 150 |
43 </xsl:stylesheet> | 151 </xsl:stylesheet> |