| <?xml version="1.0"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!-- Author: Stefano Mazzocchi "stefano@apache.org" --> |
| <!-- Version: $Id$ --> |
| |
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
| |
| <xsl:template match="page"> |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> |
| <meta name="Author" content="{author}"/> |
| <meta name="Version" content="{version}"/> |
| <title><xsl:value-of select="title"/></title> |
| </head> |
| |
| <body bgcolor="#ffffff"> |
| <center> |
| <table border="0" width="100%" bgcolor="#000000" cellspacing="0" cellpadding="0"> |
| <tr> |
| <td> |
| <table border="0" width="100%" cellspacing="2" cellpadding="5"> |
| <tr> |
| <td bgcolor="#F0F0F0"> |
| <table border="0" width="100%" cellspacing="0" cellpadding="3"> |
| <tr> |
| <td width="100%" align="center"> |
| <table border="0" width="100%" cellspacing="10"> |
| <tr> |
| <td valign="top" width="60%"> |
| <xsl:apply-templates select="newscolumn"/> |
| </td> |
| <td valign="top" width="40%"> |
| <xsl:apply-templates select="statuscolumn"/> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td width="100%" align="left"> |
| <small><small> |
| <xsl:value-of select="legal"/> |
| </small></small> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| </table> |
| </center> |
| </body> |
| </html> |
| </xsl:template> |
| |
| <xsl:template match="newscolumn"> |
| <table border="0" width="100%" bgcolor="#000000" cellspacing="0" cellpadding="0"> |
| <tr> |
| <td width="100%"> |
| <table border="0" width="100%" cellpadding="4"> |
| <tr> |
| <td bgcolor="#C0C0C0" align="right"> |
| <big><big><b><xsl:text>News</xsl:text></b></big></big> |
| </td> |
| </tr> |
| <xsl:apply-templates/> |
| </table> |
| </td> |
| </tr> |
| </table> |
| </xsl:template> |
| |
| <xsl:template match="news"> |
| <tr> |
| <td bgcolor="#E0E0E0" align="left"> |
| <a href="{link}"> |
| <strong><xsl:value-of select="title"/></strong> |
| </a> |
| </td> |
| </tr> |
| <tr> |
| <td bgcolor="#ffffff" align="left"> |
| <strong><xsl:value-of select="date"/></strong> |
| <xsl:text> - </xsl:text> |
| <xsl:value-of select="content"/> |
| </td> |
| </tr> |
| </xsl:template> |
| |
| <xsl:template match="statuscolumn"> |
| <table border="0" width="100%" bgcolor="#000000" cellspacing="0" cellpadding="0"> |
| <tr> |
| <td width="100%"> |
| <table border="0" width="100%" cellpadding="4"> |
| <tr> |
| <td bgcolor="#C0C0C0" colspan="2" align="right"> |
| <big><big><b><xsl:text>Status</xsl:text></b></big></big> |
| </td> |
| </tr> |
| <xsl:apply-templates/> |
| </table> |
| </td> |
| </tr> |
| </table> |
| </xsl:template> |
| |
| <xsl:template match="project"> |
| <tr> |
| <td bgcolor="#E0E0E0" colspan="2" align="left"> |
| <a href="{link}"> |
| <b><xsl:value-of select="title"/></b> |
| </a> |
| </td> |
| </tr> |
| <xsl:apply-templates select="release"/> |
| </xsl:template> |
| |
| <xsl:template match="release"> |
| <tr> |
| <td bgcolor="#FFFFFF" align="center" rowspan="2"> |
| <b><xsl:value-of select="version"/></b> |
| </td> |
| <td bgcolor="#D0FFD0" align="left"> |
| <b><xsl:value-of select="status"/></b> |
| </td> |
| </tr> |
| <tr> |
| <td bgcolor="#FFFFFF" align="left"> |
| <small><xsl:value-of select="comment"/></small> |
| </td> |
| </tr> |
| </xsl:template> |
| |
| </xsl:stylesheet> |