First checkin, AXE release 0.2
[AXE.git] / doc / class.xsl
1 <?xml version='1.0'?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3 <xsl:output method="html" indent="yes" encoding="iso-8859-1"/>
4
5 <xsl:include href="file:////usr/local/xslt/html.xsl"/>
6
7 <xsl:template match='class'>
8 <html>
9 <head>
10    <title>Class Specification of <xsl:value-of select='@name'/></title>
11 </head>
12 <body>
13    <h1>Class Specification of <xsl:value-of select='@name'/></h1>
14    <hr/>
15    <h2>NAME</h2>
16    <p><xsl:value-of select='@name'/> - <xsl:value-of select='title'/></p>
17
18    <xsl:apply-templates/>
19 </body>
20 </html>
21 </xsl:template>
22
23 <xsl:template match='title'>
24 </xsl:template>
25
26 <xsl:template match='synopsis'>
27    <h2>SYNOPSIS</h2>
28    <xsl:apply-templates/>
29 </xsl:template>
30
31 <xsl:template match='class/description'>
32    <h2>DESCRIPTION</h2>
33    <xsl:apply-templates/>
34 </xsl:template>
35
36 <xsl:template match='function/description'>
37    <h4>DESCRIPTION</h4>
38    <xsl:apply-templates/>
39 </xsl:template>
40
41 <xsl:template match='methods'>
42    <table border='1'>
43    <tr><th colspan='2'>METHODS</th></tr>
44    <xsl:for-each select='function'>
45    <tr>
46       <td border='1'><xsl:value-of select='@name'/></td>
47       <td border='1'><xsl:value-of select='title'/></td>
48    </tr>
49    </xsl:for-each>
50    </table>
51    <xsl:apply-templates/>
52 </xsl:template>
53
54 <xsl:template match='function'>
55    <h3><xsl:value-of select='@name'/> - <xsl:value-of select='title'/></h3>
56    <xsl:apply-templates/>
57 </xsl:template>
58
59 </xsl:stylesheet>
60
61
62
63