More compact format for wiki output at
[coreboot.git] / util / optionlist / Options-wiki.xsl
1 <?xml version="1.0"?>
2 <!--
3  Copyright (C) 2006 Stefan Reinauer <stepan@coresystems.de>
4  Copyright (C) 2006 Uwe Hermann <uwe@hermann-uwe.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:output method="text"
24             encoding="utf-8"
25             indent="yes" />
26
27 <xsl:template match="/">
28 This is an automatically generated list of '''coreboot v2 compile-time options'''.
29
30 Last update: <xsl:value-of select="//creationdate"/>.
31
32 {| border="0" style="font-size: smaller"
33 |- bgcolor="#6699dd"
34 ! align="left" | Option
35 ! align="left" | Comment
36 ! align="left" | Default
37 ! align="left" | Export
38 ! align="left" | Format
39 <xsl:for-each select="options/option">
40 |- bgcolor="#eeeeee"
41 | <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"/>
42 </xsl:for-each>
43
44 |}
45
46 </xsl:template>
47 </xsl:stylesheet>