arch import user (historical) | 8c8cbac | 2005-07-06 16:57:34 +0000 | [diff] [blame^] | 1 | <?xml version="1.0"?> |
| 2 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
| 3 | |
| 4 | <!--<xsl:choose> |
| 5 | <xsl:when test="system-property('xsl:vendor')='Transformiix'"> |
| 6 | --> |
| 7 | <xsl:output method="xml" |
| 8 | doctype-public="PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN" |
| 9 | doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" |
| 10 | encoding="utf-8" |
| 11 | indent="yes" /> |
| 12 | <!-- |
| 13 | </xsl:when> |
| 14 | <xsl:otherwise> |
| 15 | <xsl:output method="xhtml" |
| 16 | doctype-public="PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN" |
| 17 | doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" |
| 18 | encoding="utf-8" |
| 19 | indent="yes" /> |
| 20 | </xsl:otherwise> |
| 21 | </xsl:choose> |
| 22 | --> |
| 23 | |
| 24 | <xsl:template match="/"> |
| 25 | <html> |
| 26 | <head> |
| 27 | <title>LinuxBIOS Options</title> |
| 28 | </head> |
| 29 | <body> |
| 30 | <h2>LinuxBIOS Options</h2> |
| 31 | <p>This is an automatically generated list of LinuxBIOS compile time |
| 32 | options. Created at <xsl:value-of select="//creationdate"/>.</p> |
| 33 | <table border="1"> |
| 34 | <tr bgcolor="#0975a7"> |
| 35 | <th align="left">Option</th> |
| 36 | <th align="left">Comment</th> |
| 37 | <th align="left">Default</th> |
| 38 | <th align="left">Export</th> |
| 39 | <th align="left">Format</th> |
| 40 | </tr> |
| 41 | <xsl:for-each select="options/option"> |
| 42 | <tr> |
| 43 | <td><xsl:value-of select="@name"/></td> |
| 44 | <td><xsl:value-of select="comment"/></td> |
| 45 | <td><xsl:value-of select="default"/></td> |
| 46 | <td><xsl:value-of select="export"/></td> |
| 47 | <td><xsl:value-of select="format"/></td> |
| 48 | </tr> |
| 49 | </xsl:for-each> |
| 50 | </table> |
| 51 | </body> |
| 52 | </html> |
| 53 | </xsl:template> |
| 54 | </xsl:stylesheet> |