summaryrefslogtreecommitdiff
path: root/util/optionlist/Options-wiki.xsl
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2006-10-17 20:58:47 +0000
committerStefan Reinauer <stepan@openbios.org>2006-10-17 20:58:47 +0000
commit0a3f60775baa549d559b9b89c4777efd43e0c81c (patch)
tree09dfa82d9155490af972bef4c03404d5e3fbc504 /util/optionlist/Options-wiki.xsl
parentc1c3fdc79fab5b0d1572ea8f606c280b2df9676c (diff)
add xsl stylesheet for wiki table generation
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2458 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/optionlist/Options-wiki.xsl')
-rw-r--r--util/optionlist/Options-wiki.xsl32
1 files changed, 32 insertions, 0 deletions
diff --git a/util/optionlist/Options-wiki.xsl b/util/optionlist/Options-wiki.xsl
new file mode 100644
index 0000000000..9ab147f05b
--- /dev/null
+++ b/util/optionlist/Options-wiki.xsl
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:output method="text"
+ encoding="utf-8"
+ indent="yes" />
+
+<xsl:template match="/">
+==LinuxBIOS Options==
+
+This is an automatically generated list of LinuxBIOS compile time
+options. Created at <xsl:value-of select="//creationdate"/>.
+
+{| border="1"
+|- bgcolor="#0975a7"
+! align="left" | Option
+! align="left" | Comment
+! align="left" | Default
+! align="left" | Export
+! align="left" | Format<xsl:for-each select="options/option">
+|-
+| <xsl:value-of select="@name"/>
+| <xsl:value-of select="comment"/>
+| <xsl:value-of select="default"/>
+| <xsl:value-of select="export"/>
+| <xsl:value-of select="format"/>
+</xsl:for-each>
+|}
+
+
+</xsl:template>
+</xsl:stylesheet>