1 <?xml version="1.0" encoding="utf-8"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 <!--jtan325 created this-->
6 <xsl:output method="html"/>
8 <xsl:template match="/">
11 <title>Conky Variables</title>
13 <body bgcolor="#FFFFFF">
14 <xsl:apply-templates />
19 <xsl:template match="variablelist" >
20 <table cellpadding="3">
22 <tr bgcolor = "#eecfa1">
24 <th>Arguments () = optional</th>
28 <xsl:for-each select="varlistentry">
29 <xsl:variable name="row_bg">
31 <xsl:when test="position() mod 2 = 1">#fffafa</xsl:when>
32 <xsl:otherwise>#b4cdcd</xsl:otherwise>
35 <tr bgcolor = "{$row_bg}">
37 <xsl:value-of select="term/command/option" />
40 <xsl:value-of select="term/option" />
43 <xsl:value-of select="listitem" />