2005-08-27 11:39:41 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
|
version="1.0">
|
2008-02-20 20:30:45 +00:00
|
|
|
|
|
|
|
<!--jtan325 created this-->
|
2005-08-27 11:39:41 +00:00
|
|
|
<xsl:output method="html"/>
|
2008-02-20 20:30:45 +00:00
|
|
|
|
2005-08-27 11:39:41 +00:00
|
|
|
<xsl:template match="/">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Conky Variables</title>
|
|
|
|
</head>
|
|
|
|
<body bgcolor="#FFFFFF">
|
|
|
|
<xsl:apply-templates />
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<xsl:template match="variablelist" >
|
2005-08-27 21:04:37 +00:00
|
|
|
<table cellpadding="3">
|
2005-08-27 11:39:41 +00:00
|
|
|
|
2005-08-27 21:04:37 +00:00
|
|
|
<tr bgcolor = "#eecfa1">
|
2005-08-27 11:39:41 +00:00
|
|
|
<th>Variable</th>
|
|
|
|
<th>Arguments () = optional</th>
|
|
|
|
<th>Explanation</th>
|
|
|
|
</tr>
|
2008-02-20 20:30:45 +00:00
|
|
|
|
2005-08-27 11:39:41 +00:00
|
|
|
<xsl:for-each select="varlistentry">
|
2008-02-20 20:30:45 +00:00
|
|
|
<xsl:variable name="row_bg">
|
2005-08-27 21:04:37 +00:00
|
|
|
<xsl:choose>
|
|
|
|
<xsl:when test="position() mod 2 = 1">#fffafa</xsl:when>
|
|
|
|
<xsl:otherwise>#b4cdcd</xsl:otherwise>
|
|
|
|
</xsl:choose>
|
|
|
|
</xsl:variable>
|
|
|
|
<tr bgcolor = "{$row_bg}">
|
|
|
|
<td align="center">
|
|
|
|
<xsl:value-of select="term/command/option" />
|
|
|
|
</td>
|
2008-02-20 20:30:45 +00:00
|
|
|
<td align="center">
|
2005-08-27 11:39:41 +00:00
|
|
|
<xsl:value-of select="term/option" />
|
2005-08-27 21:04:37 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2005-08-27 11:39:41 +00:00
|
|
|
<xsl:value-of select="listitem" />
|
2005-08-27 21:04:37 +00:00
|
|
|
</td>
|
2005-08-27 11:39:41 +00:00
|
|
|
</tr>
|
|
|
|
</xsl:for-each>
|
|
|
|
</table>
|
|
|
|
</xsl:template>
|
2008-02-20 20:30:45 +00:00
|
|
|
|
|
|
|
</xsl:stylesheet>
|