blob: be1d8e6b21d66ae3bfcdd844a4527729cefeb598 [file] [log] [blame]
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<p>
<b>Contact info: <xsl:value-of select="references/@contactInfo"/></b>
</p>
<table border="1">
<tr>
<th>Name</th>
<th>Reference</th>
<th>Subclass</th>
<th>Implement</th>
<th>Instantiate</th>
</tr>
<xsl:for-each select="references/plugin">
<xsl:sort select="@name"/>
<xsl:apply-templates select="." />
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
<xsl:template match="plugin">
<tr>
<td><b>Plugin : <xsl:value-of select="@id"/></b></td>
<td bgcolor="c8c8c8" colspan="4">&#160;</td>
</tr>
<xsl:for-each select="class">
<xsl:sort select="@name"/>
<xsl:apply-templates select="." />
</xsl:for-each>
</xsl:template>
<xsl:template match="class">
<tr>
<td>&#160;&#160;&#160;&#160;<b>Class : <xsl:value-of select="@name"/></b></td>
<td><xsl:value-of select="@ref"/></td>
<td><xsl:value-of select="@subclass"/></td>
<td><xsl:value-of select="@impl"/></td>
<td><xsl:value-of select="@instantiate"/></td>
</tr>
<xsl:for-each select="method">
<xsl:sort select="@name"/>
<xsl:apply-templates select="." />
</xsl:for-each>
<xsl:for-each select="field">
<xsl:sort select="@name"/>
<xsl:apply-templates select="." />
</xsl:for-each>
</xsl:template>
<xsl:template match="method">
<tr>
<td>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Method : <xsl:value-of select="@name"/>(...)</td>
<td><xsl:value-of select="@ref"/></td>
<td bgcolor="c8c8c8" colspan="3">&#160;</td>
</tr>
</xsl:template>
<xsl:template match="field">
<tr>
<td>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Field : <xsl:value-of select="@name"/></td>
<td><xsl:value-of select="@ref"/></td>
<td bgcolor="c8c8c8" colspan="3">&#160;</td>
</tr>
</xsl:template>
</xsl:stylesheet>