blob: 5e6c3a9d0eb6a4e41fb468ba5da4e0b95da5c6f3 [file] [log] [blame]
Daniel Veillard418968b2004-05-16 00:15:10 +00001<?xml version="1.0"?>
2<!-- this stylesheet builds the ChangeLog.html -->
3<xsl:stylesheet version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
5
6 <!-- Import the rest of the site stylesheets -->
7 <xsl:import href="site.xsl"/>
8
9 <!-- Generate XHTML-1.0 transitional -->
10 <xsl:output method="xml" encoding="ISO-8859-1" indent="yes"
11 doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
12 doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
13
14 <xsl:param name="module">libxml2</xsl:param>
15
Daniel Veillard418968b2004-05-16 00:15:10 +000016 <!-- The table of content for the HTML page -->
17 <xsl:variable name="menu_name">API Menu</xsl:variable>
18 <xsl:variable name="develtoc">
19 <form action="../search.php"
20 enctype="application/x-www-form-urlencoded" method="get">
21 <input name="query" type="text" size="20" value=""/>
22 <input name="submit" type="submit" value="Search ..."/>
23 </form>
24 <ul><!-- style="margin-left: -1em" -->
25 <li><a style="font-weight:bold"
26 href="{$href_base}index.html">Main Menu</a></li>
27 <li><a style="font-weight:bold"
28 href="{$href_base}docs.html">Developer Menu</a></li>
29 <li><a style="font-weight:bold"
30 href="{$href_base}html/index.html">Modules Index</a></li>
31 <li><a style="font-weight:bold"
32 href="{$href_base}examples/index.html">Code Examples</a></li>
33 <li><a style="font-weight:bold"
34 href="index.html">API Menu</a></li>
Daniel Veillardf81a8e82004-08-03 21:58:41 +000035 <li><a href="html/libxml-parser.html">Parser API</a></li>
36 <li><a href="html/libxml-tree.html">Tree API</a></li>
37 <li><a href="html/libxml-xmlreader.html">Reader API</a></li>
Daniel Veillard418968b2004-05-16 00:15:10 +000038 <li><a href="{$href_base}guidelines.html">XML Guidelines</a></li>
39 </ul>
40 </xsl:variable>
Daniel Veillarde19644e2004-05-16 03:34:55 +000041
Daniel Veillarda98357a2004-05-16 05:06:59 +000042 <xsl:template match="bug">
43 <a href="http://bugzilla.gnome.org/show_bug.cgi?id={@number}">
44 <xsl:value-of select="@number"/></a>
45 </xsl:template>
46
Daniel Veillarde19644e2004-05-16 03:34:55 +000047 <xsl:template match="item">
Daniel Veillarda98357a2004-05-16 05:06:59 +000048 <li><xsl:apply-templates/></li>
Daniel Veillarde19644e2004-05-16 03:34:55 +000049 </xsl:template>
50
Daniel Veillard418968b2004-05-16 00:15:10 +000051 <xsl:template match="entry">
52
53 <p>
54 <b><xsl:value-of select="@who"/></b>
55 <xsl:text> </xsl:text>
56 <xsl:value-of select="@date"/>
Daniel Veillarde19644e2004-05-16 03:34:55 +000057 <xsl:text> </xsl:text>
58 <xsl:value-of select="@timezone"/>
Daniel Veillard418968b2004-05-16 00:15:10 +000059 <ul>
60 <xsl:apply-templates select="item"/>
61 </ul>
62 </p>
63 </xsl:template>
64
65 <xsl:template match="log">
66 <xsl:variable name="title">ChangeLog last entries of <xsl:value-of select="$module"/></xsl:variable>
67 <html>
68 <head>
69 <xsl:call-template name="style"/>
70 <xsl:element name="title">
71 <xsl:value-of select="$title"/>
72 </xsl:element>
73 </head>
Daniel Veillard7a2c2ee2004-08-14 13:56:39 +000074 <body bgcolor="#8b7765" text="#000000" link="#a06060" vlink="#000000">
Daniel Veillard418968b2004-05-16 00:15:10 +000075 <xsl:call-template name="titlebox">
76 <xsl:with-param name="title" select="$title"/>
77 </xsl:call-template>
78 <table border="0" cellpadding="4" cellspacing="0" width="100%" align="center">
79 <tr>
80 <td bgcolor="#8b7765">
81 <table border="0" cellspacing="0" cellpadding="2" width="100%">
82 <tr>
83 <td valign="top" width="200" bgcolor="#8b7765">
84 <xsl:call-template name="develtoc"/>
85 </td>
86 <td valign="top" bgcolor="#8b7765">
87 <table border="0" cellspacing="0" cellpadding="1" width="100%">
88 <tr>
89 <td>
90 <table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000">
91 <tr>
92 <td>
93 <table border="0" cellpadding="3" cellspacing="1" width="100%">
94 <tr>
95 <td bgcolor="#fffacd">
96 <xsl:apply-templates select="entry"/>
97 <p><a href="{$href_base}bugs.html">Daniel Veillard</a></p>
98 </td>
99 </tr>
100 </table>
101 </td>
102 </tr>
103 </table>
104 </td>
105 </tr>
106 </table>
107 </td>
108 </tr>
109 </table>
110 </td>
111 </tr>
112 </table>
113 </body>
114 </html>
115 </xsl:template>
116
117</xsl:stylesheet>