2 <!-- this stylesheet builds the ChangeLog.html -->
3 <xsl:stylesheet version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
6 <!-- Import the rest of the site stylesheets -->
7 <xsl:import href="site.xsl"/>
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"/>
14 <xsl:param name="module">libxslt</xsl:param>
16 <!-- 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 ..."/>
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>
38 <xsl:template match="bug">
39 <a href="http://bugzilla.gnome.org/show_bug.cgi?id={@number}">
40 <xsl:value-of select="@number"/></a>
43 <xsl:template match="item">
44 <li><xsl:apply-templates/></li>
47 <xsl:template match="entry">
50 <b><xsl:value-of select="@who"/></b>
51 <xsl:text> </xsl:text>
52 <xsl:value-of select="@date"/>
53 <xsl:text> </xsl:text>
54 <xsl:value-of select="@timezone"/>
56 <xsl:apply-templates select="item"/>
61 <xsl:template match="log">
62 <xsl:variable name="title">ChangeLog last entries of <xsl:value-of select="$module"/></xsl:variable>
65 <xsl:call-template name="style"/>
66 <xsl:element name="title">
67 <xsl:value-of select="$title"/>
70 <body bgcolor="#8b7765" text="#000000" link="#a06060" vlink="#000000">
71 <xsl:call-template name="titlebox">
72 <xsl:with-param name="title" select="$title"/>
74 <table border="0" cellpadding="4" cellspacing="0" width="100%" align="center">
76 <td bgcolor="#8b7765">
77 <table border="0" cellspacing="0" cellpadding="2" width="100%">
79 <td valign="top" width="200" bgcolor="#8b7765">
80 <xsl:call-template name="develtoc"/>
82 <td valign="top" bgcolor="#8b7765">
83 <table border="0" cellspacing="0" cellpadding="1" width="100%">
86 <table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000">
89 <table border="0" cellpadding="3" cellspacing="1" width="100%">
91 <td bgcolor="#fffacd">
92 <xsl:apply-templates select="entry"/>
93 <p><a href="{$href_base}bugs.html">Daniel Veillard</a></p>