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"/>
5 <xsl:include href="file:////usr/local/xslt/html.xsl"/>
7 <xsl:template match='class'>
10 <title>Class Specification of <xsl:value-of select='@name'/></title>
13 <h1>Class Specification of <xsl:value-of select='@name'/></h1>
16 <p><xsl:value-of select='@name'/> - <xsl:value-of select='title'/></p>
18 <xsl:apply-templates/>
23 <xsl:template match='title'>
26 <xsl:template match='synopsis'>
28 <xsl:apply-templates/>
31 <xsl:template match='class/description'>
33 <xsl:apply-templates/>
36 <xsl:template match='function/description'>
38 <xsl:apply-templates/>
41 <xsl:template match='methods'>
43 <tr><th colspan='2'>METHODS</th></tr>
44 <xsl:for-each select='function'>
46 <td border='1'><xsl:value-of select='@name'/></td>
47 <td border='1'><xsl:value-of select='title'/></td>
51 <xsl:apply-templates/>
54 <xsl:template match='function'>
55 <h3><xsl:value-of select='@name'/> - <xsl:value-of select='title'/></h3>
56 <xsl:apply-templates/>