Lines 72-85
Link Here
|
72 |
<xsl:value-of select="$relative-path"/><xsl:value-of select="$home-stylesheet"/> |
72 |
<xsl:value-of select="$relative-path"/><xsl:value-of select="$home-stylesheet"/> |
73 |
</xsl:variable> |
73 |
</xsl:variable> |
74 |
<link href="{$css-src}" rel="stylesheet" type="text/css"/> |
74 |
<link href="{$css-src}" rel="stylesheet" type="text/css"/> |
75 |
|
|
|
76 |
<!-- CSS hack for IEs ≤ 9. --> |
77 |
<xsl:variable name="css-iefix-src"><xsl:value-of select="$relative-path"/>/images/docs-stylesheet-ie-fix.css</xsl:variable> |
78 |
<xsl:comment><![CDATA[[if IE]><link href="]]><!-- |
79 |
Note: The following <xsl:value-of> will not correctly encode HTML chars as this is a comment. |
80 |
But as it is a fix for old IEs, it can be removed in future. |
81 |
--><xsl:value-of select="$css-iefix-src"/><![CDATA[" rel="stylesheet" type="text/css"/><![endif]]]></xsl:comment> |
82 |
|
83 |
<style type="text/css" media="print"><![CDATA[ |
75 |
<style type="text/css" media="print"><![CDATA[ |
84 |
.noPrint { display: none; } |
76 |
.noPrint { display: none; } |
85 |
#middle > div > div#mainLeft { display: none; } |
77 |
#middle > div > div#mainLeft { display: none; } |
Lines 152-162
Link Here
|
152 |
<body> |
144 |
<body> |
153 |
<div id="wrapper"> |
145 |
<div id="wrapper"> |
154 |
<!-- Header --> |
146 |
<!-- Header --> |
155 |
<!-- Workaround for old IEs: use <div id="..."> instead of <header id="...">, otherwise the CSS will not apply. |
147 |
<header><div id="header"> |
156 |
IE ≥ 10 dropped support for conditional comments in Standards Mode, so there it will use <header>. --> |
|
|
157 |
<xsl:comment><![CDATA[[if IE]><div id="header"><![endif]]]></xsl:comment><xsl:comment><![CDATA[[if !IE]>]]></xsl:comment> |
158 |
<header id="header"> |
159 |
<xsl:comment><![CDATA[<![endif]]]></xsl:comment> |
160 |
<div> |
148 |
<div> |
161 |
<div> |
149 |
<div> |
162 |
<xsl:if test="project/logo"> |
150 |
<xsl:if test="project/logo"> |
Lines 179-188
Link Here
|
179 |
<div style="clear: left;"/> |
167 |
<div style="clear: left;"/> |
180 |
</div> |
168 |
</div> |
181 |
</div> |
169 |
</div> |
182 |
<!-- Workaround for old IEs, see above. --> |
170 |
</div></header> |
183 |
<xsl:comment><![CDATA[[if IE]></div><![endif]]]></xsl:comment><xsl:comment><![CDATA[[if !IE]>]]></xsl:comment> |
|
|
184 |
</header> |
185 |
<xsl:comment><![CDATA[<![endif]]]></xsl:comment> |
186 |
|
171 |
|
187 |
<div id="middle"> |
172 |
<div id="middle"> |
188 |
<div> |
173 |
<div> |
Lines 197-203
Link Here
|
197 |
<div id="mainRight"> |
182 |
<div id="mainRight"> |
198 |
<div id="content"> |
183 |
<div id="content"> |
199 |
<!-- Main Part --> |
184 |
<!-- Main Part --> |
200 |
<main> |
|
|
201 |
<h2><xsl:value-of select="properties/title"/></h2> |
185 |
<h2><xsl:value-of select="properties/title"/></h2> |
202 |
<xsl:apply-templates select="body/section"/> |
186 |
<xsl:apply-templates select="body/section"/> |
203 |
|
187 |
|
Lines 226-232
Link Here
|
226 |
</div> |
210 |
</div> |
227 |
</xsl:if> |
211 |
</xsl:if> |
228 |
|
212 |
|
229 |
</main> |
|
|
230 |
</div> |
213 |
</div> |
231 |
</div> |
214 |
</div> |
232 |
</div> |
215 |
</div> |
Lines 233-246
Link Here
|
233 |
</div> |
216 |
</div> |
234 |
|
217 |
|
235 |
<!-- Footer --> |
218 |
<!-- Footer --> |
236 |
<!-- Workarounds for old IEs, see above. --> |
219 |
<footer><div id="footer"> |
237 |
<xsl:comment><![CDATA[[if IE]><div id="footer"><![endif]]]></xsl:comment><xsl:comment><![CDATA[[if !IE]>]]></xsl:comment> |
|
|
238 |
<footer id="footer"> |
239 |
<xsl:comment><![CDATA[<![endif]]]></xsl:comment> |
240 |
Copyright © 1999-<xsl:value-of select="$year"/>, The Apache Software Foundation |
220 |
Copyright © 1999-<xsl:value-of select="$year"/>, The Apache Software Foundation |
241 |
<xsl:comment><![CDATA[[if IE]></div><![endif]]]></xsl:comment><xsl:comment><![CDATA[[if !IE]>]]></xsl:comment> |
221 |
</div></footer> |
242 |
</footer> |
|
|
243 |
<xsl:comment><![CDATA[<![endif]]]></xsl:comment> |
244 |
</div> |
222 |
</div> |
245 |
</body> |
223 |
</body> |
246 |
</html> |
224 |
</html> |