You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by st...@locus.apache.org on 2000/09/03 15:43:24 UTC
cvs commit: xml-cocoon/webapp/stylesheets/system error2html.xsl
stefano 00/09/03 06:43:23
Modified: webapp/stylesheets/system Tag: xml-cocoon2 error2html.xsl
Log:
cosmetics
Revision Changes Path
No revision
No revision
1.1.2.5 +106 -113 xml-cocoon/webapp/stylesheets/system/Attic/error2html.xsl
Index: error2html.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/webapp/stylesheets/system/Attic/error2html.xsl,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -r1.1.2.4 -r1.1.2.5
--- error2html.xsl 2000/08/31 14:54:18 1.1.2.4
+++ error2html.xsl 2000/09/03 13:43:23 1.1.2.5
@@ -1,123 +1,116 @@
<?xml version="1.0"?>
-<xsl:stylesheet version="1.0"
+<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:err="http://apache.org/cocoon/2.0/error">
<xsl:template match="notify">
-<html>
- <head>
- <title>
- <xsl:value-of select="@type"/>:<xsl:value-of select="title"/></title>
- </head>
- <body bgcolor="#ffffff">
- <TABLE border="0" bgcolor="#000000" cellpadding="2" cellspacing="2">
- <TBODY>
- <TR>
- <TD bgcolor="#0086b2" colspan="2">
- <FONT color="#ffffff" face="arial,helvetica,sanserif" size="+2">
- <xsl:value-of select="title"/>
- </FONT>
- </TD>
- </TR>
-
- <TR>
- <TD bgcolor="#0086b2" valign="top">
- <FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1">
- <xsl:value-of select="@type"/>
- </FONT>
- </TD>
- <TD bgcolor="#ffffff" >
- <xsl:apply-templates select="message"/>
- </TD>
- </TR>
-
- <TR>
- <TD bgcolor="#0086b2" valign="top" colspan="2">
- <FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1">
- details
- </FONT>
- </TD>
- </TR>
-
- <TR>
- <TD bgcolor="#0086b2" valign="top">
- <FONT face="arial,helvetica,sanserif" color="#ffffff">
- from
- </FONT>
- </TD>
- <TD bgcolor="#ffffff">
- <FONT face="arial,helvetica,sanserif">
+ <html>
+ <head>
+ <title>
+ <xsl:value-of select="@type"/>:<xsl:value-of select="title"/>
+ </title>
+ </head>
+ <body bgcolor="#ffffff">
+ <table border="0" bgcolor="#000000" cellpadding="2" cellspacing="2">
+ <tbody>
+ <tr>
+ <td bgcolor="#0086b2" colspan="2">
+ <font color="#ffffff" face="arial,helvetica,sanserif" size="+2">
+ <xsl:value-of select="title"/>
+ </font>
+ </td>
+ </tr>
+
+ <tr>
+ <td bgcolor="#0086b2" valign="top">
+ <font color="#ffffff" face="arial,helvetica,sanserif" size="+1">
+ <xsl:value-of select="@type"/>
+ </font>
+ </td>
+ <td bgcolor="#ffffff" >
+ <xsl:apply-templates select="message"/>
+ </td>
+ </tr>
+
+ <tr>
+ <td bgcolor="#0086b2" valign="top" colspan="2">
+ <font color="#ffffff" face="arial,helvetica,sanserif" size="+1">details</font>
+ </td>
+ </tr>
+
+ <tr>
+ <td bgcolor="#0086b2" valign="top">
+ <font face="arial,helvetica,sanserif" color="#ffffff">from</font>
+ </td>
+ <td bgcolor="#ffffff">
+ <font face="arial,helvetica,sanserif">
<xsl:value-of select="@sender"/>
- </FONT>
- </TD>
- </TR>
-
- <TR>
- <TD bgcolor="#0086b2" valign="top">
- <FONT face="arial,helvetica,sanserif" color="#ffffff">
- source
- </FONT>
- </TD>
- <TD bgcolor="#ffffff">
- <FONT face="arial,helvetica,sanserif">
+ </font>
+ </td>
+ </tr>
+
+ <tr>
+ <td bgcolor="#0086b2" valign="top">
+ <font face="arial,helvetica,sanserif" color="#ffffff">source</font>
+ </td>
+ <td bgcolor="#ffffff">
+ <font face="arial,helvetica,sanserif">
<xsl:value-of select="source"/>
- </FONT>
- </TD>
- </TR>
- <xsl:apply-templates select="description"/>
-
- <TR>
- <TD bgcolor="#0086b2" valign="top" colspan="2">
- <FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1">
- extra info
- </FONT>
- </TD>
- </TR>
-
- <xsl:apply-templates select="extra"/>
-
- </TBODY>
- </TABLE>
- </body>
-</html>
-
- </xsl:template>
-
- <xsl:template match="description">
- <TR>
- <TD bgcolor="#0086b2" valign="top">
- <FONT color="#ffffff" face="arial,helvetica,sanserif">
- description
- </FONT></TD>
- <TD bgcolor="#ffffff">
- <FONT face="arial,helvetica,sanserif">
- <xsl:value-of select="."/>
- </FONT>
- </TD>
- </TR>
- </xsl:template>
-
- <xsl:template match="message">
- <FONT face="arial,helvetica,sanserif">
- <xsl:value-of select="."/>
- </FONT>
- </xsl:template>
-
- <xsl:template match="extra">
- <TR>
- <TD bgcolor="#0086b2" valign="top">
- <FONT color="#ffffff" face="arial,helvetica,sanserif">
- <xsl:value-of select="@description"/>
- </FONT></TD>
- <TD bgcolor="#ffffff">
- <PRE>
- <xsl:value-of select="."/>
- </PRE>
- </TD>
- </TR>
- </xsl:template>
-
- <xsl:template match="*"/>
+ </font>
+ </td>
+ </tr>
+
+ <xsl:apply-templates select="description"/>
+
+ <tr>
+ <td bgcolor="#0086b2" valign="top" colspan="2">
+ <font color="#ffffff" face="arial,helvetica,sanserif" size="+1">extra info</font>
+ </td>
+ </tr>
+
+ <xsl:apply-templates select="extra"/>
+
+ </tbody>
+ </table>
+ </body>
+ </html>
+</xsl:template>
+
+ <xsl:template match="description">
+ <tr>
+ <td bgcolor="#0086b2" valign="top">
+ <font color="#ffffff" face="arial,helvetica,sanserif">description</font>
+ </td>
+ <td bgcolor="#ffffff">
+ <font face="arial,helvetica,sanserif">
+ <xsl:value-of select="."/>
+ </font>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="message">
+ <font face="arial,helvetica,sanserif">
+ <xsl:value-of select="."/>
+ </font>
+ </xsl:template>
+
+ <xsl:template match="extra">
+ <tr>
+ <td bgcolor="#0086b2" valign="top">
+ <font color="#ffffff" face="arial,helvetica,sanserif">
+ <xsl:value-of select="@description"/>
+ </font>
+ </td>
+ <td bgcolor="#ffffff">
+ <pre>
+ <xsl:value-of select="."/>
+ </pre>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="*"/>
</xsl:stylesheet>