| 1 | <?xml version="1.0" encoding="UTF-8"?> |
1 | <?xml version="1.0" encoding="UTF-8"?> |
|
|
2 | |
| 2 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
3 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
| 3 | <xsl:output encoding="UTF-8" method="html" indent="yes" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/> |
4 | <xsl:output encoding="UTF-8" method="html" indent="yes" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/> |
|
|
5 | <!-- Include external stylesheets --> |
|
|
6 | <xsl:include href="content.xsl" /> |
|
|
7 | <xsl:include href="handbook.xsl" /> |
|
|
8 | |
|
|
9 | <!-- When using <pre>, whitespaces should be preserved --> |
| 4 | <xsl:preserve-space elements="pre"/> |
10 | <xsl:preserve-space elements="pre"/> |
|
|
11 | |
|
|
12 | <!-- Global definition of style parameter --> |
|
|
13 | <xsl:param name="style">0</xsl:param> |
|
|
14 | |
|
|
15 | <!-- img tag --> |
| 5 | <xsl:template match="img"> |
16 | <xsl:template match="img"> |
| 6 | <img src="{@src}"/> |
17 | <img src="{@src}"/> |
| 7 | </xsl:template> |
18 | </xsl:template> |
|
|
19 | |
|
|
20 | <!-- Content of /guide --> |
| 8 | <xsl:template match="/guide"> |
21 | <xsl:template name="guidecontent"> |
|
|
22 | <br/> |
|
|
23 | <p class="dochead"> |
|
|
24 | <xsl:choose> |
|
|
25 | <xsl:when test="/guide/subtitle"><xsl:value-of select="/guide/title"/>: <xsl:value-of select="/guide/subtitle"/></xsl:when> |
|
|
26 | <xsl:otherwise><xsl:value-of select="/guide/title"/></xsl:otherwise> |
|
|
27 | </xsl:choose> |
|
|
28 | </p> |
|
|
29 | |
|
|
30 | <xsl:if test="$style = 'printable'"> |
|
|
31 | <xsl:apply-templates select="author" /> |
|
|
32 | </xsl:if> |
|
|
33 | |
|
|
34 | <form name="contents" action="http://www.gentoo.org"> |
|
|
35 | <b>Contents</b>: |
|
|
36 | <select name="url" size="1" OnChange="location.href=form.url.options[form.url.selectedIndex].value" style="font-family:Arial,Helvetica, sans-serif; font-size:10"> |
|
|
37 | <xsl:for-each select="chapter"> |
|
|
38 | <xsl:variable name="chapid">doc_chap<xsl:number/></xsl:variable><option value="#{$chapid}"><xsl:number/>. <xsl:value-of select="title"/></option> |
|
|
39 | </xsl:for-each> |
|
|
40 | </select> |
|
|
41 | </form> |
|
|
42 | <xsl:apply-templates select="chapter"/> |
|
|
43 | <br/> |
|
|
44 | <xsl:if test="/guide/license"> |
|
|
45 | <xsl:apply-templates select="license" /> |
|
|
46 | </xsl:if> |
|
|
47 | <br/> |
|
|
48 | </xsl:template> |
|
|
49 | |
|
|
50 | <!-- Layout for documentation --> |
|
|
51 | <xsl:template name="doclayout"> |
| 9 | <html> |
52 | <html> |
| 10 | <head> |
53 | <head> |
| 11 | <link title="new" rel="stylesheet" href="/css/main.css" type="text/css"/> |
54 | <link title="new" rel="stylesheet" href="/css/main.css" type="text/css"/> |
| 12 | <link REL="shortcut icon" HREF="http://www.gentoo.org/favicon.ico" TYPE="image/x-icon"/> |
55 | <link REL="shortcut icon" HREF="http://www.gentoo.org/favicon.ico" TYPE="image/x-icon"/> |
| 13 | <title>Gentoo Linux |
56 | <title>Gentoo Linux |
| 14 | <xsl:choose><xsl:when test="/guide/@type='project'"> |
57 | <xsl:choose> |
| 15 | Projects |
58 | <xsl:when test="/guide/@type='project'">Projects</xsl:when> |
| 16 | </xsl:when><xsl:when test="/guide/@type='newsletter'"> |
59 | <xsl:when test="/guide/@type='newsletter'">Newsletter</xsl:when> |
| 17 | Newsletter |
60 | <xsl:otherwise>Documentation</xsl:otherwise> |
| 18 | </xsl:when><xsl:otherwise> |
61 | </xsl:choose> |
| 19 | Documentation |
|
|
| 20 | </xsl:otherwise></xsl:choose> |
|
|
| 21 | -- |
62 | -- |
|
|
63 | <xsl:choose> |
| 22 | <xsl:choose><xsl:when test="subtitle"><xsl:if test="/guide/@type!='newsletter'"><xsl:value-of select="title"/>:</xsl:if> <xsl:value-of select="subtitle"/></xsl:when><xsl:otherwise><xsl:value-of select="title"/></xsl:otherwise></xsl:choose></title> |
64 | <xsl:when test="subtitle"><xsl:if test="/guide/@type!='newsletter'"><xsl:value-of select="title"/>:</xsl:if> <xsl:value-of select="subtitle"/></xsl:when> |
|
|
65 | <xsl:otherwise><xsl:value-of select="title"/></xsl:otherwise> |
|
|
66 | </xsl:choose> |
|
|
67 | </title> |
| 23 | </head> |
68 | </head> |
| 24 | <body style="margin-left:0px;margin-top:0px;" bgcolor="#ffffff"> |
69 | <body style="margin-left:0px;margin-top:0px;" bgcolor="#ffffff"> |
| 25 | <!--<table border="0" width="100%" cellspacing="0" cellpadding="0">--> |
70 | |
| 26 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
71 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
| 27 | <tr> |
72 | <tr> |
| 28 | <td valign="top" height="125" bgcolor="#45347b"> |
73 | <td valign="top" height="125" bgcolor="#45347b"> |
| 29 | <table cellspacing="0" cellpadding="0" border="0" width="193"> |
74 | <table cellspacing="0" cellpadding="0" border="0" width="193"> |
| 30 | <tr> |
75 | <tr> |
| 31 | <td class="logobg" valign="top" align="center" height="88"> |
76 | <td class="logobg" valign="top" align="center" height="88"> |
| 32 | <a href="/"> |
77 | <a href="/"><img border="0" src="/images/gtop-s.jpg" alt="Gentoo Logo"/></a> |
| 33 | <img border="0" src="http://www.ibiblio.org/web-gentoo/images/gtop-s.jpg" alt="Gentoo Logo"/> |
78 | </td> |
| 34 | </a> |
79 | </tr> |
| 35 | </td> |
80 | <tr> |
| 36 | </tr> |
|
|
| 37 | <tr> |
|
|
| 38 | <td class="logobg" valign="top" align="center" height="36"> |
81 | <td class="logobg" valign="top" align="center" height="36"> |
| 39 | <a href="/"> |
82 | <a href="/"><img border="0" src="/images/gbot-s.gif" alt="Gentoo Logo Side"/></a> |
| 40 | <img border="0" src="http://www.ibiblio.org/web-gentoo/images/gbot-s.gif" alt="Gentoo Logo Side"/> |
83 | </td> |
| 41 | </a> |
84 | </tr> |
| 42 | </td> |
85 | </table> |
|
|
86 | </td> |
| 43 | </tr> |
87 | </tr> |
| 44 | </table> |
88 | <tr> |
| 45 | |
|
|
| 46 | |
|
|
| 47 | </td> |
|
|
| 48 | </tr> |
|
|
| 49 | <tr> |
|
|
| 50 | <td valign="top" align="right" colspan="1" bgcolor="#ffffff"> |
89 | <td valign="top" align="right" colspan="1" bgcolor="#ffffff"> |
| 51 | <!--content begin--> |
|
|
| 52 | <!--Netscape 4.7 hack table start--> |
|
|
| 53 | <!--<table border="0" cellspacing="5" cellpadding="0" height="100%" width="100%">--> |
|
|
| 54 | <table border="0" cellspacing="0" cellpadding="0" width="100%"> |
90 | <table border="0" cellspacing="0" cellpadding="0" width="100%"> |
| 55 | <tr> |
91 | <tr> |
| 56 | <td width="99%" class="content" valign="top" align="left"> |
92 | <td width="99%" class="content" valign="top" align="left"> |
| 57 | <br/> |
93 | <!-- Insert the node-specific content --> |
| 58 | <p class="dochead"> |
94 | <xsl:call-template name="content"/> |
|
|
95 | </td> |
|
|
96 | <td width="1%" bgcolor="#dddaec" valign="top"> |
|
|
97 | <table border="0" cellspacing="5" cellpadding="0"> |
|
|
98 | <tr> |
|
|
99 | <td> |
|
|
100 | <img src="/images/line.gif" alt="line"/> |
|
|
101 | </td> |
|
|
102 | </tr> |
|
|
103 | <tr> |
|
|
104 | <td align="center" class="alttext"> |
|
|
105 | <!-- Update datestamp --> |
|
|
106 | Updated <xsl:value-of select="/guide/date|/book/date"/> |
|
|
107 | </td> |
|
|
108 | </tr> |
|
|
109 | <tr> |
|
|
110 | <td> |
|
|
111 | <img src="/images/line.gif" alt="line"/> |
|
|
112 | </td> |
|
|
113 | </tr> |
|
|
114 | <tr> |
|
|
115 | <td class="alttext"> |
|
|
116 | <!-- Authors --> |
|
|
117 | <xsl:apply-templates select="/guide/author|/book/author"/> |
|
|
118 | </td> |
|
|
119 | </tr> |
|
|
120 | <tr> |
|
|
121 | <td> |
|
|
122 | <img src="/images/line.gif" alt="line"/> |
|
|
123 | </td> |
|
|
124 | </tr> |
|
|
125 | <tr> |
|
|
126 | <td class="alttext"> |
|
|
127 | <!-- Abstract (summary) of the document --> |
|
|
128 | <b>Summary:</b> <xsl:apply-templates select="abstract"/> |
|
|
129 | </td> |
|
|
130 | </tr> |
|
|
131 | <tr> |
|
|
132 | <td> |
|
|
133 | <img src="/images/line.gif" alt="line"/> |
|
|
134 | </td> |
|
|
135 | </tr> |
|
|
136 | <tr> |
|
|
137 | <td align="center"> |
|
|
138 | <!-- Begin PayPal Logo --> |
|
|
139 | <p class="alttext"> |
|
|
140 | <b>Donate</b> to support our development efforts. |
|
|
141 | </p> |
|
|
142 | <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> |
|
|
143 | <input type="hidden" name="cmd" value="_xclick"/> |
|
|
144 | <input type="hidden" name="business" value="drobbins@gentoo.org"/> |
|
|
145 | <input type="hidden" name="item_name" value="Gentoo Linux Support"/> |
|
|
146 | <input type="hidden" name="item_number" value="1000"/> |
|
|
147 | <input type="hidden" name="image_url" value="/images/paypal.png"/> |
|
|
148 | <input type="hidden" name="no_shipping" value="1"/> |
|
|
149 | <input type="hidden" name="return" value="http://www.gentoo.org"/> |
|
|
150 | <input type="hidden" name="cancel_return" value="http://www.gentoo.org"/> |
|
|
151 | <input type="image" src="http://images.paypal.com/images/x-click-but21.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"/> |
|
|
152 | </form> |
|
|
153 | </td> |
|
|
154 | </tr> |
|
|
155 | <tr> |
|
|
156 | <td> |
|
|
157 | <img src="/images/line.gif" alt="line"/> |
|
|
158 | </td> |
|
|
159 | </tr> |
|
|
160 | <tr> |
|
|
161 | <td align="center"> |
|
|
162 | <!-- Image of the Gentoo Store --> |
|
|
163 | <a href="http://store.gentoo.org"><img src="/images/store.png" alt="The Gentoo Linux Store" border="0"/></a> |
|
|
164 | </td> |
|
|
165 | </tr> |
|
|
166 | <tr> |
|
|
167 | <td> |
|
|
168 | <img src="/images/line.gif" alt="line"/> |
|
|
169 | </td> |
|
|
170 | </tr> |
|
|
171 | <tr> |
|
|
172 | <td align="center"> |
|
|
173 | <a href="http://www.phparch.com/bannerclick.php?AID=68&BID=1&BT=127929" target="_top"><img src="/images/phpa-gentoo.gif" width="125" height="144" alt="php|architect" border="0"/></a> |
|
|
174 | <p class="alttext"> |
|
|
175 | php|architect is the monthly magazine for PHP professionals, available |
|
|
176 | worldwide in print and electronic format. A percentage of all the sales |
|
|
177 | will be donated back into the Gentoo project. |
|
|
178 | </p> |
|
|
179 | </td> |
|
|
180 | </tr> |
|
|
181 | <tr> |
|
|
182 | <td> |
|
|
183 | <img src="/images/line.gif" alt="line"/> |
|
|
184 | </td> |
|
|
185 | </tr> |
|
|
186 | <tr> |
|
|
187 | <td align="center"> |
|
|
188 | <a href="http://www.tek.net" target="_top"><img src="/images/tek-gentoo.gif" width="125" height="125" alt="Tek Alchemy" border="0"/></a> |
|
|
189 | <p class="alttext"> |
|
|
190 | Tek Alchemy offers dedicated servers and other hosting solutions running Gentoo Linux. |
|
|
191 | </p> |
|
|
192 | </td> |
|
|
193 | </tr> |
|
|
194 | <tr> |
|
|
195 | <td> |
|
|
196 | <img src="/images/line.gif" alt="line"/> |
|
|
197 | </td> |
|
|
198 | </tr> |
|
|
199 | <tr> |
|
|
200 | <td align="center"> |
|
|
201 | <a href="http://www.qksrv.net/click-477620-5032687" target="_top"><img src="http://www.qksrv.net/image-477620-5032687" width="125" height="125" alt="DDR Memory at Crucial.com" border="0"/></a> |
|
|
202 | <p class="alttext"> |
|
|
203 | Purchase RAM from <b>Crucial.com</b> and a percentage of your sale will go towards further Gentoo Linux development. |
|
|
204 | </p> |
|
|
205 | </td> |
|
|
206 | </tr> |
|
|
207 | <tr> |
|
|
208 | <td> |
|
|
209 | <img src="/images/line.gif" alt="line"/> |
|
|
210 | </td> |
|
|
211 | </tr> |
|
|
212 | <tr> |
|
|
213 | <td align="center"> |
|
|
214 | <a href="http://www.netraverse.com/gentoo.htm" target="_top"><img src="/images/netraverse-gentoo.gif" width="125" height="102" alt="Win4Lin at NeTraverse" border="0"/></a> |
|
|
215 | <p class="alttext"> |
|
|
216 | Win4Lin from <b>NeTraverse</b> lets you run Windows applications under Gentoo Linux at native speeds. |
|
|
217 | </p> |
|
|
218 | </td> |
|
|
219 | </tr> |
|
|
220 | <tr> |
|
|
221 | <td> |
|
|
222 | <img src="/images/line.gif" alt="line"/> |
|
|
223 | </td> |
|
|
224 | </tr> |
|
|
225 | </table> |
|
|
226 | </td> |
|
|
227 | </tr> |
|
|
228 | </table> |
|
|
229 | </td> |
|
|
230 | </tr> |
|
|
231 | <tr> |
|
|
232 | <td colspan="2" align="right" class="infohead" width="100%" bgcolor="#7a5ada"> |
|
|
233 | Copyright 2001-2003 Gentoo Technologies, Inc. Questions, Comments, Corrections? Email <a class="highlight" href="mailto:www@gentoo.org">www@gentoo.org</a>. |
|
|
234 | </td> |
|
|
235 | </tr> |
|
|
236 | </table> |
|
|
237 | |
|
|
238 | </body> |
|
|
239 | </html> |
|
|
240 | </xsl:template> |
|
|
241 | |
|
|
242 | <!-- Guide template --> |
|
|
243 | <xsl:template match="/guide"> |
|
|
244 | <xsl:call-template name="doclayout" /> |
|
|
245 | </xsl:template> |
|
|
246 | |
|
|
247 | <!-- {Mainpage, News, Email} template --> |
|
|
248 | <xsl:template match="/mainpage | /news | /email"> |
|
|
249 | <html> |
|
|
250 | <head> |
|
|
251 | <link title="new" rel="stylesheet" href="/css/main.css" type="text/css"/> |
|
|
252 | <link REL="shortcut icon" HREF="/favicon.ico" TYPE="image/x-icon"/> |
|
|
253 | <xsl:if test="/mainpage/@id='news'"> |
|
|
254 | <link rel="alternate" type="application/rss+xml" title="Gentoo Linux News RDF" href="http://www.gentoo.org/rdf/en/gentoo-news.rdf" /> |
|
|
255 | </xsl:if> |
|
|
256 | <xsl:choose> |
|
|
257 | <xsl:when test="/mainpage | /news"> |
|
|
258 | <title>Gentoo Linux -- <xsl:value-of select="title"/></title> |
|
|
259 | </xsl:when> |
|
|
260 | <xsl:when test="/email"> |
|
|
261 | <title><xsl:value-of select="subject"/></title> |
|
|
262 | </xsl:when> |
|
|
263 | </xsl:choose> |
|
|
264 | </head> |
|
|
265 | <body style="margin-left:0px;margin-top:0px;" bgcolor="#000000"> |
|
|
266 | |
|
|
267 | <table border="0" width="100%" cellspacing="0" cellpadding="0"> |
|
|
268 | <tr> |
|
|
269 | <td valign="top" height="125" width="1%" bgcolor="#45347b"> |
|
|
270 | <table cellspacing="0" cellpadding="0" border="0" width="100%"> |
|
|
271 | <tr> |
|
|
272 | <td class="logobg" valign="top" align="center" height="88"> |
|
|
273 | <a href="/"> |
|
|
274 | <img border="0" src="/images/gtop-s.jpg" alt="Gentoo Logo"/> |
|
|
275 | </a> |
|
|
276 | </td> |
|
|
277 | </tr> |
|
|
278 | <tr> |
|
|
279 | <td class="logobg" valign="top" align="center" height="36"> |
|
|
280 | <a href="/"> |
|
|
281 | <img border="0" src="/images/gbot-s.gif" alt="Gentoo Logo Side"/> |
|
|
282 | </a> |
|
|
283 | </td> |
|
|
284 | </tr> |
|
|
285 | </table> |
|
|
286 | </td> |
|
|
287 | <td valign="bottom" align="left" bgcolor="#000000" colspan="2"> |
|
|
288 | <p class="menu"> |
|
|
289 | <xsl:choose> |
|
|
290 | <xsl:when test="/mainpage/@id='about'"> |
|
|
291 | <a class="highlight" href="/main/en/about.xml">About</a> | |
|
|
292 | </xsl:when> |
|
|
293 | <xsl:otherwise> |
|
|
294 | <a class="menulink" href="/main/en/about.xml">About</a> | |
|
|
295 | </xsl:otherwise> |
|
|
296 | </xsl:choose> |
|
|
297 | <xsl:choose> |
|
|
298 | <xsl:when test="/mainpage/@id='projects'"> |
|
|
299 | <a class="highlight" href="/proj/en/metastructure/projects.xml?showlevel=1">Projects</a> | |
|
|
300 | </xsl:when> |
|
|
301 | <xsl:otherwise> |
|
|
302 | <a class="menulink" href="/proj/en/metastructure/projects.xml?showlevel=1">Projects</a> | |
|
|
303 | </xsl:otherwise> |
|
|
304 | </xsl:choose> |
|
|
305 | <xsl:choose> |
|
|
306 | <xsl:when test="/mainpage/@id='contract'"> |
|
|
307 | <a class="highlight" href="/main/en/philosophy.xml">Philosophy</a> | |
|
|
308 | </xsl:when> |
|
|
309 | <xsl:otherwise> |
|
|
310 | <a class="menulink" href="/main/en/philosophy.xml">Philosophy</a> | |
|
|
311 | </xsl:otherwise> |
|
|
312 | </xsl:choose> |
|
|
313 | <xsl:choose> |
|
|
314 | <xsl:when test="/mainpage/@id='docs'"> |
|
|
315 | <a class="highlight" href="/doc/en/index.xml">Docs</a> | |
|
|
316 | </xsl:when> |
|
|
317 | <xsl:otherwise> |
|
|
318 | <a class="menulink" href="/doc/en/index.xml">Docs</a> | |
|
|
319 | </xsl:otherwise> |
|
|
320 | </xsl:choose> |
|
|
321 | <a class="menulink" href="http://forums.gentoo.org">Forums</a> | |
|
|
322 | <xsl:choose> |
|
|
323 | <xsl:when test="/mainpage/@id='lists'"> |
|
|
324 | <a class="highlight" href="/main/en/lists.xml">Lists</a> | |
|
|
325 | </xsl:when> |
|
|
326 | <xsl:otherwise> |
|
|
327 | <a class="menulink" href="/main/en/lists.xml">Lists</a> | |
|
|
328 | </xsl:otherwise> |
|
|
329 | </xsl:choose> |
|
|
330 | <a class="menulink" href="http://bugs.gentoo.org">Bugs</a> | |
|
|
331 | <a class="menulink" href="http://store.gentoo.org">Store</a> | |
|
|
332 | <xsl:choose> |
|
|
333 | <xsl:when test="/mainpage/@id='newsletter'"> |
|
|
334 | <a class="highlight" href="/news/en/gwn/gwn.xml"> GWN</a> | |
|
|
335 | </xsl:when> |
|
|
336 | <xsl:otherwise> |
|
|
337 | <a class="menulink" href="/news/en/gwn/gwn.xml"> GWN</a> | |
|
|
338 | </xsl:otherwise> |
|
|
339 | </xsl:choose> |
|
|
340 | <xsl:choose> |
|
|
341 | <xsl:when test="/mainpage/@id='where'"> |
|
|
342 | <a class="highlight" href="/main/en/where.xml">Get Gentoo!</a> | |
|
|
343 | </xsl:when> |
|
|
344 | <xsl:otherwise> |
|
|
345 | <a class="menulink" href="/main/en/where.xml">Get Gentoo!</a> | |
|
|
346 | </xsl:otherwise> |
|
|
347 | </xsl:choose> |
|
|
348 | <xsl:choose> |
|
|
349 | <xsl:when test="/mainpage/@id='sponsors'"> |
|
|
350 | <a class="highlight" href="/main/en/sponsors.xml">Sponsors</a> |
|
|
351 | </xsl:when> |
|
|
352 | <xsl:otherwise> |
|
|
353 | <a class="menulink" href="/main/en/sponsors.xml">Sponsors</a> |
|
|
354 | </xsl:otherwise> |
|
|
355 | </xsl:choose> |
|
|
356 | </p> |
|
|
357 | </td> |
|
|
358 | </tr> |
|
|
359 | <tr> |
|
|
360 | <td valign="top" align="right" width="1%" bgcolor="#dddaec"> |
|
|
361 | <table width="100%" cellspacing="0" cellpadding="0" border="0"> |
|
|
362 | <tr> |
|
|
363 | <td height="1%" valign="top" align="right"> |
|
|
364 | <img src="/images/gridtest.gif" alt="Gentoo Spaceship"/> |
|
|
365 | </td> |
|
|
366 | </tr> |
|
|
367 | <tr> |
|
|
368 | <td height="99%" valign="top" align="right"> |
|
|
369 | <!--info goes here--> |
|
|
370 | <table cellspacing="0" cellpadding="5" border="0"> |
|
|
371 | <tr> |
|
|
372 | <td valign="top"> |
|
|
373 | <p class="altmenu"> |
|
|
374 | Documentation: |
|
|
375 | <br/> |
|
|
376 | <a class="altlink" href="/main/en/about.xml">About Gentoo Linux</a> |
|
|
377 | <br/> |
|
|
378 | <a class="altlink" href="/doc/en/index.xml">User Docs</a> |
|
|
379 | <br/> |
|
|
380 | <a class="altlink" href="/doc/en/index.xml#doc_chap6">Developer Docs</a> |
|
|
381 | <br/> |
|
|
382 | <a class="altlink" href="/doc/en/index.xml#doc_chap7">Other Docs</a> |
|
|
383 | <br/> |
|
|
384 | <a class="altlink" href="/main/en/philosophy.xml">Philosophy</a> |
|
|
385 | <br/><br/> |
|
|
386 | Installation: |
|
|
387 | <br/> |
|
|
388 | <a class="altlink" href="/doc/en/handbook/handbook.xml?part=1">Gentoo Handbook Installation Instructions</a> |
|
|
389 | <br/><br/> |
|
|
390 | Older Installation Guides: |
|
|
391 | <br/> |
|
|
392 | <a class="altlink" href="/doc/en/gentoo-x86-install.xml">Gentoo Linux/x86</a> |
|
|
393 | <br/> |
|
|
394 | <a class="altlink" href="/doc/en/gentoo-ppc-install.xml">Gentoo Linux/PowerPC</a> |
|
|
395 | <br/> |
|
|
396 | <a class="altlink" href="/doc/en/gentoo-sparc-install.xml">Gentoo Linux/Sparc</a> |
|
|
397 | <br/> |
|
|
398 | <a class="altlink" href="/doc/en/gentoo-hppa-install.xml">Gentoo Linux/HPPA</a> |
|
|
399 | <br/> |
|
|
400 | <a class="altlink" href="/doc/en/gentoo-alpha-install.xml">Gentoo Linux/Alpha</a> |
|
|
401 | <br/><br/> |
|
|
402 | Resources: |
|
|
403 | <br/> |
|
|
404 | <a class="altlink" href="/main/en/lists.xml">Mailing lists</a> |
|
|
405 | <br/> |
|
|
406 | <a class="hotlink" href="/main/en/performance.xml">Performance benchmarks</a> |
|
|
407 | <br/> |
|
|
408 | <a class="altlink" href="http://forums.gentoo.org">Discussion forums</a> |
|
|
409 | <br/> |
|
|
410 | <a class="altlink" href="/dyn/index-cvs.xml">Daily CVS ChangeLog</a> |
|
|
411 | <br/> |
|
|
412 | <a class="altlink" href="/proj/en/devrel/roll-call/devlist.xml">Developer List</a> |
|
|
413 | <br/> |
|
|
414 | <a class="altlink" href="http://bugs.gentoo.org">Bugzilla bug tracker</a> |
|
|
415 | <br/> |
|
|
416 | <a class="altlink" href="/main/en/mirrors.xml">Download Mirrors</a> |
|
|
417 | <br/> |
|
|
418 | <a class="altlink" href="/main/en/irc.xml">Official Gentoo IRC channels</a> |
|
|
419 | <br/> |
|
|
420 | <a class="altlink" href="http://packages.gentoo.org/">Online package database</a> |
|
|
421 | <br/> |
|
|
422 | <a class="altlink" href="http://www.gentoo.org/cgi-bin/viewcvs.cgi">View our CVS via the web</a> |
|
|
423 | <br/> |
|
|
424 | <!--<a class="altlink" href="http://stats.gentoo.org">Gentoo Usage Statistics</a> |
|
|
425 | <br/> |
|
|
426 | <a class="altlink" href="http://stable.gentoo.org">Gentoo Stable Project</a> |
|
|
427 | <br/> |
|
|
428 | --> |
|
|
429 | <br/><br/> |
|
|
430 | Graphics: |
|
|
431 | <br/> |
|
|
432 | <a class="altlink" href="/main/en/graphics.xml">Logos and themes</a> |
|
|
433 | <br/> |
|
|
434 | <a class="altlink" href="/dyn/icons.xml">Icons</a> |
|
|
435 | <br/> |
|
|
436 | <a class="altlink" href="/main/en/shots.xml">ScreenShots</a> |
|
|
437 | <br/><br/> |
|
|
438 | Miscellaneous Resources: |
|
|
439 | <br/> |
|
|
440 | <a class="altlink" href="http://store.gentoo.org">Gentoo Linux Store</a> |
|
|
441 | <br/> |
|
|
442 | <a class="altlink" href="/main/en/projects.xml">Gentoo-hosted projects</a> |
|
|
443 | <br/> |
|
|
444 | <a class="altlink" href="/main/en/articles.xml">IBM dW/Intel article archive</a> |
|
|
445 | <xsl:if test="/mainpage/@id='news'"> |
|
|
446 | <br/><br/> |
|
|
447 | Older News:<br/> |
|
|
448 | <xsl:for-each select="document('/dyn/news-index.xml')/uris/uri[position()>=7][position()<20]/text()"> |
|
|
449 | <xsl:variable name="newsuri" select="."/> |
|
|
450 | <a class="altlink" href="{$newsuri}"><xsl:value-of select="document(.)/news/title"/></a><br/> |
|
|
451 | </xsl:for-each> |
|
|
452 | </xsl:if> |
|
|
453 | </p> |
|
|
454 | <br/><br /> |
|
|
455 | </td> |
|
|
456 | </tr> |
|
|
457 | </table> |
|
|
458 | </td> |
|
|
459 | </tr> |
|
|
460 | </table> |
|
|
461 | </td> |
|
|
462 | <td valign="top" align="right" bgcolor="#ffffff"> |
|
|
463 | <table border="0" cellspacing="5" cellpadding="0" width="100%"> |
|
|
464 | <tr> |
|
|
465 | <td valign="top" align="left"> |
|
|
466 | <xsl:choose> |
|
|
467 | <xsl:when test="/mainpage/@id='news'"> |
|
|
468 | <table class="content" cellpadding="4" width="100%" border="0"> |
|
|
469 | <tr> |
|
|
470 | <td valign="top"> |
|
|
471 | <img src="/images/gentoo-new.gif" alt="new"/> |
|
|
472 | </td> |
|
|
473 | <td valign="middle"> |
|
|
474 | We produce Gentoo Linux, a special flavor of Linux that |
|
|
475 | can be automatically optimized and customized for just |
|
|
476 | about any application or need. Extreme performance, |
|
|
477 | configurability and a top-notch user and developer |
|
|
478 | community are all hallmarks of the Gentoo experience. |
|
|
479 | To learn more, <b><a href="/main/en/about.xml">click |
|
|
480 | here</a></b>. |
|
|
481 | </td> |
|
|
482 | </tr> |
|
|
483 | </table> |
|
|
484 | <br/> |
|
|
485 | <xsl:for-each select="document('/dyn/news-index.xml')/uris/uri[position()<7]/text()"> |
|
|
486 | <table class="content" cellpadding="4" width="100%" border="0"> |
|
|
487 | <tr> |
|
|
488 | <td colspan="2" bgcolor="#7a5ada"> |
|
|
489 | <font color="#ffffff"> |
|
|
490 | <b> |
|
|
491 | <xsl:value-of select="document(.)/news/title"/> |
|
|
492 | </b> |
|
|
493 | <br/> |
|
|
494 | <font size="-3">Posted on <xsl:value-of select="document(.)/news/date"/> by <xsl:value-of select="document(.)/news/poster"/></font> |
|
|
495 | </font> |
|
|
496 | </td> |
|
|
497 | </tr> |
|
|
498 | <tr> |
|
|
499 | <td width="100" align="center" valign="middle"> |
|
|
500 | <xsl:choose> |
|
|
501 | <xsl:when test="document(.)/news/@category='alpha'"> |
|
|
502 | <img src="/images/icon-alpha.gif" alt="AlphaServer GS160"/> |
|
|
503 | </xsl:when> |
|
|
504 | <xsl:when test="document(.)/news/@category='kde'"> |
|
|
505 | <img src="/images/icon-kde.png" alt="KDE"/> |
|
|
506 | </xsl:when> |
|
|
507 | <xsl:when test="document(.)/news/@category='gentoo'"> |
|
|
508 | <img src="/images/icon-gentoo.png" alt="gentoo"/> |
|
|
509 | </xsl:when> |
|
|
510 | <xsl:when test="document(.)/news/@category='main'"> |
|
|
511 | <img src="/images/icon-stick.png" alt="stick man"/> |
|
|
512 | </xsl:when> |
|
|
513 | <xsl:when test="document(.)/news/@category='ibm'"> |
|
|
514 | <img src="/images/icon-ibm.gif" alt="ibm"/> |
|
|
515 | </xsl:when> |
|
|
516 | <xsl:when test="document(.)/news/@category='linux'"> |
|
|
517 | <img src="/images/icon-penguin.png" alt="tux"/> |
|
|
518 | </xsl:when> |
|
|
519 | <xsl:when test="document(.)/news/@category='moo'"> |
|
|
520 | <img src="/images/icon-cow.png" alt="Larry the Cow"/> |
|
|
521 | </xsl:when> |
|
|
522 | <xsl:when test="document(.)/news/@category='plans'"> |
|
|
523 | <img src="/images/icon-clock.png" alt="Clock"/> |
|
|
524 | </xsl:when> |
|
|
525 | <xsl:when test="document(.)/news/@category='nvidia'"> |
|
|
526 | <img src="/images/icon-nvidia.png" alt="Nvidia"/> |
|
|
527 | </xsl:when> |
|
|
528 | </xsl:choose> |
|
|
529 | </td> |
|
|
530 | <td valign="top"> |
|
|
531 | <xsl:choose> |
|
|
532 | <xsl:when test="document(.)/news/summary"> |
|
|
533 | <xsl:apply-templates select="document(.)/news/summary"/> |
|
|
534 | <br/> |
|
|
535 | <a href="{@external}"><b>(full story)</b></a> |
|
|
536 | </xsl:when> |
|
|
537 | <xsl:otherwise> |
|
|
538 | <xsl:apply-templates select="document(.)/news/body"/> |
|
|
539 | </xsl:otherwise> |
|
|
540 | </xsl:choose> |
|
|
541 | </td> |
|
|
542 | </tr> |
|
|
543 | </table> |
|
|
544 | <br/> |
|
|
545 | </xsl:for-each> |
|
|
546 | </xsl:when> |
|
|
547 | <xsl:when test="/news"> |
|
|
548 | <table class="content" cellpadding="4" width="100%" border="0"> |
|
|
549 | <tr> |
|
|
550 | <td colspan="2" bgcolor="#7a5ada"> |
|
|
551 | <font color="#ffffff"> |
|
|
552 | <b><xsl:value-of select="title"/></b> |
|
|
553 | </font> |
|
|
554 | <br/> |
|
|
555 | <font size="-3">Posted on <xsl:value-of select="date"/> by <xsl:value-of select="poster"/></font> |
|
|
556 | </td> |
|
|
557 | </tr> |
|
|
558 | <tr> |
|
|
559 | <td width="100" align="center" valign="top"> |
| 59 | <xsl:choose> |
560 | <xsl:choose> |
| 60 | <xsl:when test="/guide/subtitle"><xsl:value-of select="/guide/title"/>: <xsl:value-of select="/guide/subtitle"/></xsl:when> |
561 | <xsl:when test="@category='alpha'"> |
| 61 | <xsl:otherwise> |
562 | <img src="/images/icon-alpha.gif" alt="AlphaServer GS160"/> |
| 62 | <xsl:value-of select="/guide/title"/> |
|
|
| 63 | </xsl:otherwise> |
563 | </xsl:when> |
|
|
564 | <xsl:when test="@category='kde'"> |
|
|
565 | <img src="/images/icon-kde.png" alt="KDE"/> |
|
|
566 | </xsl:when> |
|
|
567 | <xsl:when test="@category='gentoo'"> |
|
|
568 | <img src="/images/icon-gentoo.png" alt="gentoo"/> |
|
|
569 | </xsl:when> |
|
|
570 | <xsl:when test="@category='main'"> |
|
|
571 | <img src="/images/icon-stick.png" alt="stick man"/> |
|
|
572 | </xsl:when> |
|
|
573 | <xsl:when test="@category='ibm'"> |
|
|
574 | <img src="/images/icon-ibm.gif" alt="IBM"/> |
|
|
575 | </xsl:when> |
|
|
576 | <xsl:when test="@category='linux'"> |
|
|
577 | <img src="/images/icon-penguin.png" alt="Tux the Penguin"/> |
|
|
578 | </xsl:when> |
|
|
579 | <xsl:when test="@category='moo'"> |
|
|
580 | <img src="/images/icon-cow.png" alt="Larry the Cow"/> |
|
|
581 | </xsl:when> |
|
|
582 | <xsl:when test="@category='nvidia'"> |
|
|
583 | <img src="/images/icon-nvidia.png" alt="nvidia"/> |
|
|
584 | </xsl:when> |
| 64 | </xsl:choose> |
585 | </xsl:choose> |
| 65 | </p> |
|
|
| 66 | <!-- <p> |
|
|
| 67 | <xsl:apply-templates select="author"/> |
|
|
| 68 | |
|
|
| 69 | </p> --> |
|
|
| 70 | <form name="contents" action="http://www.gentoo.org"><b>Contents</b>: |
|
|
| 71 | <select name="url" size="1" OnChange="location.href=form.url.options[form.url.selectedIndex].value" style="font-family:Arial,Helvetica, sans-serif; font-size:10"><xsl:for-each select="chapter"><xsl:variable name="chapid">doc_chap<xsl:number/></xsl:variable><option value="#{$chapid}"><xsl:number/>. <xsl:value-of select="title"/></option> |
|
|
| 72 | |
|
|
| 73 | </xsl:for-each></select></form> |
|
|
| 74 | <xsl:apply-templates select="chapter"/> |
|
|
| 75 | <br/> |
|
|
| 76 | <br/> |
|
|
| 77 | <!--content end--> |
|
|
| 78 | </td> |
586 | </td> |
| 79 | <td width="1%" bgcolor="#dddaec" valign="top"> |
587 | <td valign="top"> |
| 80 | <table border="0" cellspacing="5" cellpadding="0"> |
|
|
| 81 | <tr> |
588 | <xsl:choose> |
| 82 | <td> |
589 | <xsl:when test="body"> |
| 83 | <img src="http://www.ibiblio.org/web-gentoo/images/line.gif" alt="line"/> |
|
|
| 84 | </td> |
|
|
| 85 | </tr> |
|
|
| 86 | <tr> |
|
|
| 87 | <td align="center" class="alttext"> |
|
|
| 88 | Updated <xsl:value-of select="/guide/date"/> |
|
|
| 89 | </td> |
|
|
| 90 | </tr> |
|
|
| 91 | <tr> |
|
|
| 92 | <td> |
|
|
| 93 | <img src="http://www.ibiblio.org/web-gentoo/images/line.gif" alt="line"/> |
|
|
| 94 | </td> |
|
|
| 95 | </tr> |
|
|
| 96 | <tr> |
|
|
| 97 | <td class="alttext"> |
|
|
| 98 | <xsl:apply-templates select="/guide/author"/> |
590 | <xsl:apply-templates select="body"/> |
| 99 | </td> |
591 | </xsl:when> |
| 100 | </tr> |
592 | <xsl:when test="section"> |
| 101 | <tr> |
593 | <xsl:apply-templates select="section"/> |
| 102 | <td> |
|
|
| 103 | <img src="http://www.ibiblio.org/web-gentoo/images/line.gif" alt="line"/> |
|
|
| 104 | </td> |
594 | </xsl:when> |
| 105 | </tr> |
595 | </xsl:choose> |
| 106 | <tr> |
|
|
| 107 | <td class="alttext"><b>Summary:</b> <xsl:apply-templates select="abstract"/></td> |
|
|
| 108 | </tr> |
|
|
| 109 | <tr> |
|
|
| 110 | <td> |
|
|
| 111 | <img src="http://www.ibiblio.org/web-gentoo/images/line.gif" alt="line"/> |
|
|
| 112 | </td> |
|
|
| 113 | </tr> |
|
|
| 114 | <tr> |
|
|
| 115 | <td align="center"> |
|
|
| 116 | <!-- Begin PayPal Logo --> |
|
|
| 117 | <p class="alttext"><b>Donate</b> to support our development efforts.</p> |
|
|
| 118 | <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> |
|
|
| 119 | <input type="hidden" name="cmd" value="_xclick"/> |
|
|
| 120 | <input type="hidden" name="business" value="drobbins@gentoo.org"/> |
|
|
| 121 | <input type="hidden" name="item_name" value="Gentoo Linux Support"/> |
|
|
| 122 | <input type="hidden" name="item_number" value="1000"/> |
|
|
| 123 | <input type="hidden" name="image_url" value="http://www.ibiblio.org/web-gentoo/images/paypal.png"/> |
|
|
| 124 | <input type="hidden" name="no_shipping" value="1"/> |
|
|
| 125 | <input type="hidden" name="return" value="http://www.gentoo.org"/> |
|
|
| 126 | <input type="hidden" name="cancel_return" value="http://www.gentoo.org"/> |
|
|
| 127 | <input type="image" src="http://images.paypal.com/images/x-click-but21.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"/> |
|
|
| 128 | </form> |
|
|
| 129 | </td> |
596 | </td> |
| 130 | </tr> |
|
|
| 131 | <tr> |
|
|
| 132 | <td> |
|
|
| 133 | <img src="http://www.ibiblio.org/web-gentoo/images/line.gif" alt="line"/> |
|
|
| 134 | </td> |
597 | </tr> |
|
|
598 | </table> |
|
|
599 | </xsl:when> |
|
|
600 | <xsl:when test="/email"> |
|
|
601 | <xsl:apply-templates select="/email/body"/> |
|
|
602 | </xsl:when> |
|
|
603 | <xsl:otherwise> |
| 135 | </tr> |
604 | <br/> |
| 136 | <tr> |
605 | <table border="0" class="content"> |
| 137 | <td align="center"> |
|
|
| 138 | <a href="http://www.netraverse.com/gentoo.htm" target="_top"> |
|
|
| 139 | <img src="http://www.ibiblio.org/web-gentoo/images/netraverse-gentoo.gif" width="125" height="102" alt="Win4Lin at NeTraverse" border="0"/> |
|
|
| 140 | </a> |
|
|
| 141 | <p class="alttext">Win4Lin from <b>NeTraverse</b> lets you run Windows applications under Gentoo Linux at native speeds. <a href="http://www.netraverse.com/gentoo.htm">Purchase Win4Lin "Gentoo Edition"</a> and you'll also get a special Gentoo discount. Every sale also helps support Gentoo Linux development :)</p> |
|
|
| 142 | </td> |
606 | <tr> |
| 143 | </tr> |
|
|
| 144 | <tr> |
|
|
| 145 | <td> |
607 | <td> |
| 146 | <img src="http://www.ibiblio.org/web-gentoo/images/line.gif" alt="line"/> |
608 | <xsl:apply-templates select="chapter"/> |
| 147 | </td> |
609 | </td> |
| 148 | </tr> |
|
|
| 149 | <tr> |
|
|
| 150 | <td align="center"> |
|
|
| 151 | <a href="http://www.qksrv.net/click-477620-5032687" target="_top"> |
|
|
| 152 | <img src="http://www.qksrv.net/image-477620-5032687" width="125" height="125" alt="DDR Memory at Crucial.com" border="0"/> |
|
|
| 153 | </a> |
|
|
| 154 | <p class="alttext">Purchase RAM from <b>Crucial.com</b> and a percentage of your sale will go towards further Gentoo Linux development.</p> |
|
|
| 155 | </td> |
610 | </tr> |
| 156 | </tr> |
611 | </table> |
| 157 | <tr> |
612 | <br/> |
| 158 | <td> |
|
|
| 159 | <img src="http://www.ibiblio.org/web-gentoo/images/line.gif" alt="line"/> |
|
|
| 160 | </td> |
|
|
| 161 | </tr> |
613 | <br/> |
| 162 | </table> |
614 | <br/> |
| 163 | </td> |
615 | </xsl:otherwise> |
| 164 | </tr> |
616 | </xsl:choose> |
| 165 | </table> |
617 | <!--content end--> |
| 166 | <!--Netscape 4.7 hack end--> |
618 | </td> |
| 167 | </td> |
619 | </tr> |
|
|
620 | </table> |
|
|
621 | </td> |
|
|
622 | <td width="1%" bgcolor="#dddaec" valign="top"> |
|
|
623 | <table border="0" cellspacing="5" cellpadding="0"> |
|
|
624 | <tr> |
|
|
625 | <td> |
|
|
626 | <img src="/images/line.gif" alt="line"/> |
|
|
627 | </td> |
|
|
628 | </tr> |
|
|
629 | <xsl:choose> |
|
|
630 | <xsl:when test="/mainpage/date"> |
|
|
631 | <tr> |
|
|
632 | <td align="center" class="alttext"> |
|
|
633 | Updated <xsl:value-of select="/mainpage/date"/> |
|
|
634 | </td> |
|
|
635 | </tr> |
|
|
636 | <tr> |
|
|
637 | <td> |
|
|
638 | <img src="/images/line.gif" alt="line"/> |
|
|
639 | </td> |
|
|
640 | </tr> |
|
|
641 | </xsl:when> |
|
|
642 | <xsl:when test="/news/date"> |
|
|
643 | <tr> |
|
|
644 | <td align="center" class="alttext"> |
|
|
645 | Updated <xsl:value-of select="/news/date"/> |
|
|
646 | </td> |
|
|
647 | </tr> |
|
|
648 | <tr> |
|
|
649 | <td> |
|
|
650 | <img src="/images/line.gif" alt="line"/> |
|
|
651 | </td> |
|
|
652 | </tr> |
|
|
653 | </xsl:when> |
|
|
654 | </xsl:choose> |
|
|
655 | <tr> |
|
|
656 | <td align="center"> |
|
|
657 | <!-- Begin PayPal Logo --> |
|
|
658 | <p class="alttext"> |
|
|
659 | <b>Donate</b> to support our development efforts. |
|
|
660 | </p> |
|
|
661 | <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> |
|
|
662 | <input type="hidden" name="cmd" value="_xclick"/> |
|
|
663 | <input type="hidden" name="business" value="drobbins@gentoo.org"/> |
|
|
664 | <input type="hidden" name="item_name" value="Gentoo Linux Support"/> |
|
|
665 | <input type="hidden" name="item_number" value="1000"/> |
|
|
666 | <input type="hidden" name="image_url" value="/images/paypal.png"/> |
|
|
667 | <input type="hidden" name="no_shipping" value="1"/> |
|
|
668 | <input type="hidden" name="return" value="http://www.gentoo.org"/> |
|
|
669 | <input type="hidden" name="cancel_return" value="http://www.gentoo.org"/> |
|
|
670 | <input type="image" src="http://images.paypal.com/images/x-click-but21.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"/> |
|
|
671 | </form> |
|
|
672 | </td> |
|
|
673 | </tr> |
|
|
674 | <tr> |
|
|
675 | <td> |
|
|
676 | <img src="/images/line.gif" alt="line"/> |
|
|
677 | </td> |
|
|
678 | </tr> |
|
|
679 | <tr> |
|
|
680 | <td align="center"> |
|
|
681 | <a href="http://store.gentoo.org"> |
|
|
682 | <img src="/images/store.png" alt="The Gentoo Linux Store" border="0"/> |
|
|
683 | </a> |
|
|
684 | </td> |
|
|
685 | </tr> |
|
|
686 | <tr> |
|
|
687 | <td> |
|
|
688 | <img src="/images/line.gif" alt="line"/> |
|
|
689 | </td> |
|
|
690 | </tr> |
|
|
691 | <tr> |
|
|
692 | <td align="center"> |
|
|
693 | <a href="http://www.phparch.com/bannerclick.php?AID=68&BID=1&BT=127929" target="_top"><img src="/images/phpa-gentoo.gif" width="125" height="144" alt="php|architect" border="0"/></a> |
|
|
694 | <p class="alttext"> |
|
|
695 | php|architect is the monthly magazine for PHP professionals, available worldwide in print and electronic format. A percentage of all the sales will be donated back into the Gentoo project. |
|
|
696 | </p> |
|
|
697 | </td> |
| 168 | </tr> |
698 | </tr> |
| 169 | <tr> |
699 | <tr> |
| 170 | <td colspan="2" align="right" class="infohead" width="100%" bgcolor="#7a5ada"> |
|
|
| 171 | Copyright 2001-2003 Gentoo Technologies, Inc. Questions, Comments, Corrections? Email <a class="highlight" href="mailto:www@gentoo.org">www@gentoo.org</a>. |
|
|
| 172 | </td> |
|
|
| 173 | </tr> |
|
|
| 174 | </table> |
|
|
| 175 | </body> |
|
|
| 176 | </html> |
|
|
| 177 | </xsl:template> |
|
|
| 178 | <xsl:template match="/mainpage | /news | /email"> |
|
|
| 179 | <html> |
|
|
| 180 | <head> |
|
|
| 181 | <link title="new" rel="stylesheet" href="/css/main.css" type="text/css"/> |
|
|
| 182 | <link REL="shortcut icon" HREF="/favicon.ico" TYPE="image/x-icon"/> |
|
|
| 183 | <xsl:choose> |
|
|
| 184 | <xsl:when test="/mainpage | /news"> |
|
|
| 185 | <title>Gentoo Linux -- <xsl:value-of select="title"/></title> |
|
|
| 186 | </xsl:when> |
|
|
| 187 | <xsl:when test="/email"> |
|
|
| 188 | <title><xsl:value-of select="subject"/></title> |
|
|
| 189 | </xsl:when> |
|
|
| 190 | </xsl:choose> |
|
|
| 191 | </head> |
|
|
| 192 | <body style="margin-left:0px;margin-top:0px;" bgcolor="#000000"> |
|
|
| 193 | <!--<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0">--> |
|
|
| 194 | <table border="0" width="100%" cellspacing="0" cellpadding="0"> |
|
|
| 195 | <tr> |
700 | <td> |
| 196 | <td valign="top" height="125" width="1%" bgcolor="#45347b"> |
701 | <img src="/images/line.gif" alt="line"/> |
| 197 | <table cellspacing="0" cellpadding="0" border="0" width="100%"> |
|
|
| 198 | <tr> |
|
|
| 199 | <td class="logobg" valign="top" align="center" height="88"> |
|
|
| 200 | <a href="/"> |
|
|
| 201 | <img border="0" src="http://www.ibiblio.org/web-gentoo/images/gtop-s.jpg" alt="Gentoo Logo"/> |
|
|
| 202 | </a> |
|
|
| 203 | </td> |
|
|
| 204 | </tr> |
|
|
| 205 | <tr> |
|
|
| 206 | <td class="logobg" valign="top" align="center" height="36"> |
|
|
| 207 | <a href="/"> |
|
|
| 208 | <img border="0" src="http://www.ibiblio.org/web-gentoo/images/gbot-s.gif" alt="Gentoo Logo Side"/> |
|
|
| 209 | </a> |
|
|
| 210 | </td> |
|
|
| 211 | </tr> |
|
|
| 212 | </table> |
|
|
| 213 | </td> |
702 | </td> |
| 214 | <td valign="bottom" align="left" bgcolor="#000000" colspan="2"> |
|
|
| 215 | <p class="menu"> |
|
|
| 216 | <xsl:choose> |
|
|
| 217 | <xsl:when test="/mainpage/@id='news'"> |
|
|
| 218 | <a class="highlight" href="/">News</a> | |
|
|
| 219 | </xsl:when> |
|
|
| 220 | <xsl:otherwise> |
|
|
| 221 | <a class="menulink" href="/">News</a> | |
|
|
| 222 | </xsl:otherwise> |
|
|
| 223 | </xsl:choose> |
|
|
| 224 | <xsl:choose> |
|
|
| 225 | <xsl:when test="/mainpage/@id='about'"> |
|
|
| 226 | <a class="highlight" href="/main/en/about.xml"> About </a> | |
|
|
| 227 | </xsl:when> |
|
|
| 228 | <xsl:otherwise> |
|
|
| 229 | <a class="menulink" href="/main/en/about.xml"> About </a> | |
|
|
| 230 | </xsl:otherwise> |
|
|
| 231 | </xsl:choose> |
|
|
| 232 | <xsl:choose> |
|
|
| 233 | <xsl:when test="/mainpage/@id='contract'"> |
|
|
| 234 | <a class="highlight" href="/main/en/contract.xml"> Social Contract</a> | |
|
|
| 235 | </xsl:when> |
|
|
| 236 | <xsl:otherwise> |
|
|
| 237 | <a class="menulink" href="/main/en/contract.xml"> Social Contract</a> | |
|
|
| 238 | </xsl:otherwise> |
|
|
| 239 | </xsl:choose> |
|
|
| 240 | <xsl:choose> |
|
|
| 241 | <xsl:when test="/mainpage/@id='docs'"> |
|
|
| 242 | <a class="highlight" href="/main/en/docs.xml">Docs</a> | |
|
|
| 243 | </xsl:when> |
|
|
| 244 | <xsl:otherwise> |
|
|
| 245 | <a class="menulink" href="/main/en/docs.xml">Docs</a> | |
|
|
| 246 | </xsl:otherwise> |
|
|
| 247 | </xsl:choose> |
|
|
| 248 | <a class="menulink" href="http://forums.gentoo.org">Forums</a> | |
|
|
| 249 | <xsl:choose> |
|
|
| 250 | <xsl:when test="/mainpage/@id='lists'"> |
|
|
| 251 | <a class="highlight" href="/main/en/lists.xml"> Lists</a> | |
|
|
| 252 | </xsl:when> |
|
|
| 253 | <xsl:otherwise> |
|
|
| 254 | <a class="menulink" href="/main/en/lists.xml"> Lists</a> | |
|
|
| 255 | </xsl:otherwise> |
|
|
| 256 | </xsl:choose> |
|
|
| 257 | <a class="menulink" href="/main/en/shots.xml">ScreenShots</a> | |
|
|
| 258 | <a class="menulink" href="http://bugs.gentoo.org">Bugs</a> | |
|
|
| 259 | <a class="menulink" href="http://www.cafeshops.com/cp/store.aspx?s=gentoolinux">Store</a> | |
|
|
| 260 | <xsl:choose> |
|
|
| 261 | <xsl:when test="/mainpage/@id='newsletter'"> |
|
|
| 262 | <a class="highlight" href="/news/en/gwn/gwn.xml"> GWN</a> | |
|
|
| 263 | </xsl:when> |
|
|
| 264 | <xsl:otherwise> |
|
|
| 265 | <a class="menulink" href="/news/en/gwn/gwn.xml"> GWN</a> | |
|
|
| 266 | </xsl:otherwise> |
|
|
| 267 | </xsl:choose> |
|
|
| 268 | <xsl:choose> |
|
|
| 269 | <xsl:when test="/mainpage/@id='where'"> |
|
|
| 270 | <a class="highlight" href="/main/en/where.xml"> Get Gentoo!</a> |
|
|
| 271 | </xsl:when> |
|
|
| 272 | <xsl:otherwise> |
|
|
| 273 | <a class="menulink" href="/main/en/where.xml"> Get Gentoo!</a> |
|
|
| 274 | </xsl:otherwise> |
|
|
| 275 | </xsl:choose> |
|
|
| 276 | </p> |
|
|
| 277 | </td> |
|
|
| 278 | |
|
|
| 279 | |
|
|
| 280 | </tr> |
|
|
| 281 | <tr> |
|
|
| 282 | <td valign="top" align="right" width="1%" bgcolor="#dddaec"> |
|
|
| 283 | <table width="100%" cellspacing="0" cellpadding="0" border="0"> |
|
|
| 284 | <tr> |
|
|
| 285 | <td height="1%" valign="top" align="right"> |
|
|
| 286 | <img src="http://www.ibiblio.org/web-gentoo/images/gridtest.gif" alt="Gentoo Spaceship"/> |
|
|
| 287 | </td> |
|
|
| 288 | </tr> |
|
|
| 289 | <tr> |
|
|
| 290 | <td height="99%" valign="top" align="right"> |
|
|
| 291 | <!--info goes here--> |
|
|
| 292 | <table cellspacing="0" cellpadding="5" border="0"> |
|
|
| 293 | <tr> |
|
|
| 294 | <td valign="top"> |
|
|
| 295 | <p class="altmenu"> |
|
|
| 296 | <!-- disable search for now |
|
|
| 297 | Search gentoo.org:<table border="0" cellspacing="0" cellpadding="0"><tr><td> |
|
|
| 298 | <form method="get" action="http://www.gentoo.org/cgi-bin/perlfect/search/search.pl"> |
|
|
| 299 | <input type="hidden" name="p" value="1"/> |
|
|
| 300 | <input type="hidden" name="lang" value="en"/> |
|
|
| 301 | <input type="hidden" name="include" value=""/> |
|
|
| 302 | <input type="hidden" name="exclude" value=""/> |
|
|
| 303 | <input type="hidden" name="penalty" value="0"/> |
|
|
| 304 | <input type="hidden" name="mode" value="all"/> |
|
|
| 305 | <input type="text" name="q"/> |
|
|
| 306 | </form> |
|
|
| 307 | </td></tr></table> |
|
|
| 308 | <br/> |
|
|
| 309 | --> |
|
|
| 310 | Documentation: |
|
|
| 311 | <br/> |
|
|
| 312 | <a class="altlink" href="/main/en/about.xml">About Gentoo Linux</a> |
|
|
| 313 | <br/> |
|
|
| 314 | <a class="altlink" href="/main/en/docs.xml#top">User Docs</a> |
|
|
| 315 | <br/> |
|
|
| 316 | <a class="altlink" href="/main/en/docs.xml#doc_chap1_sect2">Developer Docs</a> |
|
|
| 317 | <br/> |
|
|
| 318 | <a class="altlink" href="/main/en/docs.xml#doc_chap1_sect3">Other Docs/Translations</a> |
|
|
| 319 | <br/> |
|
|
| 320 | <a class="altlink" href="/main/en/contract.xml">Social Contract</a> |
|
|
| 321 | <br/><br/> |
|
|
| 322 | Installation: |
|
|
| 323 | <br/> |
|
|
| 324 | <a class="altlink" href="/doc/en/gentoo-x86-install.xml">Gentoo Linux/x86</a> |
|
|
| 325 | <br/> |
|
|
| 326 | <a class="altlink" href="/doc/en/gentoo-ppc-install.xml">Gentoo Linux/PowerPC</a> |
|
|
| 327 | <br/> |
|
|
| 328 | <a class="altlink" href="/doc/en/gentoo-sparc-install.xml">Gentoo Linux/Sparc</a> |
|
|
| 329 | <br/><br/> |
|
|
| 330 | Resources: |
|
|
| 331 | <br/> |
|
|
| 332 | <a class="altlink" href="/main/en/lists.xml">Mailing lists</a> |
|
|
| 333 | <br/> |
|
|
| 334 | <a class="altlink" href="http://forums.gentoo.org">Discussion forums</a> |
|
|
| 335 | <br/> |
|
|
| 336 | <a class="hotlink" href="/dyn/index-cvs.xml">Daily CVS ChangeLog</a> |
|
|
| 337 | <br/> |
|
|
| 338 | <a class="altlink" href="http://bugs.gentoo.org">Bugzilla bug tracker</a> |
|
|
| 339 | <br/> |
|
|
| 340 | <a class="altlink" href="/main/en/mirrors.xml">Download Mirrors</a> |
|
|
| 341 | <br/> |
|
|
| 342 | <a class="altlink" href="/main/en/irc.xml">Official Gentoo IRC channels</a> |
|
|
| 343 | <br/> |
|
|
| 344 | <a class="altlink" href="/dyn/pkgs/index.xml">Online package database</a> |
|
|
| 345 | <br/> |
|
|
| 346 | <a class="altlink" href="http://cvs.gentoo.org/cgi-bin/viewcvs.cgi">View our CVS via the web</a> |
|
|
| 347 | <br/> |
|
|
| 348 | <a class="altlink" href="http://stats.gentoo.org">Gentoo Usage Statistics</a> |
|
|
| 349 | <br/> |
|
|
| 350 | <a class="altlink" href="/main/en/devlist.xml">Gentoo Linux developer list</a> |
|
|
| 351 | <br/><br/> |
|
|
| 352 | Graphics: |
|
|
| 353 | <br/> |
|
|
| 354 | <a class="altlink" href="/main/en/graphics.xml">Logos and themes</a> |
|
|
| 355 | <br/> |
|
|
| 356 | <a class="altlink" href="/main/en/icons.xml">Icons</a> |
|
|
| 357 | <br/> |
|
|
| 358 | <a class="altlink" href="/main/en/shots.xml">ScreenShots</a> |
|
|
| 359 | <br/><br/> |
|
|
| 360 | Miscellaneous Resources: |
|
|
| 361 | <br/> |
|
|
| 362 | <a class="altlink" href="http://www.cafeshops.com/cp/store.aspx?s=gentoolinux">Gentoo Linux Store</a> |
|
|
| 363 | <br/> |
|
|
| 364 | <a class="altlink" href="/main/en/projects.xml">Gentoo-hosted projects</a> |
|
|
| 365 | <br/> |
|
|
| 366 | <a class="altlink" href="/main/en/articles.xml">IBM dW/Intel article archive</a> |
|
|
| 367 | |
|
|
| 368 | <xsl:if test="/mainpage/@id='news'"> |
|
|
| 369 | <br/><br/> |
|
|
| 370 | Older News:<br/> |
|
|
| 371 | <xsl:for-each select="document('/dyn/news-index.xml')/uris/uri[position()>=7][position()<20]/text()"> |
|
|
| 372 | <xsl:variable name="newsuri" select="."/> |
|
|
| 373 | <a class="altlink" href="{$newsuri}"><xsl:value-of select="document(.)/news/title"/></a><br/> |
|
|
| 374 | </xsl:for-each> |
|
|
| 375 | </xsl:if> |
|
|
| 376 | </p> |
|
|
| 377 | <br/><br /> |
|
|
| 378 | </td> |
|
|
| 379 | </tr> |
|
|
| 380 | </table> |
|
|
| 381 | </td> |
|
|
| 382 | </tr> |
|
|
| 383 | </table> |
|
|
| 384 | </td> |
|
|
| 385 | <td valign="top" align="right" bgcolor="#ffffff"> |
|
|
| 386 | <table border="0" cellspacing="5" cellpadding="0" width="100%"> |
|
|
| 387 | <tr> |
|
|
| 388 | <td valign="top" align="left"> |
|
|
| 389 | <xsl:choose> |
|
|
| 390 | <xsl:when test="/mainpage/@id='news'"> |
|
|
| 391 | <table class="content" cellpadding="4" width="100%" border="0"> |
|
|
| 392 | <tr> |
|
|
| 393 | <td valign="top"> |
|
|
| 394 | <img src="http://www.ibiblio.org/web-gentoo/images/gentoo-new.gif" alt="new"/> |
|
|
| 395 | </td> |
|
|
| 396 | <td valign="middle"> |
|
|
| 397 | Gentoo Linux is a high-performance ports-based Linux metadistribution for x86, PowerPC, UltraSparc and Alpha Processor systems. To learn more, <b><a href="/main/en/about.xml">click here</a></b>. |
|
|
| 398 | </td> |
|
|
| 399 | </tr> |
|
|
| 400 | </table> |
|
|
| 401 | <br/> |
|
|
| 402 | <xsl:for-each select="document('/dyn/news-index.xml')/uris/uri[position()<7]/text()"> |
|
|
| 403 | <table class="content" cellpadding="4" width="100%" border="0"> |
|
|
| 404 | <tr> |
|
|
| 405 | <td colspan="2" bgcolor="#7a5ada"> |
|
|
| 406 | <font color="#ffffff"> |
|
|
| 407 | <b> |
|
|
| 408 | <xsl:value-of select="document(.)/news/title"/> |
|
|
| 409 | </b> |
|
|
| 410 | <br/> |
|
|
| 411 | <font size="-3">Posted on <xsl:value-of select="document(.)/news/date"/> by <xsl:value-of select="document(.)/news/poster"/></font> |
|
|
| 412 | </font> |
|
|
| 413 | </td> |
|
|
| 414 | </tr> |
|
|
| 415 | <tr> |
|
|
| 416 | <td width="100" align="center" valign="middle"> |
|
|
| 417 | <xsl:choose> |
|
|
| 418 | <xsl:when test="document(.)/news/@category='alpha'"> |
|
|
| 419 | <img src="http://www.ibiblio.org/web-gentoo/images/icon-alpha.gif" alt="AlphaServer GS160"/> |
|
|
| 420 | </xsl:when> |
|
|
| 421 | <xsl:when test="document(.)/news/@category='kde'"> |
|
|
| 422 | <img src="http://www.ibiblio.org/web-gentoo/images/icon-kde.png" alt="KDE"/> |
|
|
| 423 | </xsl:when> |
|
|
| 424 | <xsl:when test="document(.)/news/@category='gentoo'"> |
|
|
| 425 | <img src="http://www.ibiblio.org/web-gentoo/images/icon-gentoo.png" alt="gentoo"/> |
|
|
| 426 | </xsl:when> |
|
|
| 427 | <xsl:when test="document(.)/news/@category='main'"> |
|
|
| 428 | <img src="http://www.ibiblio.org/web-gentoo/images/icon-stick.png" alt="stick man"/> |
|
|
| 429 | </xsl:when> |
|
|
| 430 | <xsl:when test="document(.)/news/@category='ibm'"> |
|
|
| 431 | <img src="http://www.ibiblio.org/web-gentoo/images/icon-ibm.gif" alt="ibm"/> |
|
|
| 432 | </xsl:when> |
|
|
| 433 | <xsl:when test="document(.)/news/@category='linux'"> |
|
|
| 434 | <img src="http://www.ibiblio.org/web-gentoo/images/icon-penguin.png" alt="tux"/> |
|
|
| 435 | </xsl:when> |
|
|
| 436 | <xsl:when test="document(.)/news/@category='moo'"> |
|
|
| 437 | <img src="http://www.ibiblio.org/web-gentoo/images/icon-cow.png" alt="Larry the Cow"/> |
|
|
| 438 | </xsl:when> |
|
|
| 439 | <xsl:when test="document(.)/news/@category='nvidia'"> |
|
|
| 440 | <img src="http://www.ibiblio.org/web-gentoo/images/icon-nvidia.png" alt="Nvidia"/> |
|
|
| 441 | </xsl:when> |
|
|
| 442 | </xsl:choose> |
|
|
| 443 | </td> |
|
|
| 444 | <td valign="top"> |
|
|
| 445 | <xsl:choose> |
|
|
| 446 | <xsl:when test="document(.)/news/summary"> |
|
|
| 447 | <xsl:apply-templates select="document(.)/news/summary"/> |
|
|
| 448 | <br/> |
|
|
| 449 | <a href="{@external}"> |
|
|
| 450 | <b>(full story)</b> |
|
|
| 451 | </a> |
|
|
| 452 | </xsl:when> |
|
|
| 453 | <xsl:otherwise> |
|
|
| 454 | <xsl:apply-templates select="document(.)/news/body"/> |
|
|
| 455 | </xsl:otherwise> |
|
|
| 456 | </xsl:choose> |
|
|
| 457 | </td> |
|
|
| 458 | </tr> |
|
|
| 459 | </table> |
|
|
| 460 | <br/> |
|
|
| 461 | </xsl:for-each> |
|
|
| 462 | </xsl:when> |
|
|
| 463 | <xsl:when test="/news"> |
|
|
| 464 | <table class="content" cellpadding="4" width="100%" border="0"> |
|
|
| 465 | <tr> |
|
|
| 466 | <td colspan="2" bgcolor="#7a5ada"> |
|
|
| 467 | <font color="#ffffff"> |
|
|
| 468 | <b> |
|
|
| 469 | <xsl:value-of select="title"/> |
|
|
| 470 | </b> |
|
|
| 471 | <br/> |
|
|
| 472 | <font size="-3">Posted on <xsl:value-of select="date"/> by <xsl:value-of select="poster"/></font> |
|
|
| 473 | </font> |
|
|
| 474 | </td> |
|
|
| 475 | </tr> |
|
|
| 476 | <tr> |
|
|
| 477 | <td width="100" align="center" valign="top"> |
|
|
| 478 | <xsl:choose> |
|
|
| 479 | <xsl:when test="@category='alpha'"> |
|
|
| 480 | <img src="http://www.ibiblio.org/web-gentoo/images/icon-alpha.gif" alt="AlphaServer GS160"/> |
|
|
| 481 | </xsl:when> |
|
|
| 482 | <xsl:when test="@category='kde'"> |
|
|
| 483 | <img src="http://www.ibiblio.org/web-gentoo/images/icon-kde.png" alt="KDE"/> |
|
|
| 484 | </xsl:when> |
|
|
| 485 | <xsl:when test="@category='gentoo'"> |
|
|
| 486 | <img src="http://www.ibiblio.org/web-gentoo/images/icon-gentoo.png" alt="gentoo"/> |
|
|
| 487 | </xsl:when> |
|
|
| 488 | <xsl:when test="@category='main'"> |
|
|
| 489 | <img src="http://www.ibiblio.org/web-gentoo/images/icon-stick.png" alt="stick man"/> |
|
|
| 490 | </xsl:when> |
|
|
| 491 | <xsl:when test="@category='ibm'"> |
|
|
| 492 | <img src="http://www.ibiblio.org/web-gentoo/images/icon-ibm.gif" alt="IBM"/> |
|
|
| 493 | </xsl:when> |
|
|
| 494 | <xsl:when test="@category='linux'"> |
|
|
| 495 | <img src="http://www.ibiblio.org/web-gentoo/images/icon-penguin.png" alt="Tux the Penguin"/> |
|
|
| 496 | </xsl:when> |
|
|
| 497 | <xsl:when test="@category='moo'"> |
|
|
| 498 | <img src="http://www.ibiblio.org/web-gentoo/images/icon-cow.png" alt="Larry the Cow"/> |
|
|
| 499 | </xsl:when> |
|
|
| 500 | <xsl:when test="@category='nvidia'"> |
|
|
| 501 | <img src="http://www.ibiblio.org/web-gentoo/images/icon-nvidia.png" alt="nvidia"/> |
|
|
| 502 | </xsl:when> |
|
|
| 503 | </xsl:choose> |
|
|
| 504 | </td> |
|
|
| 505 | <td valign="top"> |
|
|
| 506 | <xsl:choose> |
|
|
| 507 | <xsl:when test="body"> |
|
|
| 508 | <xsl:apply-templates select="body"/> |
|
|
| 509 | </xsl:when> |
|
|
| 510 | <xsl:when test="section"> |
|
|
| 511 | <xsl:apply-templates select="section"/> |
|
|
| 512 | </xsl:when> |
|
|
| 513 | </xsl:choose> |
|
|
| 514 | </td> |
|
|
| 515 | </tr> |
|
|
| 516 | </table> |
|
|
| 517 | </xsl:when> |
|
|
| 518 | <xsl:when test="/email"> |
|
|
| 519 | <xsl:apply-templates select="/email/body"/> |
|
|
| 520 | </xsl:when> |
|
|
| 521 | <xsl:otherwise> |
|
|
| 522 | <br/> |
|
|
| 523 | <table border="0" class="content"> |
|
|
| 524 | <tr> |
|
|
| 525 | <td> |
|
|
| 526 | <xsl:apply-templates select="chapter"/> |
|
|
| 527 | </td> |
|
|
| 528 | </tr> |
|
|
| 529 | </table> |
|
|
| 530 | <br/> |
|
|
| 531 | <br/> |
|
|
| 532 | <br/> |
|
|
| 533 | </xsl:otherwise> |
|
|
| 534 | </xsl:choose> |
|
|
| 535 | <!--content end--> |
|
|
| 536 | </td> |
|
|
| 537 | </tr> |
|
|
| 538 | </table> |
|
|
| 539 | </td> |
|
|
| 540 | <td width="1%" bgcolor="#dddaec" valign="top"> |
|
|
| 541 | <table border="0" cellspacing="5" cellpadding="0"> |
|
|
| 542 | <tr> |
|
|
| 543 | <td> |
|
|
| 544 | <img src="http://www.ibiblio.org/web-gentoo/images/line.gif" alt="line"/> |
|
|
| 545 | </td> |
|
|
| 546 | </tr> |
|
|
| 547 | <xsl:choose> |
|
|
| 548 | <xsl:when test="/mainpage/date"> |
|
|
| 549 | <tr><td align="center" class="alttext"> |
|
|
| 550 | Updated <xsl:value-of select="/mainpage/date"/> |
|
|
| 551 | </td></tr> |
|
|
| 552 | <tr> |
|
|
| 553 | <td> |
|
|
| 554 | <img src="http://www.ibiblio.org/web-gentoo/images/line.gif" alt="line"/> |
|
|
| 555 | </td> |
|
|
| 556 | </tr> |
|
|
| 557 | </xsl:when> |
|
|
| 558 | <xsl:when test="/news/date"> |
|
|
| 559 | <tr><td align="center" class="alttext"> |
|
|
| 560 | Updated <xsl:value-of select="/news/date"/> |
|
|
| 561 | </td></tr> |
|
|
| 562 | <tr> |
|
|
| 563 | <td> |
|
|
| 564 | <img src="http://www.ibiblio.org/web-gentoo/images/line.gif" alt="line"/> |
|
|
| 565 | </td> |
|
|
| 566 | </tr> |
|
|
| 567 | </xsl:when> |
|
|
| 568 | </xsl:choose> |
|
|
| 569 | <tr> |
|
|
| 570 | <td align="center"> |
|
|
| 571 | <!-- Begin PayPal Logo --> |
|
|
| 572 | <p class="alttext"><b>Donate</b> to support our development efforts.</p> |
|
|
| 573 | <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> |
|
|
| 574 | <input type="hidden" name="cmd" value="_xclick"/> |
|
|
| 575 | <input type="hidden" name="business" value="drobbins@gentoo.org"/> |
|
|
| 576 | <input type="hidden" name="item_name" value="Gentoo Linux Support"/> |
|
|
| 577 | <input type="hidden" name="item_number" value="1000"/> |
|
|
| 578 | <input type="hidden" name="image_url" value="http://www.ibiblio.org/web-gentoo/images/paypal.png"/> |
|
|
| 579 | <input type="hidden" name="no_shipping" value="1"/> |
|
|
| 580 | <input type="hidden" name="return" value="http://www.gentoo.org"/> |
|
|
| 581 | <input type="hidden" name="cancel_return" value="http://www.gentoo.org"/> |
|
|
| 582 | <input type="image" src="http://images.paypal.com/images/x-click-but21.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"/> |
|
|
| 583 | </form> |
|
|
| 584 | </td> |
|
|
| 585 | </tr> |
|
|
| 586 | <tr> |
|
|
| 587 | <td> |
|
|
| 588 | <img src="http://www.ibiblio.org/web-gentoo/images/line.gif" alt="line"/> |
|
|
| 589 | </td> |
|
|
| 590 | </tr> |
|
|
| 591 | <tr> |
|
|
| 592 | <td align="center"> |
|
|
| 593 | <a href="http://www.netraverse.com/gentoo.htm" target="_top"> |
|
|
| 594 | <img src="http://www.ibiblio.org/web-gentoo/images/netraverse-gentoo.gif" width="125" height="102" alt="Win4Lin at NeTraverse" border="0"/> |
|
|
| 595 | </a> |
|
|
| 596 | <p class="alttext">Win4Lin from <b>NeTraverse</b> lets you run Windows applications under Gentoo Linux at native speeds. <a href="http://www.netraverse.com/gentoo.htm">Purchase Win4Lin "Gentoo Edition"</a> and you'll also get a special Gentoo discount. Every sale also helps support Gentoo Linux development :)</p> |
|
|
| 597 | </td> |
|
|
| 598 | </tr> |
|
|
| 599 | <tr> |
|
|
| 600 | <td> |
|
|
| 601 | <img src="http://www.ibiblio.org/web-gentoo/images/line.gif" alt="line"/> |
|
|
| 602 | </td> |
|
|
| 603 | </tr> |
|
|
| 604 | <tr> |
|
|
| 605 | <td align="center"> |
|
|
| 606 | <a href="http://www.qksrv.net/click-477620-5032687" target="_top"> |
|
|
| 607 | <img src="http://www.qksrv.net/image-477620-5032687" width="125" height="125" alt="DDR Memory at Crucial.com" border="0"/> |
|
|
| 608 | </a> |
|
|
| 609 | <p class="alttext">Purchase RAM from <b>Crucial.com</b> and a percentage of your sale will go towards further Gentoo Linux development.</p> |
|
|
| 610 | </td> |
|
|
| 611 | </tr> |
|
|
| 612 | <tr> |
|
|
| 613 | <td> |
|
|
| 614 | <img src="http://www.ibiblio.org/web-gentoo/images/line.gif" alt="line"/> |
|
|
| 615 | </td> |
|
|
| 616 | </tr> |
|
|
| 617 | </table> |
|
|
| 618 | </td> |
|
|
| 619 | <!-- |
|
|
| 620 | <td width="15%" class="infotext" valign="top" align="left" bgcolor="#ddddff"> |
|
|
| 621 | <table border="0" cellspacing="5" cellpadding="0" width="100%"> |
|
|
| 622 | <tr> |
|
|
| 623 | <td> |
|
|
| 624 | <br/> |
|
|
| 625 | </td> |
|
|
| 626 | </tr> |
|
|
| 627 | </table> |
|
|
| 628 | </td> |
|
|
| 629 | --> |
|
|
| 630 | </tr> |
703 | </tr> |
| 631 | <tr> |
704 | <tr> |
| 632 | <td align="right" class="infohead" width="100%" colspan="3" bgcolor="#7a5ada"> |
705 | <td align="center"> |
| 633 | Copyright 2001-2003 Gentoo |
706 | <a href="http://www.tek.net" target="_top"><img src="/images/tek-gentoo.gif" width="125" height="125" alt="Tek Alchemy" border="0"/></a> |
| 634 | Technologies, Inc. Questions, Comments, Corrections? Email <a class="highlight" href="mailto:www@gentoo.org">www@gentoo.org</a>. |
707 | <p class="alttext"> |
| 635 | </td> |
708 | Tek Alchemy offers dedicated servers and other hosting solutions running Gentoo Linux. |
|
|
709 | </p> |
|
|
710 | </td> |
| 636 | </tr> |
711 | </tr> |
|
|
712 | <tr> |
|
|
713 | <td> |
|
|
714 | <img src="/images/line.gif" alt="line"/> |
|
|
715 | </td> |
|
|
716 | </tr> |
|
|
717 | <tr> |
|
|
718 | <td align="center"> |
|
|
719 | <a href="http://www.qksrv.net/click-477620-5032687" target="_top"><img src="http://www.qksrv.net/image-477620-5032687" width="125" height="125" alt="DDR Memory at Crucial.com" border="0"/></a> |
|
|
720 | <p class="alttext"> |
|
|
721 | Purchase RAM from <b>Crucial.com</b> and a percentage of your sale will go towards further Gentoo Linux development. |
|
|
722 | </p> |
|
|
723 | </td> |
|
|
724 | </tr> |
|
|
725 | <tr> |
|
|
726 | <td> |
|
|
727 | <img src="/images/line.gif" alt="line"/> |
|
|
728 | </td> |
|
|
729 | </tr> |
|
|
730 | <tr> |
|
|
731 | <td align="center"> |
|
|
732 | <a href="http://www.netraverse.com/gentoo.htm" target="_top"><img src="/images/netraverse-gentoo.gif" width="125" height="102" alt="Win4Lin at NeTraverse" border="0"/></a> |
|
|
733 | <p class="alttext"> |
|
|
734 | Win4Lin from <b>NeTraverse</b> lets you run Windows applications under Gentoo Linux at native speeds. |
|
|
735 | </p> |
|
|
736 | </td> |
|
|
737 | </tr> |
|
|
738 | <tr> |
|
|
739 | <td> |
|
|
740 | <img src="/images/line.gif" alt="line"/> |
|
|
741 | </td> |
|
|
742 | </tr> |
| 637 | </table> |
743 | </table> |
| 638 | </body> |
|
|
| 639 | </html> |
744 | </td> |
|
|
745 | <!-- |
|
|
746 | <td width="15%" class="infotext" valign="top" align="left" bgcolor="#ddddff"> |
|
|
747 | <table border="0" cellspacing="5" cellpadding="0" width="100%"> |
|
|
748 | <tr> |
|
|
749 | <td> |
|
|
750 | <br/> |
|
|
751 | </td> |
|
|
752 | </tr> |
|
|
753 | </table> |
|
|
754 | </td> |
|
|
755 | --> |
|
|
756 | </tr> |
|
|
757 | <tr> |
|
|
758 | <td align="right" class="infohead" width="100%" colspan="3" bgcolor="#7a5ada"> |
|
|
759 | Copyright 2001-2003 Gentoo Technologies, Inc. Questions, Comments, Corrections? Email <a class="highlight" href="mailto:www@gentoo.org">www@gentoo.org</a>. |
|
|
760 | </td> |
|
|
761 | </tr> |
|
|
762 | </table> |
|
|
763 | |
|
|
764 | </body> |
|
|
765 | </html> |
| 640 | </xsl:template> |
766 | </xsl:template> |
|
|
767 | |
|
|
768 | <!-- News items --> |
| 641 | <xsl:template match="newsitems"> |
769 | <xsl:template match="newsitems"> |
| 642 | <xsl:apply-templates select="news"/> |
770 | <xsl:apply-templates select="news"/> |
| 643 | </xsl:template> |
771 | </xsl:template> |
|
|
772 | |
|
|
773 | <!-- News template, child of newsitems --> |
| 644 | <xsl:template match="news"> |
774 | <xsl:template match="news"> |
| 645 | <table width="100%" border="0" cellspacing="5" cellpadding="0"> |
775 | <table width="100%" border="0" cellspacing="5" cellpadding="0"> |
| 646 | <tr> |
776 | <tr> |
| 647 | <td colspan="2" class="ncontent" bgcolor="#bbffbb"> |
777 | <td colspan="2" class="ncontent" bgcolor="#bbffbb"> |
| 648 | <p class="note"> |
778 | <p class="note"> |
| 649 | <font color="#7a5ada"> |
779 | <font color="#7a5ada"> |
| 650 | <b> |
|
|
| 651 | <xsl:value-of select="title"/> |
780 | <b><xsl:value-of select="title"/></b> |
| 652 | </b> |
|
|
| 653 | </font> |
781 | </font> |
| 654 | </p> |
782 | </p> |
|
|
783 | </td> |
|
|
784 | </tr> |
|
|
785 | <tr> |
|
|
786 | <xsl:choose> |
|
|
787 | <xsl:when test="@align='left'"> |
|
|
788 | <td rowspan="2" valign="top" width="1"> |
|
|
789 | <img src="{@graphic}"/> |
| 655 | </td> |
790 | </td> |
|
|
791 | <td class="alttext"> |
|
|
792 | <font color="#808080"> |
|
|
793 | Posted by <xsl:value-of select="poster"/> on <xsl:value-of select="date"/> |
|
|
794 | </font> |
|
|
795 | </td> |
|
|
796 | </xsl:when> |
|
|
797 | <xsl:otherwise> |
|
|
798 | <td class="alttext"> |
|
|
799 | <font color="#808080"> |
|
|
800 | Posted by <xsl:value-of select="poster"/> on <xsl:value-of select="date"/> |
|
|
801 | </font> |
|
|
802 | </td> |
|
|
803 | <td rowspan="2" valign="top" width="1"> |
|
|
804 | <img src="{@graphic}"/> |
|
|
805 | </td> |
|
|
806 | </xsl:otherwise> |
|
|
807 | </xsl:choose> |
|
|
808 | </tr> |
|
|
809 | <tr> |
|
|
810 | <td class="content" valign="top"> |
|
|
811 | <xsl:apply-templates select="body"/> |
|
|
812 | </td> |
|
|
813 | </tr> |
|
|
814 | </table> |
|
|
815 | <br/> |
|
|
816 | <table width="100%"> |
|
|
817 | <tr> |
|
|
818 | <td height="1" bgcolor="#c0c0c0"/> |
|
|
819 | </tr> |
|
|
820 | </table> |
|
|
821 | <br/> |
|
|
822 | </xsl:template> |
|
|
823 | |
|
|
824 | <!-- Mail template --> |
|
|
825 | <xsl:template match="mail"> |
|
|
826 | <a href="mailto:{@link}"><xsl:value-of select="."/></a> |
|
|
827 | </xsl:template> |
|
|
828 | |
|
|
829 | <!-- Mail inside <author>...</author> --> |
|
|
830 | <xsl:template match="/guide/author/mail|/book/author/mail"> |
|
|
831 | <b> |
|
|
832 | <a class="altlink" href="mailto:{@link}"><xsl:value-of select="."/></a> |
|
|
833 | </b> |
|
|
834 | </xsl:template> |
|
|
835 | |
|
|
836 | <!-- Author --> |
|
|
837 | <xsl:template match="author"> |
|
|
838 | <xsl:apply-templates/> |
|
|
839 | <xsl:if test="@title"> |
|
|
840 | <xsl:if test="$style != 'printable'"> |
|
|
841 | <br/> |
|
|
842 | </xsl:if> |
|
|
843 | <i><xsl:value-of select="@title"/></i> |
|
|
844 | </xsl:if> |
|
|
845 | <br/> |
|
|
846 | <xsl:if test="$style != 'printable'"> |
|
|
847 | <br/> |
|
|
848 | </xsl:if> |
|
|
849 | </xsl:template> |
|
|
850 | |
|
|
851 | <!-- Chapter --> |
|
|
852 | <xsl:template match="chapter"> |
|
|
853 | <xsl:variable name="chid"><xsl:number/></xsl:variable> |
|
|
854 | <xsl:choose> |
|
|
855 | <xsl:when test="title"> |
|
|
856 | <p class="chaphead"> |
|
|
857 | <xsl:if test="@id"> |
|
|
858 | <a name="{@id}"/> |
|
|
859 | </xsl:if> |
|
|
860 | <span class="chapnum"> |
|
|
861 | <a name="doc_chap{$chid}"><xsl:number/>. </a> |
|
|
862 | </span> |
|
|
863 | <xsl:value-of select="title"/> |
|
|
864 | </p> |
|
|
865 | </xsl:when> |
|
|
866 | <xsl:otherwise> |
|
|
867 | <xsl:if test="/guide"> |
|
|
868 | <p class="chaphead"> |
|
|
869 | <span class="chapnum"> |
|
|
870 | <a name="doc_chap{$chid}"><xsl:number/>.</a> |
|
|
871 | </span> |
| 656 | </tr> |
872 | </p> |
|
|
873 | </xsl:if> |
|
|
874 | </xsl:otherwise> |
|
|
875 | </xsl:choose> |
|
|
876 | <xsl:apply-templates select="body"> |
|
|
877 | <xsl:with-param name="chid" select="$chid"/> |
|
|
878 | </xsl:apply-templates> |
|
|
879 | <xsl:apply-templates select="section"> |
|
|
880 | <xsl:with-param name="chid" select="$chid"/> |
|
|
881 | </xsl:apply-templates> |
|
|
882 | </xsl:template> |
|
|
883 | |
|
|
884 | |
|
|
885 | <!-- Section template --> |
|
|
886 | <xsl:template match="section"> |
|
|
887 | <xsl:param name="chid"/> |
|
|
888 | <xsl:if test="title"> |
|
|
889 | <xsl:variable name="sectid">doc_chap<xsl:value-of select="$chid"/>_sect<xsl:number/></xsl:variable> |
|
|
890 | <p class="secthead"> |
|
|
891 | <a name="{$sectid}"><xsl:value-of select="title"/> </a> |
|
|
892 | </p> |
|
|
893 | </xsl:if> |
|
|
894 | <xsl:if test="@id"> |
|
|
895 | <a name="{@id}"/> |
|
|
896 | </xsl:if> |
|
|
897 | <xsl:apply-templates select="body"> |
|
|
898 | <xsl:with-param name="chid" select="$chid"/> |
|
|
899 | </xsl:apply-templates> |
|
|
900 | </xsl:template> |
|
|
901 | |
|
|
902 | <!-- Figure template --> |
|
|
903 | <xsl:template match="figure"> |
|
|
904 | <xsl:param name="chid"/> |
|
|
905 | <xsl:variable name="fignum"><xsl:number level="any" from="chapter" count="figure"/></xsl:variable> |
|
|
906 | <xsl:variable name="figid">doc_chap<xsl:value-of select="$chid"/>_fig<xsl:value-of select="$fignum"/></xsl:variable> |
|
|
907 | <br/> |
|
|
908 | <a name="{$figid}"/> |
|
|
909 | <table cellspacing="0" cellpadding="0" border="0"> |
| 657 | <tr> |
910 | <tr> |
|
|
911 | <td class="infohead" bgcolor="#7a5ada"> |
|
|
912 | <p class="caption"> |
| 658 | <xsl:choose> |
913 | <xsl:choose> |
| 659 | <xsl:when test="@align='left'"> |
914 | <xsl:when test="@caption"> |
| 660 | <td rowspan="2" valign="top" width="1"> |
915 | Figure <xsl:value-of select="$chid"/>.<xsl:value-of select="$fignum"/>: <xsl:value-of select="@caption"/> |
| 661 | <img src="{@graphic}"/> |
|
|
| 662 | </td> |
|
|
| 663 | <td class="alttext"> |
|
|
| 664 | <font color="#808080">Posted by <xsl:value-of select="poster"/> on <xsl:value-of select="date"/></font> |
|
|
| 665 | </td> |
|
|
| 666 | </xsl:when> |
916 | </xsl:when> |
| 667 | <xsl:otherwise> |
917 | <xsl:otherwise> |
| 668 | <td class="alttext"> |
918 | Figure <xsl:value-of select="$chid"/>.<xsl:value-of select="$fignum"/> |
| 669 | <font color="#808080">Posted by <xsl:value-of select="poster"/> on <xsl:value-of select="date"/></font> |
|
|
| 670 | </td> |
|
|
| 671 | <td rowspan="2" valign="top" width="1"> |
|
|
| 672 | <img src="{@graphic}"/> |
|
|
| 673 | </td> |
|
|
| 674 | </xsl:otherwise> |
919 | </xsl:otherwise> |
| 675 | </xsl:choose> |
920 | </xsl:choose> |
| 676 | </tr> |
921 | </p> |
| 677 | <tr> |
|
|
| 678 | <td class="content" valign="top"> |
|
|
| 679 | <xsl:apply-templates select="body"/> |
|
|
| 680 | </td> |
922 | </td> |
|
|
923 | </tr> |
|
|
924 | <tr> |
|
|
925 | <td align="center" bgcolor="#ddddff"> |
|
|
926 | <xsl:choose> |
|
|
927 | <xsl:when test="@short"> |
|
|
928 | <img src="{@link}" alt="Fig. {$fignum}: {@short}"/> |
|
|
929 | </xsl:when> |
|
|
930 | <xsl:otherwise> |
|
|
931 | <img src="{@link}" alt="Fig. {$fignum}"/> |
|
|
932 | </xsl:otherwise> |
|
|
933 | </xsl:choose> |
| 681 | </tr> |
934 | </td> |
|
|
935 | </tr> |
| 682 | </table> |
936 | </table> |
| 683 | <br/> |
937 | <br/> |
| 684 | <table width="100%"> |
|
|
| 685 | <tr> |
|
|
| 686 | <td height="1" bgcolor="#c0c0c0"/> |
|
|
| 687 | </tr> |
|
|
| 688 | </table> |
|
|
| 689 | <br/> |
|
|
| 690 | </xsl:template> |
938 | </xsl:template> |
|
|
939 | |
|
|
940 | <!--figure without a caption; just a graphical element--> |
| 691 | <xsl:template match="mail"> |
941 | <xsl:template match="fig"> |
| 692 | <a href="mailto:{@link}"> |
942 | <center> |
| 693 | <xsl:value-of select="."/> |
943 | <xsl:choose> |
| 694 | </a> |
944 | <xsl:when test="@linkto"> |
|
|
945 | <a href="{@linkto}"><img border="0" src="{@link}" alt="{@short}"/></a> |
|
|
946 | </xsl:when> |
|
|
947 | <xsl:otherwise> |
|
|
948 | <img src="{@link}" alt="{@short}"/> |
|
|
949 | </xsl:otherwise> |
|
|
950 | </xsl:choose> |
|
|
951 | </center> |
| 695 | </xsl:template> |
952 | </xsl:template> |
|
|
953 | |
|
|
954 | <!-- Line break --> |
| 696 | <xsl:template match="author/mail"> |
955 | <xsl:template match="br"> |
| 697 | <b> |
956 | <br/> |
| 698 | <a class="altlink" href="mailto:{@link}"> |
|
|
| 699 | <xsl:value-of select="."/> |
|
|
| 700 | </a> |
|
|
| 701 | </b> |
|
|
| 702 | </xsl:template> |
957 | </xsl:template> |
|
|
958 | |
|
|
959 | <!-- Note --> |
|
|
960 | <xsl:template match="note"> |
|
|
961 | <table class="ncontent" width="100%" border="0" cellspacing="0" cellpadding="0"> |
|
|
962 | <tr> |
|
|
963 | <td bgcolor="#bbffbb"> |
|
|
964 | <p class="note"> |
|
|
965 | <b>Note: </b> |
|
|
966 | <xsl:apply-templates/> |
|
|
967 | </p> |
|
|
968 | </td> |
|
|
969 | </tr> |
|
|
970 | </table> |
|
|
971 | </xsl:template> |
|
|
972 | |
|
|
973 | <!-- Important item --> |
|
|
974 | <xsl:template match="impo"> |
|
|
975 | <table class="ncontent" width="100%" border="0" cellspacing="0" cellpadding="0"> |
|
|
976 | <tr> |
|
|
977 | <td bgcolor="#ffffbb"> |
|
|
978 | <p class="note"> |
|
|
979 | <b>Important: </b> |
|
|
980 | <xsl:apply-templates/> |
|
|
981 | </p> |
|
|
982 | </td> |
|
|
983 | </tr> |
|
|
984 | </table> |
|
|
985 | </xsl:template> |
|
|
986 | |
|
|
987 | <!-- Warning --> |
| 703 | <xsl:template match="author"> |
988 | <xsl:template match="warn"> |
|
|
989 | <table class="ncontent" width="100%" border="0" cellspacing="0" cellpadding="0"> |
|
|
990 | <tr> |
|
|
991 | <td bgcolor="#ffbbbb"> |
|
|
992 | <p class="note"> |
|
|
993 | <b>Warning: </b> |
|
|
994 | <xsl:apply-templates/> |
|
|
995 | </p> |
|
|
996 | </td> |
|
|
997 | </tr> |
|
|
998 | </table> |
|
|
999 | </xsl:template> |
|
|
1000 | |
|
|
1001 | <!-- Code note --> |
|
|
1002 | <xsl:template match="codenote"> |
|
|
1003 | <span class="comment">// <xsl:value-of select="."/></span> |
|
|
1004 | </xsl:template> |
|
|
1005 | |
|
|
1006 | <!-- Regular comment --> |
|
|
1007 | <xsl:template match="comment"> |
|
|
1008 | <span class="comment"> |
| 704 | <xsl:apply-templates/> |
1009 | <xsl:apply-templates/> |
| 705 | <xsl:if test="@title"> |
1010 | </span> |
| 706 | <br/> |
|
|
| 707 | <i> |
|
|
| 708 | <xsl:value-of select="@title"/> |
|
|
| 709 | </i> |
|
|
| 710 | </xsl:if> |
|
|
| 711 | <br/> |
|
|
| 712 | <br/> |
|
|
| 713 | </xsl:template> |
1011 | </xsl:template> |
|
|
1012 | |
|
|
1013 | <!-- User input --> |
|
|
1014 | <xsl:template match="i"> |
|
|
1015 | <span class="input"><xsl:apply-templates/></span> |
|
|
1016 | </xsl:template> |
|
|
1017 | |
|
|
1018 | <!-- Bold --> |
|
|
1019 | <xsl:template match="b"> |
|
|
1020 | <b><xsl:apply-templates/></b> |
|
|
1021 | </xsl:template> |
|
|
1022 | |
|
|
1023 | <!-- Brite --> |
|
|
1024 | <xsl:template match="brite"> |
|
|
1025 | <font color="#ff0000"> |
|
|
1026 | <b><xsl:apply-templates/></b> |
|
|
1027 | </font> |
|
|
1028 | </xsl:template> |
|
|
1029 | |
|
|
1030 | <!-- Body inside email --> |
|
|
1031 | <xsl:template match="/email/body"> |
|
|
1032 | <table border="0"> |
|
|
1033 | <tr> |
|
|
1034 | <td> |
|
|
1035 | <span class="content"> |
|
|
1036 | <p class="secthead"> |
|
|
1037 | Subject: <xsl:value-of select="/email/subject"/> |
|
|
1038 | </p> |
|
|
1039 | <p class="secthead"> |
|
|
1040 | <font color="#000000"> |
|
|
1041 | List: <xsl:value-of select="/email/list"/> at gentoo.org<br/> |
|
|
1042 | Date: <xsl:value-of select="/email/date"/><br/> |
|
|
1043 | From: <xsl:value-of select="/email/from"/><br/><br/> |
|
|
1044 | <xsl:if test="/email/nav/prev"> |
|
|
1045 | <xsl:for-each select="/email/nav/prev[position()=1]/text()"> |
|
|
1046 | <xsl:variable name="navloc" select="."/> |
|
|
1047 | <xsl:variable name="navfile">/dyn/lists/<xsl:value-of select="/email/list"/>/<xsl:value-of select="."/>.xml</xsl:variable> |
|
|
1048 | Previous: <a href="{$navfile}"><xsl:value-of select="document($navfile)/email/subject"/></a><br/> |
|
|
1049 | </xsl:for-each> |
|
|
1050 | </xsl:if> |
|
|
1051 | <xsl:if test="/email/nav/next"> |
|
|
1052 | <xsl:for-each select="/email/nav/next[position()=1]/text()"> |
|
|
1053 | <xsl:variable name="navloc" select="."/> |
|
|
1054 | <xsl:variable name="navfile">/dyn/lists/<xsl:value-of select="/email/list"/>/<xsl:value-of select="."/>.xml</xsl:variable> |
|
|
1055 | Next: <a href="{$navfile}"><xsl:value-of select="document($navfile)/email/subject"/></a><br/> |
|
|
1056 | </xsl:for-each> |
|
|
1057 | </xsl:if> |
|
|
1058 | <xsl:if test="/email/in-reply-to"> |
|
|
1059 | <xsl:for-each select="/email/in-reply-to[position()=1]/text()"> |
|
|
1060 | <xsl:variable name="irtloc" select="."/> |
|
|
1061 | <xsl:variable name="irtfile">/dyn/lists/<xsl:value-of select="/email/list"/>/<xsl:value-of select="."/>.xml</xsl:variable> |
|
|
1062 | In Reply To: <a href="{$irtfile}"><xsl:value-of select="document($irtfile)/email/subject"/></a><br/> |
|
|
1063 | </xsl:for-each> |
|
|
1064 | </xsl:if> |
|
|
1065 | <xsl:if test="/email/replies"> |
|
|
1066 | <br/>Replies to this message:<br/> |
|
|
1067 | <xsl:for-each select="/email/replies/reply/text()"> |
|
|
1068 | <xsl:variable name="rloc" select="."/> |
|
|
1069 | <xsl:variable name="rfile">/dyn/lists/<xsl:value-of select="/email/list"/>/<xsl:value-of select="."/>.xml</xsl:variable> |
|
|
1070 |  <a href="{$rfile}"><xsl:value-of select="document($rfile)/email/subject"/></a><br/> |
|
|
1071 | </xsl:for-each> |
|
|
1072 | </xsl:if> |
|
|
1073 | </font> |
|
|
1074 | </p> |
|
|
1075 | </span> |
|
|
1076 | <pre> |
|
|
1077 | <xsl:apply-templates/> |
|
|
1078 | </pre> |
|
|
1079 | </td> |
|
|
1080 | </tr> |
|
|
1081 | </table> |
|
|
1082 | </xsl:template> |
|
|
1083 | |
|
|
1084 | <!-- Body --> |
|
|
1085 | <xsl:template match="body"> |
|
|
1086 | <xsl:param name="chid"/> |
|
|
1087 | <xsl:apply-templates> |
|
|
1088 | <xsl:with-param name="chid" select="$chid"/> |
|
|
1089 | </xsl:apply-templates> |
|
|
1090 | </xsl:template> |
|
|
1091 | |
|
|
1092 | <!-- Command or input, not to use inside <pre> --> |
|
|
1093 | <xsl:template match="c"> |
|
|
1094 | <span class="code"><xsl:apply-templates/></span> |
|
|
1095 | </xsl:template> |
|
|
1096 | |
|
|
1097 | <!-- Box with small text --> |
|
|
1098 | <xsl:template match="box"> |
|
|
1099 | <p class="infotext"><xsl:apply-templates/></p> |
|
|
1100 | </xsl:template> |
|
|
1101 | |
|
|
1102 | <!-- Preserve whitespace, aka Code Listing --> |
| 714 | <xsl:template match="chapter"> |
1103 | <xsl:template match="pre"> |
| 715 | <xsl:variable name="chid"><xsl:number/></xsl:variable> |
1104 | <xsl:param name="chid"/> |
|
|
1105 | <xsl:variable name="prenum"><xsl:number level="any" from="chapter" count="pre"/></xsl:variable> |
|
|
1106 | <xsl:variable name="preid">doc_chap<xsl:value-of select="$chid"/>_pre<xsl:value-of select="$prenum"/></xsl:variable> |
|
|
1107 | <a name="{$preid}"/> |
|
|
1108 | <table class="ntable" width="100%" cellspacing="0" cellpadding="0" border="0"> |
|
|
1109 | <tr> |
|
|
1110 | <td class="infohead" bgcolor="#7a5ada"> |
|
|
1111 | <p class="caption"> |
|
|
1112 | <xsl:choose> |
|
|
1113 | <xsl:when test="@caption"> |
|
|
1114 | Code listing <xsl:if test="$chid"><xsl:value-of select="$chid"/>.</xsl:if><xsl:value-of select="$prenum"/>: <xsl:value-of select="@caption"/> |
|
|
1115 | </xsl:when> |
|
|
1116 | <xsl:otherwise> |
|
|
1117 | Code listing <xsl:value-of select="$chid"/>.<xsl:value-of select="$prenum"/> |
|
|
1118 | </xsl:otherwise> |
|
|
1119 | </xsl:choose> |
|
|
1120 | </p> |
|
|
1121 | </td> |
|
|
1122 | </tr> |
|
|
1123 | <tr> |
|
|
1124 | <td bgcolor="#ddddff"> |
|
|
1125 | <pre> |
|
|
1126 | <xsl:apply-templates/> |
|
|
1127 | </pre> |
|
|
1128 | </td> |
|
|
1129 | </tr> |
|
|
1130 | </table> |
|
|
1131 | </xsl:template> |
|
|
1132 | |
|
|
1133 | <!-- Path --> |
|
|
1134 | <xsl:template match="path"> |
|
|
1135 | <span class="path"><xsl:value-of select="."/></span> |
|
|
1136 | </xsl:template> |
|
|
1137 | |
|
|
1138 | <!-- Url --> |
|
|
1139 | <xsl:template match="uri"> |
|
|
1140 | <!-- expand templates to handle things like <uri link="http://bar"><c>foo</c></uri> --> |
|
|
1141 | <xsl:choose> |
|
|
1142 | <xsl:when test="@link"> |
| 716 | <xsl:choose> |
1143 | <xsl:choose> |
| 717 | <xsl:when test="title"> |
1144 | <xsl:when test="substring(@link,1,1) = '?'"> |
| 718 | <p class="chaphead"> |
1145 | <!-- We are dealing with a handbook link --> |
| 719 | <span class="chapnum"> |
1146 | <!-- TODO: don't hardcode handbook.xml because of draft --> |
| 720 | <a name="doc_chap{$chid}"><xsl:number/>.</a> |
1147 | <a href="handbook.xml{@link}"><xsl:apply-templates/></a> |
| 721 | </span> |
|
|
| 722 | <xsl:value-of select="title"/> |
|
|
| 723 | </p> |
|
|
| 724 | </xsl:when> |
1148 | </xsl:when> |
| 725 | <xsl:otherwise> |
1149 | <xsl:otherwise> |
| 726 | <xsl:if test="/guide"> |
1150 | <a href="{@link}"><xsl:apply-templates/></a> |
| 727 | <p class="chaphead"> |
|
|
| 728 | <span class="chapnum"> |
|
|
| 729 | <a name="doc_chap{$chid}"><xsl:number/>.</a> |
|
|
| 730 | </span> |
|
|
| 731 | </p> |
|
|
| 732 | </xsl:if> |
|
|
| 733 | </xsl:otherwise> |
1151 | </xsl:otherwise> |
| 734 | </xsl:choose> |
1152 | </xsl:choose> |
| 735 | <xsl:apply-templates select="body"> |
1153 | </xsl:when> |
| 736 | <xsl:with-param name="chid" select="$chid"/> |
1154 | <xsl:otherwise> |
| 737 | </xsl:apply-templates> |
1155 | <xsl:variable name="loc" select="."/> |
| 738 | <xsl:apply-templates select="section"> |
1156 | <a href="{$loc}"><xsl:apply-templates/></a> |
| 739 | <xsl:with-param name="chid" select="$chid"/> |
1157 | </xsl:otherwise> |
| 740 | </xsl:apply-templates> |
1158 | </xsl:choose> |
| 741 | </xsl:template> |
1159 | </xsl:template> |
|
|
1160 | |
|
|
1161 | <!-- Paragraph --> |
| 742 | <xsl:template match="section"> |
1162 | <xsl:template match="p"> |
| 743 | <xsl:param name="chid"/> |
1163 | <xsl:param name="chid"/> |
| 744 | <xsl:if test="title"> |
|
|
| 745 | <xsl:variable name="sectid">doc_chap<xsl:value-of select="$chid"/>_sect<xsl:number/></xsl:variable> |
|
|
| 746 | <p class="secthead"> |
|
|
| 747 | <a name="{$sectid}"><xsl:value-of select="title"/> </a> |
|
|
| 748 | </p> |
|
|
| 749 | </xsl:if> |
|
|
| 750 | <xsl:apply-templates select="body"> |
|
|
| 751 | <xsl:with-param name="chid" select="$chid"/> |
|
|
| 752 | </xsl:apply-templates> |
|
|
| 753 | </xsl:template> |
|
|
| 754 | <!-- |
|
|
| 755 | <xsl:template match="subsection"> |
|
|
| 756 | <xsl:param name="chapid"/> |
|
|
| 757 | <xsl:if test="title"> |
|
|
| 758 | <xsl:variable name="subsectid"><xsl:value-of select="$chapid"/>_subsect<xsl:number/></xsl:variable> |
|
|
| 759 | <p class="subsecthead"> |
|
|
| 760 | <a name="{$subsectid}"><xsl:value-of select="title"/> </a> |
|
|
| 761 | </p> |
|
|
| 762 | </xsl:if> |
|
|
| 763 | <xsl:apply-templates select="body"/> |
|
|
| 764 | </xsl:template> |
|
|
| 765 | --> |
|
|
| 766 | <xsl:template match="figure"> |
|
|
| 767 | <xsl:param name="chid"/> |
|
|
| 768 | <xsl:variable name="fignum"> |
|
|
| 769 | <xsl:number level="any" from="chapter" count="figure"/> |
|
|
| 770 | </xsl:variable> |
|
|
| 771 | <xsl:variable name="figid">doc_chap<xsl:value-of select="$chid"/>_fig<xsl:value-of select="$fignum"/></xsl:variable> |
|
|
| 772 | <br/> |
|
|
| 773 | <a name="{$figid}"/> |
|
|
| 774 | <table cellspacing="0" cellpadding="0" border="0"> |
|
|
| 775 | <tr> |
|
|
| 776 | <td class="infohead" bgcolor="#7a5ada"> |
|
|
| 777 | <p class="caption"> |
|
|
| 778 | <xsl:choose> |
|
|
| 779 | <xsl:when test="@caption"> |
|
|
| 780 | Figure <xsl:value-of select="$chid"/>.<xsl:value-of select="$fignum"/>: <xsl:value-of select="@caption"/> |
|
|
| 781 | </xsl:when> |
|
|
| 782 | <xsl:otherwise> |
|
|
| 783 | Figure <xsl:value-of select="$chid"/>.<xsl:value-of select="$fignum"/> |
|
|
| 784 | </xsl:otherwise> |
|
|
| 785 | </xsl:choose> |
|
|
| 786 | </p> |
|
|
| 787 | </td> |
|
|
| 788 | </tr> |
|
|
| 789 | <tr> |
|
|
| 790 | <td align="center" bgcolor="#ddddff"> |
|
|
| 791 | <xsl:choose> |
|
|
| 792 | <xsl:when test="@short"> |
|
|
| 793 | <img src="{@link}" alt="Fig. {$fignum}: {@short}"/> |
|
|
| 794 | </xsl:when> |
|
|
| 795 | <xsl:otherwise> |
|
|
| 796 | <img src="{@link}" alt="Fig. {$fignum}"/> |
|
|
| 797 | </xsl:otherwise> |
|
|
| 798 | </xsl:choose> |
|
|
| 799 | </td> |
|
|
| 800 | </tr> |
|
|
| 801 | </table> |
|
|
| 802 | <br/> |
|
|
| 803 | </xsl:template> |
|
|
| 804 | <!--figure without a caption; just a graphical element--> |
|
|
| 805 | <xsl:template match="fig"> |
|
|
| 806 | <center> |
|
|
| 807 | <xsl:choose> |
1164 | <xsl:choose> |
| 808 | <xsl:when test="@linkto"> |
1165 | <xsl:when test="@class"> |
| 809 | <a href="{@linkto}"> |
1166 | <p class="{@class}"> |
| 810 | <img src="{@link}" alt="{@short}"/> |
|
|
| 811 | </a> |
|
|
| 812 | </xsl:when> |
|
|
| 813 | <xsl:otherwise> |
|
|
| 814 | <img src="{@link}" alt="{@short}"/> |
|
|
| 815 | </xsl:otherwise> |
|
|
| 816 | </xsl:choose> |
|
|
| 817 | </center> |
|
|
| 818 | </xsl:template> |
|
|
| 819 | <xsl:template match="br"> |
|
|
| 820 | <br/> |
|
|
| 821 | </xsl:template> |
|
|
| 822 | <xsl:template match="note"> |
|
|
| 823 | <table class="ncontent" width="100%" border="0" cellspacing="0" cellpadding="0"> |
|
|
| 824 | <tr> |
|
|
| 825 | <td bgcolor="#bbffbb"> |
|
|
| 826 | <p class="note"> |
|
|
| 827 | <b>Note: </b> |
|
|
| 828 | <xsl:apply-templates/> |
|
|
| 829 | </p> |
|
|
| 830 | </td> |
|
|
| 831 | </tr> |
|
|
| 832 | </table> |
|
|
| 833 | </xsl:template> |
|
|
| 834 | <xsl:template match="impo"> |
|
|
| 835 | <table class="ncontent" width="100%" border="0" cellspacing="0" cellpadding="0"> |
|
|
| 836 | <tr> |
|
|
| 837 | <td bgcolor="#ffffbb"> |
|
|
| 838 | <p class="note"> |
|
|
| 839 | <b>Important: </b> |
|
|
| 840 | <xsl:apply-templates/> |
|
|
| 841 | </p> |
|
|
| 842 | </td> |
|
|
| 843 | </tr> |
|
|
| 844 | </table> |
|
|
| 845 | </xsl:template> |
|
|
| 846 | <xsl:template match="warn"> |
|
|
| 847 | <table class="ncontent" width="100%" border="0" cellspacing="0" cellpadding="0"> |
|
|
| 848 | <tr> |
|
|
| 849 | <td bgcolor="#ffbbbb"> |
|
|
| 850 | <p class="note"> |
|
|
| 851 | <b>Warning: </b> |
|
|
| 852 | <xsl:apply-templates/> |
|
|
| 853 | </p> |
|
|
| 854 | </td> |
|
|
| 855 | </tr> |
|
|
| 856 | </table> |
|
|
| 857 | </xsl:template> |
|
|
| 858 | <xsl:template match="codenote"> |
|
|
| 859 | <span class="comment">// <xsl:value-of select="."/></span> |
|
|
| 860 | </xsl:template> |
|
|
| 861 | <xsl:template match="comment"> |
|
|
| 862 | <span class="comment"> |
|
|
| 863 | <xsl:apply-templates/> |
1167 | <xsl:apply-templates> |
|
|
1168 | <xsl:with-param name="chid" select="$chid"/> |
|
|
1169 | </xsl:apply-templates> |
| 864 | </span> |
1170 | </p> |
| 865 | </xsl:template> |
1171 | </xsl:when> |
| 866 | <xsl:template match="i"> |
1172 | <xsl:otherwise> |
| 867 | <span class="input"> |
1173 | <p> |
| 868 | <xsl:apply-templates/> |
1174 | <xsl:apply-templates> |
| 869 | </span> |
1175 | <xsl:with-param name="chid" select="$chid"/> |
| 870 | </xsl:template> |
|
|
| 871 | <xsl:template match="b"> |
|
|
| 872 | <b> |
|
|
| 873 | <xsl:apply-templates/> |
1176 | </xsl:apply-templates> |
| 874 | </b> |
1177 | </p> |
|
|
1178 | </xsl:otherwise> |
|
|
1179 | </xsl:choose> |
| 875 | </xsl:template> |
1180 | </xsl:template> |
|
|
1181 | |
|
|
1182 | <!-- Emphasize --> |
| 876 | <xsl:template match="brite"> |
1183 | <xsl:template match="e"> |
| 877 | <font color="#ff0000"> |
1184 | <span class="emphasis"><xsl:apply-templates/></span> |
| 878 | <b> |
|
|
| 879 | <xsl:apply-templates/> |
|
|
| 880 | </b> |
|
|
| 881 | </font> |
|
|
| 882 | </xsl:template> |
1185 | </xsl:template> |
| 883 | |
1186 | |
|
|
1187 | <!-- E-mail address --> |
| 884 | <xsl:template match="/email/body"> |
1188 | <xsl:template match="mail"> |
| 885 | <table border="0"><tr><td> |
1189 | <a href="mailto:{@link}"><xsl:value-of select="."/></a> |
| 886 | <span class="content"> |
1190 | </xsl:template> |
| 887 | <p class="secthead"> |
1191 | |
| 888 | Subject: <xsl:value-of select="/email/subject"/> |
1192 | <!-- Table --> |
| 889 | </p> |
1193 | <xsl:template match="table"> |
| 890 | <p class="secthead"><font color="#000000"> |
1194 | <table class="ntable"> |
| 891 | List: <xsl:value-of select="/email/list"/> at gentoo.org<br/> |
1195 | <xsl:apply-templates/> |
| 892 | Date: <xsl:value-of select="/email/date"/><br/> |
1196 | </table> |
| 893 | From: <xsl:value-of select="/email/from"/><br/><br/> |
1197 | </xsl:template> |
| 894 | <xsl:if test="/email/nav/prev"> |
1198 | |
| 895 | <xsl:for-each select="/email/nav/prev[position()=1]/text()"> |
1199 | <!-- Table Row --> |
| 896 | <xsl:variable name="navloc" select="."/> |
1200 | <xsl:template match="tr"> |
| 897 | <xsl:variable name="navfile">/dyn/lists/<xsl:value-of select="/email/list"/>/<xsl:value-of select="."/>.xml</xsl:variable> |
1201 | <tr> |
| 898 | Previous: <a href="{$navfile}"><xsl:value-of select="document($navfile)/email/subject"/></a><br/> |
1202 | <xsl:apply-templates/> |
| 899 | </xsl:for-each> |
1203 | </tr> |
| 900 | </xsl:if> |
1204 | </xsl:template> |
| 901 | <xsl:if test="/email/nav/next"> |
1205 | |
| 902 | <xsl:for-each select="/email/nav/next[position()=1]/text()"> |
1206 | <!-- Table Item --> |
| 903 | <xsl:variable name="navloc" select="."/> |
1207 | <xsl:template match="ti"> |
| 904 | <xsl:variable name="navfile">/dyn/lists/<xsl:value-of select="/email/list"/>/<xsl:value-of select="."/>.xml</xsl:variable> |
1208 | <td bgcolor="#ddddff" class="tableinfo"> |
| 905 | Next: <a href="{$navfile}"><xsl:value-of select="document($navfile)/email/subject"/></a><br/> |
1209 | <xsl:apply-templates/> |
| 906 | </xsl:for-each> |
1210 | </td> |
| 907 | </xsl:if> |
1211 | </xsl:template> |
| 908 | <xsl:if test="/email/in-reply-to"> |
1212 | |
| 909 | <xsl:for-each select="/email/in-reply-to[position()=1]/text()"> |
1213 | <!-- Table Heading --> |
| 910 | <xsl:variable name="irtloc" select="."/> |
1214 | <xsl:template match="th"> |
| 911 | <xsl:variable name="irtfile">/dyn/lists/<xsl:value-of select="/email/list"/>/<xsl:value-of select="."/>.xml</xsl:variable> |
1215 | <td bgcolor="#7a5ada" class="infohead"> |
| 912 | In Reply To: <a href="{$irtfile}"><xsl:value-of select="document($irtfile)/email/subject"/></a><br/> |
1216 | <b> |
| 913 | </xsl:for-each> |
1217 | <xsl:apply-templates/> |
| 914 | </xsl:if> |
1218 | </b> |
| 915 | <xsl:if test="/email/replies"> |
1219 | </td> |
| 916 | <br/>Replies to this message:<br/> |
1220 | </xsl:template> |
| 917 | <xsl:for-each select="/email/replies/reply/text()"> |
1221 | |
| 918 | <xsl:variable name="rloc" select="."/> |
1222 | <!-- Unnumbered List --> |
| 919 | <xsl:variable name="rfile">/dyn/lists/<xsl:value-of select="/email/list"/>/<xsl:value-of select="."/>.xml</xsl:variable> |
1223 | <xsl:template match="ul"> |
| 920 |  <a href="{$rfile}"><xsl:value-of select="document($rfile)/email/subject"/></a><br/> |
1224 | <ul> |
| 921 | </xsl:for-each> |
1225 | <xsl:apply-templates/> |
| 922 | </xsl:if> |
1226 | </ul> |
| 923 | </font></p> |
1227 | </xsl:template> |
| 924 | </span> |
1228 | |
|
|
1229 | <!-- Ordered List --> |
|
|
1230 | <xsl:template match="ol"> |
|
|
1231 | <ol> |
|
|
1232 | <xsl:apply-templates/> |
|
|
1233 | </ol> |
|
|
1234 | </xsl:template> |
|
|
1235 | |
|
|
1236 | <!-- List Item --> |
|
|
1237 | <xsl:template match="li"> |
|
|
1238 | <li> |
|
|
1239 | <xsl:apply-templates/> |
|
|
1240 | </li> |
|
|
1241 | </xsl:template> |
|
|
1242 | |
|
|
1243 | <!-- NOP --> |
|
|
1244 | <xsl:template match="ignoreinemail"> |
|
|
1245 | <xsl:apply-templates/> |
|
|
1246 | </xsl:template> |
|
|
1247 | |
|
|
1248 | <!-- NOP --> |
|
|
1249 | <xsl:template match="ignoreinguide"> |
|
|
1250 | </xsl:template> |
|
|
1251 | |
|
|
1252 | <!-- License Tag --> |
|
|
1253 | <xsl:template match="license"> |
| 925 | <pre> |
1254 | <pre> |
| 926 | <xsl:apply-templates/> |
1255 | The contents of this document are licensed under the <a href="http://creativecommons.org/licenses/by-sa/1.0">Creative Commons - Attribution / Share Alike</a> license. |
| 927 | </pre> |
1256 | </pre> |
| 928 | </td></tr></table> |
|
|
| 929 | </xsl:template> |
|
|
| 930 | |
|
|
| 931 | <xsl:template match="body"> |
|
|
| 932 | <xsl:param name="chid"/> |
|
|
| 933 | <xsl:apply-templates> |
|
|
| 934 | <xsl:with-param name="chid" select="$chid"/> |
|
|
| 935 | </xsl:apply-templates> |
|
|
| 936 | </xsl:template> |
1257 | </xsl:template> |
| 937 | <xsl:template match="c"> |
|
|
| 938 | <span class="code"> |
|
|
| 939 | <xsl:apply-templates/> |
|
|
| 940 | </span> |
|
|
| 941 | </xsl:template> |
|
|
| 942 | <xsl:template match="box"> |
|
|
| 943 | <p class="infotext"> |
|
|
| 944 | <xsl:apply-templates/> |
|
|
| 945 | </p> |
|
|
| 946 | </xsl:template> |
|
|
| 947 | |
|
|
| 948 | <xsl:template match="pre"> |
|
|
| 949 | <xsl:param name="chid"/> |
|
|
| 950 | <xsl:variable name="prenum"> |
|
|
| 951 | <xsl:number level="any" from="chapter" count="pre"/> |
|
|
| 952 | </xsl:variable> |
|
|
| 953 | <xsl:variable name="preid">doc_chap<xsl:value-of select="$chid"/>_pre<xsl:value-of select="$prenum"/></xsl:variable> |
|
|
| 954 | <a name="{$preid}"/> |
|
|
| 955 | <table class="ntable" width="100%" cellspacing="0" cellpadding="0" border="0"> |
|
|
| 956 | <tr> |
|
|
| 957 | <td class="infohead" bgcolor="#7a5ada"> |
|
|
| 958 | <p class="caption"> |
|
|
| 959 | <xsl:choose> |
|
|
| 960 | <xsl:when test="@caption"> |
|
|
| 961 | Code listing <xsl:value-of select="$chid"/>.<xsl:value-of select="$prenum"/>: <xsl:value-of select="@caption"/> |
|
|
| 962 | </xsl:when> |
|
|
| 963 | <xsl:otherwise> |
|
|
| 964 | Code listing <xsl:value-of select="$chid"/>.<xsl:value-of select="$prenum"/> |
|
|
| 965 | </xsl:otherwise> |
|
|
| 966 | </xsl:choose> |
|
|
| 967 | </p> |
|
|
| 968 | </td> |
|
|
| 969 | </tr> |
|
|
| 970 | <tr> |
|
|
| 971 | <td bgcolor="#ddddff"> |
|
|
| 972 | <pre> |
|
|
| 973 | <xsl:apply-templates/> |
|
|
| 974 | </pre> |
|
|
| 975 | </td> |
|
|
| 976 | </tr> |
|
|
| 977 | </table> |
|
|
| 978 | </xsl:template> |
|
|
| 979 | <xsl:template match="path"> |
|
|
| 980 | <span class="path"> |
|
|
| 981 | <xsl:value-of select="."/> |
|
|
| 982 | </span> |
|
|
| 983 | </xsl:template> |
|
|
| 984 | <xsl:template match="uri"> |
|
|
| 985 | <!-- expand templates to handle things like <uri link="http://bar"><c>foo</c></uri> --> |
|
|
| 986 | <xsl:choose> |
|
|
| 987 | <xsl:when test="@link"> |
|
|
| 988 | <a href="{@link}"> |
|
|
| 989 | <xsl:apply-templates/> |
|
|
| 990 | </a> |
|
|
| 991 | </xsl:when> |
|
|
| 992 | <xsl:otherwise> |
|
|
| 993 | <xsl:variable name="loc" select="."/> |
|
|
| 994 | <a href="{$loc}"> |
|
|
| 995 | <xsl:apply-templates/> |
|
|
| 996 | </a> |
|
|
| 997 | </xsl:otherwise> |
|
|
| 998 | </xsl:choose> |
|
|
| 999 | </xsl:template> |
|
|
| 1000 | <xsl:template match="p"> |
|
|
| 1001 | <xsl:param name="chid"/> |
|
|
| 1002 | <xsl:choose> |
|
|
| 1003 | <xsl:when test="@class"> |
|
|
| 1004 | <p class="{@class}"> |
|
|
| 1005 | <xsl:apply-templates> |
|
|
| 1006 | <xsl:with-param name="chid" select="$chid"/> |
|
|
| 1007 | </xsl:apply-templates> |
|
|
| 1008 | </p> |
|
|
| 1009 | </xsl:when> |
|
|
| 1010 | <xsl:otherwise> |
|
|
| 1011 | <p> |
|
|
| 1012 | <xsl:apply-templates> |
|
|
| 1013 | <xsl:with-param name="chid" select="$chid"/> |
|
|
| 1014 | </xsl:apply-templates> |
|
|
| 1015 | </p> |
|
|
| 1016 | </xsl:otherwise> |
|
|
| 1017 | </xsl:choose> |
|
|
| 1018 | </xsl:template> |
|
|
| 1019 | <xsl:template match="e"> |
|
|
| 1020 | <span class="emphasis"> |
|
|
| 1021 | <xsl:apply-templates/> |
|
|
| 1022 | </span> |
|
|
| 1023 | </xsl:template> |
|
|
| 1024 | <xsl:template match="mail"> |
|
|
| 1025 | <a href="mailto:{@link}"> |
|
|
| 1026 | <xsl:value-of select="."/> |
|
|
| 1027 | </a> |
|
|
| 1028 | </xsl:template> |
|
|
| 1029 | <xsl:template match="table"> |
|
|
| 1030 | <table class="ntable"> |
|
|
| 1031 | <xsl:apply-templates/> |
|
|
| 1032 | </table> |
|
|
| 1033 | </xsl:template> |
|
|
| 1034 | <xsl:template match="tr"> |
|
|
| 1035 | <tr> |
|
|
| 1036 | <xsl:apply-templates/> |
|
|
| 1037 | </tr> |
|
|
| 1038 | </xsl:template> |
|
|
| 1039 | <xsl:template match="ti"> |
|
|
| 1040 | <td bgcolor="#ddddff" class="tableinfo"> |
|
|
| 1041 | <xsl:apply-templates/> |
|
|
| 1042 | </td> |
|
|
| 1043 | </xsl:template> |
|
|
| 1044 | <xsl:template match="th"> |
|
|
| 1045 | <td bgcolor="#7a5ada" class="infohead"> |
|
|
| 1046 | <b> |
|
|
| 1047 | <xsl:apply-templates/> |
|
|
| 1048 | </b> |
|
|
| 1049 | </td> |
|
|
| 1050 | </xsl:template> |
|
|
| 1051 | <xsl:template match="ul"> |
|
|
| 1052 | <ul> |
|
|
| 1053 | <xsl:apply-templates/> |
|
|
| 1054 | </ul> |
|
|
| 1055 | </xsl:template> |
|
|
| 1056 | <xsl:template match="ol"> |
|
|
| 1057 | <ol> |
|
|
| 1058 | <xsl:apply-templates/> |
|
|
| 1059 | </ol> |
|
|
| 1060 | </xsl:template> |
|
|
| 1061 | <xsl:template match="li"> |
|
|
| 1062 | <li> |
|
|
| 1063 | <xsl:apply-templates/> |
|
|
| 1064 | </li> |
|
|
| 1065 | </xsl:template> |
|
|
| 1066 | <xsl:template match="ignoreinemail"> |
|
|
| 1067 | <xsl:apply-templates/> |
|
|
| 1068 | </xsl:template> |
|
|
| 1069 | <xsl:template match="ignoreinguide"> |
|
|
| 1070 | </xsl:template> |
|
|
| 1071 | |
1258 | |
| 1072 | </xsl:stylesheet> |
1259 | </xsl:stylesheet> |