summaryrefslogtreecommitdiff
path: root/util/optionlist/Options.xsl
blob: 5709ba83f0b9d82e52c794643ae517ec0e86d79c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0"?>
<!--
  Copyright (C) 2005 Florian Zeitz <florian-zeitz@lycos.de>
  Copyright (C) 2005 Stefan Reinauer <stepan@coresystems.de>
  
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
  
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
  
  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
-->

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<!--<xsl:choose>
<xsl:when test="system-property('xsl:vendor')='Transformiix'">
-->
<xsl:output method="xml"
	    doctype-public="PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN"
            doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
            encoding="utf-8"
	    indent="yes" />
<!--
</xsl:when>
<xsl:otherwise>
<xsl:output method="xhtml"
	    doctype-public="PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN"
            doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
            encoding="utf-8"
	    indent="yes" />
</xsl:otherwise>
</xsl:choose>
-->

<xsl:template match="/">
<html>
<head>
<title>Coreboot Options</title>
</head>
<body>
<h2>Coreboot Options</h2>
<p>This is an automatically generated list of coreboot compile time
options. Created at <xsl:value-of select="//creationdate"/>.</p>
<table border="1">
<tr bgcolor="#0975a7">
<th align="left">Option</th>
<th align="left">Comment</th>
<th align="left">Default</th>
<th align="left">Export</th>
<th align="left">Format</th>
</tr>
<xsl:for-each select="options/option">
<tr>
<td><xsl:value-of select="@name"/></td>
<td><xsl:value-of select="comment"/></td>
<td><xsl:value-of select="default"/></td>
<td><xsl:value-of select="export"/></td>
<td><xsl:value-of select="format"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>