Author: stepan Date: 2006-10-17 22:58:47 +0200 (Tue, 17 Oct 2006) New Revision: 2458
Added: trunk/LinuxBIOSv2/util/optionlist/Options-wiki.xsl Modified: trunk/LinuxBIOSv2/util/optionlist/Makefile Log: add xsl stylesheet for wiki table generation
Modified: trunk/LinuxBIOSv2/util/optionlist/Makefile =================================================================== --- trunk/LinuxBIOSv2/util/optionlist/Makefile 2006-10-14 21:35:30 UTC (rev 2457) +++ trunk/LinuxBIOSv2/util/optionlist/Makefile 2006-10-17 20:58:47 UTC (rev 2458) @@ -1,7 +1,13 @@ -all: +all: html wiki + +html: ./mkOptionList.py @#saxon Options.xml Options.xsl >Options.html xsltproc Options.xsl Options.xml > Options.html +wiki: + ./mkOptionList.py + xsltproc Options-wiki.xsl Options.xml > Options.wiki + clean: - rm Options.xml Options.html + rm -rf Options.xml Options.html Options.wiki
Added: trunk/LinuxBIOSv2/util/optionlist/Options-wiki.xsl =================================================================== --- trunk/LinuxBIOSv2/util/optionlist/Options-wiki.xsl (rev 0) +++ trunk/LinuxBIOSv2/util/optionlist/Options-wiki.xsl 2006-10-17 20:58:47 UTC (rev 2458) @@ -0,0 +1,32 @@ +<?xml version="1.0"?> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform%22%3E + +<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>