Daniel Veillard | 418968b | 2004-05-16 00:15:10 +0000 | [diff] [blame] | 1 | <?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 | |
| 16 | <xsl:template match="item"> |
| 17 | <li><xsl:value-of select="."/></li> |
| 18 | </xsl:template> |
| 19 | |
| 20 | <!-- The table of content for the HTML page --> |
| 21 | <xsl:variable name="menu_name">API Menu</xsl:variable> |
| 22 | <xsl:variable name="develtoc"> |
| 23 | <form action="../search.php" |
| 24 | enctype="application/x-www-form-urlencoded" method="get"> |
| 25 | <input name="query" type="text" size="20" value=""/> |
| 26 | <input name="submit" type="submit" value="Search ..."/> |
| 27 | </form> |
| 28 | <ul><!-- style="margin-left: -1em" --> |
| 29 | <li><a style="font-weight:bold" |
| 30 | href="{$href_base}index.html">Main Menu</a></li> |
| 31 | <li><a style="font-weight:bold" |
| 32 | href="{$href_base}docs.html">Developer Menu</a></li> |
| 33 | <li><a style="font-weight:bold" |
| 34 | href="{$href_base}html/index.html">Modules Index</a></li> |
| 35 | <li><a style="font-weight:bold" |
| 36 | href="{$href_base}examples/index.html">Code Examples</a></li> |
| 37 | <li><a style="font-weight:bold" |
| 38 | href="index.html">API Menu</a></li> |
| 39 | <li><a href="libxml-parser.html">Parser API</a></li> |
| 40 | <li><a href="libxml-tree.html">Tree API</a></li> |
| 41 | <li><a href="libxml-xmlreader.html">Reader API</a></li> |
| 42 | <li><a href="{$href_base}guidelines.html">XML Guidelines</a></li> |
| 43 | </ul> |
| 44 | </xsl:variable> |
| 45 | <xsl:template match="entry"> |
| 46 | |
| 47 | <p> |
| 48 | <b><xsl:value-of select="@who"/></b> |
| 49 | <xsl:text> </xsl:text> |
| 50 | <xsl:value-of select="@date"/> |
| 51 | <ul> |
| 52 | <xsl:apply-templates select="item"/> |
| 53 | </ul> |
| 54 | </p> |
| 55 | </xsl:template> |
| 56 | |
| 57 | <xsl:template match="log"> |
| 58 | <xsl:variable name="title">ChangeLog last entries of <xsl:value-of select="$module"/></xsl:variable> |
| 59 | <html> |
| 60 | <head> |
| 61 | <xsl:call-template name="style"/> |
| 62 | <xsl:element name="title"> |
| 63 | <xsl:value-of select="$title"/> |
| 64 | </xsl:element> |
| 65 | </head> |
| 66 | <body bgcolor="#8b7765" text="#000000" link="#000000" vlink="#000000"> |
| 67 | <xsl:call-template name="titlebox"> |
| 68 | <xsl:with-param name="title" select="$title"/> |
| 69 | </xsl:call-template> |
| 70 | <table border="0" cellpadding="4" cellspacing="0" width="100%" align="center"> |
| 71 | <tr> |
| 72 | <td bgcolor="#8b7765"> |
| 73 | <table border="0" cellspacing="0" cellpadding="2" width="100%"> |
| 74 | <tr> |
| 75 | <td valign="top" width="200" bgcolor="#8b7765"> |
| 76 | <xsl:call-template name="develtoc"/> |
| 77 | </td> |
| 78 | <td valign="top" bgcolor="#8b7765"> |
| 79 | <table border="0" cellspacing="0" cellpadding="1" width="100%"> |
| 80 | <tr> |
| 81 | <td> |
| 82 | <table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"> |
| 83 | <tr> |
| 84 | <td> |
| 85 | <table border="0" cellpadding="3" cellspacing="1" width="100%"> |
| 86 | <tr> |
| 87 | <td bgcolor="#fffacd"> |
| 88 | <xsl:apply-templates select="entry"/> |
| 89 | <p><a href="{$href_base}bugs.html">Daniel Veillard</a></p> |
| 90 | </td> |
| 91 | </tr> |
| 92 | </table> |
| 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 | </body> |
| 106 | </html> |
| 107 | </xsl:template> |
| 108 | |
| 109 | </xsl:stylesheet> |