| <?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"> </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>    <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>        Method : <xsl:value-of select="@name"/>(...)</td> |
| <td><xsl:value-of select="@ref"/></td> |
| <td bgcolor="c8c8c8" colspan="3"> </td> |
| </tr> |
| </xsl:template> |
| <xsl:template match="field"> |
| <tr> |
| <td>        Field : <xsl:value-of select="@name"/></td> |
| <td><xsl:value-of select="@ref"/></td> |
| <td bgcolor="c8c8c8" colspan="3"> </td> |
| </tr> |
| </xsl:template> |
| </xsl:stylesheet> |