Build fix for IBM support.
[monky] / doc / config_settings.xsl
1 <?xml version="1.0" encoding="utf-8"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3         version="1.0">
4
5         <xsl:output method="html"/>
6
7         <xsl:template match="/">
8                 <html>
9                         <head>
10                                 <title>~/.conkyrc settings</title>
11                         </head>
12                         <body bgcolor="#FFFFFF">
13                                 <xsl:apply-templates />
14                         </body>
15                 </html>
16         </xsl:template>
17
18         <xsl:template match="/">
19                 <html>
20                         <head>
21                                 <title>Conky configuration settings</title>
22                         </head>
23                         <body bgcolor="#FFFFFF">
24                                 <xsl:apply-templates />
25                         </body>
26                 </html>
27         </xsl:template>
28
29         <xsl:template match="/">
30                 <html>
31                         <head>
32                                 <title>Configuration Settings</title>
33                         </head>
34                         <body bgcolor="#FFFFFF">
35                                 <xsl:apply-templates />
36                         </body>
37                 </html>
38         </xsl:template>
39
40         <xsl:template match="member/command">
41                 <strong>
42                         <xsl:value-of select="." />
43                 </strong> - 
44         </xsl:template>
45
46         <xsl:template match="member/option">
47                 <xsl:value-of select="." />
48         </xsl:template>
49
50         <xsl:template match="member">
51                 <li>
52                         <xsl:apply-templates />
53                 </li>
54         </xsl:template>
55
56         <xsl:template match="simplelist">
57                 <ul>
58                         <xsl:apply-templates select="member" />
59                 </ul>
60         </xsl:template>
61
62         <xsl:template match="para">
63                 <p>
64                         <xsl:value-of select="." />
65                 </p>
66         </xsl:template>
67
68         <xsl:template match="variablelist" >
69                 <table cellpadding="3">
70
71                         <tr bgcolor = "#eecfa1">
72                                 <th>Variable</th>
73                                 <th>Explanation</th>
74                         </tr>
75
76                         <xsl:for-each select="varlistentry">
77                                 <xsl:variable name="row_bg">
78                                         <xsl:choose>
79                                                 <xsl:when test="position() mod 2 = 1">#fffafa</xsl:when>
80                                                 <xsl:otherwise>#b4cdcd</xsl:otherwise>
81                                         </xsl:choose>
82                                 </xsl:variable>
83                                 <tr bgcolor = "{$row_bg}">
84                                         <td align="center">
85                                                 <xsl:value-of select="term/command/option" />
86                                         </td>
87                                         <td>
88                                                 <xsl:apply-templates select="listitem" />
89                                         </td>
90                                 </tr>
91                         </xsl:for-each>
92                 </table>
93         </xsl:template>
94
95 </xsl:stylesheet>