comparison xslt/content.xslt @ 474:eececc9281f4

Regenerated.
author Ruslan Ermilov <ru@nginx.com>
date Fri, 30 Mar 2012 13:32:16 +0000
parents dc6b11a3ccdd
children ff41e30fc6ae
comparison
equal deleted inserted replaced
473:cac48e2d0d9b 474:eececc9281f4
87 </blockquote> 87 </blockquote>
88 88
89 <xsl:text disable-output-escaping="yes">&lt;p&gt; </xsl:text> 89 <xsl:text disable-output-escaping="yes">&lt;p&gt; </xsl:text>
90 </xsl:template> 90 </xsl:template>
91 91
92 <xsl:template match="list[@type='bullet']"> 92 <xsl:template match="list[@type='bullet']">
93 <ul> 93 <xsl:choose>
94 <xsl:apply-templates/> 94
95 </ul> 95 <xsl:when test="@compact = 'yes'">
96
97 <ul class="compact">
98 <xsl:apply-templates/>
99 </ul>
100 </xsl:when>
101
102 <xsl:otherwise>
103
104 <ul>
105 <xsl:apply-templates/>
106 </ul>
107 </xsl:otherwise>
108 </xsl:choose>
96 </xsl:template> 109 </xsl:template>
97 110
98 <xsl:template match="para/list[@type='bullet']"> 111 <xsl:template match="para/list[@type='bullet']">
99 112
100 <xsl:text disable-output-escaping="yes">&lt;/p&gt; </xsl:text> 113 <xsl:text disable-output-escaping="yes">&lt;/p&gt; </xsl:text>
101 114 <xsl:choose>
102 <ul> 115
103 <xsl:apply-templates/> 116 <xsl:when test="@compact = 'yes'">
104 </ul> 117
105 118 <ul class="compact">
106 <xsl:text disable-output-escaping="yes">&lt;p&gt; </xsl:text> 119 <xsl:apply-templates/>
107 </xsl:template> 120 </ul>
108 121 </xsl:when>
109 <xsl:template match="list[@type='enum']"> 122
110 <ol> 123 <xsl:otherwise>
111 <xsl:apply-templates/> 124
112 </ol> 125 <ul>
126 <xsl:apply-templates/>
127 </ul>
128 </xsl:otherwise>
129 </xsl:choose>
130
131 <xsl:text disable-output-escaping="yes">&lt;p&gt; </xsl:text>
132 </xsl:template>
133
134 <xsl:template match="list[@type='enum']">
135 <xsl:choose>
136
137 <xsl:when test="@compact = 'yes'">
138
139 <ol class="compact">
140 <xsl:apply-templates/>
141 </ol>
142 </xsl:when>
143
144 <xsl:otherwise>
145
146 <ol>
147 <xsl:apply-templates/>
148 </ol>
149 </xsl:otherwise>
150 </xsl:choose>
113 </xsl:template> 151 </xsl:template>
114 152
115 <xsl:template match="para/list[@type='enum']"> 153 <xsl:template match="para/list[@type='enum']">
116 154
117 <xsl:text disable-output-escaping="yes">&lt;/p&gt; </xsl:text> 155 <xsl:text disable-output-escaping="yes">&lt;/p&gt; </xsl:text>
118 156 <xsl:choose>
119 <ol> 157
120 <xsl:apply-templates/> 158 <xsl:when test="@compact = 'yes'">
121 </ol> 159
160 <ol class="compact">
161 <xsl:apply-templates/>
162 </ol>
163 </xsl:when>
164
165 <xsl:otherwise>
166
167 <ol>
168 <xsl:apply-templates/>
169 </ol>
170 </xsl:otherwise>
171 </xsl:choose>
122 172
123 <xsl:text disable-output-escaping="yes">&lt;p&gt; </xsl:text> 173 <xsl:text disable-output-escaping="yes">&lt;p&gt; </xsl:text>
124 </xsl:template> 174 </xsl:template>
125 175
126 <xsl:template match="listitem"> 176 <xsl:template match="listitem">