blob: 64f04acc3186830bc3a158e2f762693e144053ea [file] [log] [blame]
ndaia5b27662005-07-09 19:41:27 +00001<?xml version="1.0" encoding="ISO-8859-1"?>
2<xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
4 <xsl:template match="/">
5 <html>
6 <body>
7 <h2><xsl:value-of select="api-compatibility/@name"/></h2>
8 <xsl:if test="api-compatibility/removed-apis/class-api">
9 <fieldset>
10 <legend><img src="../FAIL.gif"/>&#160;Removed APIs</legend>
11 <xsl:for-each select="api-compatibility/removed-apis/class-api">
12 <xsl:apply-templates select="." />
13 </xsl:for-each>
14 </fieldset>
15 </xsl:if>
16 <br/>
17 <xsl:if test="api-compatibility/new-apis/class-api">
18 <fieldset>
19 <legend>New APIs</legend>
20 <xsl:for-each select="api-compatibility/new-apis/class-api">
21 <xsl:apply-templates select="." />
22 </xsl:for-each>
23 </fieldset>
24 </xsl:if>
25 </body>
26 </html>
27 </xsl:template>
28 <xsl:template match="class-api">
29 <h3><xsl:value-of select="@name"/></h3>
30 <ul>
31 <xsl:for-each select="method-api">
32 <li><b>Method&#160;-&#160;</b><xsl:value-of select="@name"/>&#160;<i><xsl:value-of select="@descriptor"/></i></li>
33 </xsl:for-each>
34 </ul>
35 <ul>
36 <xsl:for-each select="field-api">
37 <li><b>Field&#160;-&#160;</b><xsl:value-of select="@name"/>&#160;<i><xsl:value-of select="@descriptor"/></i></li>
38 </xsl:for-each>
39 </ul>
40 </xsl:template>
41</xsl:stylesheet>