1 <?xml version="1.0" encoding="utf-8"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 <xsl:output method="html"/>
7 <xsl:template match="/">
10 <title>Lua API</title>
12 <body bgcolor="#FFFFFF">
13 <xsl:apply-templates />
18 <xsl:template match="member/command">
20 <xsl:value-of select="." />
24 <xsl:template match="member/option">
25 <xsl:value-of select="." />
28 <xsl:template match="member">
30 <xsl:apply-templates />
34 <xsl:template match="simplelist">
36 <xsl:apply-templates select="member" />
40 <xsl:template match="para">
42 <xsl:value-of select="." />
46 <xsl:template match="variablelist" >
47 <table cellpadding="3">
49 <tr bgcolor = "#eecfa1">
55 <xsl:for-each select="varlistentry">
56 <xsl:variable name="row_bg">
58 <xsl:when test="position() mod 2 = 1">#fffafa</xsl:when>
59 <xsl:otherwise>#b4cdcd</xsl:otherwise>
62 <tr bgcolor = "{$row_bg}">
64 <xsl:value-of select="term/command/option" />
67 <xsl:value-of select="term/option" />
70 <xsl:apply-templates select="listitem" />