blob: be44abe0219e8b09973c80b96d615b653f49c63e [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>
35 <li><a href="libxml-parser.html">Parser API</a></li>
36 <li><a href="libxml-tree.html">Tree API</a></li>
37 <li><a href="libxml-xmlreader.html">Reader API</a></li>
38 <li><a href="{$href_base}guidelines.html">XML Guidelines</a></li>
39 </ul>
40 </xsl:variable>
Daniel Veillarde19644e2004-05-16 03:34:55 +000041
42 <xsl:template match="item">
43 <li><xsl:value-of select="."/></li>
44 </xsl:template>
45
Daniel Veillard418968b2004-05-16 00:15:10 +000046 <xsl:template match="entry">
47
48 <p>
49 <b><xsl:value-of select="@who"/></b>
50 <xsl:text> </xsl:text>
51 <xsl:value-of select="@date"/>
Daniel Veillarde19644e2004-05-16 03:34:55 +000052 <xsl:text> </xsl:text>
53 <xsl:value-of select="@timezone"/>
Daniel Veillard418968b2004-05-16 00:15:10 +000054 <ul>
55 <xsl:apply-templates select="item"/>
56 </ul>
57 </p>
58 </xsl:template>
59
60 <xsl:template match="log">
61 <xsl:variable name="title">ChangeLog last entries of <xsl:value-of select="$module"/></xsl:variable>
62 <html>
63 <head>
64 <xsl:call-template name="style"/>
65 <xsl:element name="title">
66 <xsl:value-of select="$title"/>
67 </xsl:element>
68 </head>
69 <body bgcolor="#8b7765" text="#000000" link="#000000" vlink="#000000">
70 <xsl:call-template name="titlebox">
71 <xsl:with-param name="title" select="$title"/>
72 </xsl:call-template>
73 <table border="0" cellpadding="4" cellspacing="0" width="100%" align="center">
74 <tr>
75 <td bgcolor="#8b7765">
76 <table border="0" cellspacing="0" cellpadding="2" width="100%">
77 <tr>
78 <td valign="top" width="200" bgcolor="#8b7765">
79 <xsl:call-template name="develtoc"/>
80 </td>
81 <td valign="top" bgcolor="#8b7765">
82 <table border="0" cellspacing="0" cellpadding="1" width="100%">
83 <tr>
84 <td>
85 <table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000">
86 <tr>
87 <td>
88 <table border="0" cellpadding="3" cellspacing="1" width="100%">
89 <tr>
90 <td bgcolor="#fffacd">
91 <xsl:apply-templates select="entry"/>
92 <p><a href="{$href_base}bugs.html">Daniel Veillard</a></p>
93 </td>
94 </tr>
95 </table>
96 </td>
97 </tr>
98 </table>
99 </td>
100 </tr>
101 </table>
102 </td>
103 </tr>
104 </table>
105 </td>
106 </tr>
107 </table>
108 </body>
109 </html>
110 </xsl:template>
111
112</xsl:stylesheet>