summaryrefslogtreecommitdiff
path: root/util/optionlist/Options.xsl
diff options
context:
space:
mode:
authorarch import user (historical) <svn@openbios.org>2005-07-06 16:57:34 +0000
committerarch import user (historical) <svn@openbios.org>2005-07-06 16:57:34 +0000
commit8c8cbac3c3c5db374b640e9f9770b76b5078398e (patch)
treec0b7a6176b4ff574a2adc916cb6a7e2cac5eb19e /util/optionlist/Options.xsl
parent2305364397f9d4b4722e594069d4e2960cc35911 (diff)
downloadcoreboot-8c8cbac3c3c5db374b640e9f9770b76b5078398e.tar.xz
Revision: linuxbios@linuxbios.org--devel/freebios--devel--2.0--patch-12
Creator: Stefan Reinauer <stepan@openbios.org> Add timestamp to mkOptionList.py mkOptionList.py: add timestamp git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1930 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/optionlist/Options.xsl')
-rw-r--r--util/optionlist/Options.xsl54
1 files changed, 54 insertions, 0 deletions
diff --git a/util/optionlist/Options.xsl b/util/optionlist/Options.xsl
new file mode 100644
index 0000000000..3502a24e19
--- /dev/null
+++ b/util/optionlist/Options.xsl
@@ -0,0 +1,54 @@
+<?xml version="1.0"?>
+<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>LinuxBIOS Options</title>
+</head>
+<body>
+<h2>LinuxBIOS Options</h2>
+<p>This is an automatically generated list of LinuxBIOS 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>