d771edb0331c06296623c9cb68099445084c7436
[coreboot.git] / util / optionlist / Options.xsl
1 <?xml version="1.0"?>
2 <!--
3   Copyright (C) 2005 Florian Zeitz <florian-zeitz@lycos.de>
4   Copyright (C) 2005 Stefan Reinauer <stepan@coresystems.de>
5   
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation; either version 2 of the License, or
9   (at your option) any later version.
10   
11   This program is distributed in the hope that it will be useful,
12   but WITHOUT ANY WARRANTY; without even the implied warranty of
13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   GNU General Public License for more details.
15   
16   You should have received a copy of the GNU General Public License
17   along with this program; if not, write to the Free Software
18   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
19 -->
20
21 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
22
23 <!--<xsl:choose>
24 <xsl:when test="system-property('xsl:vendor')='Transformiix'">
25 -->
26 <xsl:output method="xml"
27             doctype-public="PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN"
28             doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
29             encoding="utf-8"
30             indent="yes" />
31 <!--
32 </xsl:when>
33 <xsl:otherwise>
34 <xsl:output method="xhtml"
35             doctype-public="PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN"
36             doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
37             encoding="utf-8"
38             indent="yes" />
39 </xsl:otherwise>
40 </xsl:choose>
41 -->
42
43 <xsl:template match="/">
44 <html>
45 <head>
46 <title>LinuxBIOS Options</title>
47 </head>
48 <body>
49 <h2>LinuxBIOS Options</h2>
50 <p>This is an automatically generated list of LinuxBIOS compile time
51 options. Created at <xsl:value-of select="//creationdate"/>.</p>
52 <table border="1">
53 <tr bgcolor="#0975a7">
54 <th align="left">Option</th>
55 <th align="left">Comment</th>
56 <th align="left">Default</th>
57 <th align="left">Export</th>
58 <th align="left">Format</th>
59 </tr>
60 <xsl:for-each select="options/option">
61 <tr>
62 <td><xsl:value-of select="@name"/></td>
63 <td><xsl:value-of select="comment"/></td>
64 <td><xsl:value-of select="default"/></td>
65 <td><xsl:value-of select="export"/></td>
66 <td><xsl:value-of select="format"/></td>
67 </tr>
68 </xsl:for-each>
69 </table>
70 </body>
71 </html>
72 </xsl:template>
73 </xsl:stylesheet>