You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2003/05/11 06:05:39 UTC
cvs commit: cocoon-1/skins/xml.apache.org/stylesheets book2project.xsl document2html.xsl document2image.xsl
vgritsenko 2003/05/10 21:05:38
Modified: . build.xml changes.xml
skins/xml.apache.org/stylesheets book2project.xsl
document2html.xsl
Added: skins/xml.apache.org/resources label-background_a.gif
label-background_b.gif
Removed: skins/xml.apache.org/resources bar-border-bottom.gif
bar-border-left.gif bar-border-right.gif
bar-border-top.gif bar-bottom-left.gif
bar-bottom-right.gif bar-top-left.gif
bar-top-right.gif script.js
skins/xml.apache.org/stylesheets document2image.xsl
Log:
port updated site style from cocoon 2.0: replace navigation bar images with text
Revision Changes Path
1.72 +2 -2 cocoon-1/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/cocoon-1/build.xml,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- build.xml 26 Mar 2001 17:47:55 -0000 1.71
+++ build.xml 11 May 2003 04:05:38 -0000 1.72
@@ -99,7 +99,7 @@
- dist-zip -> generates the Cocoon distribution
- dist-tgz -> generates the Cocoon distribution
- clean -> restores the distribution to its original and clean state
- - site -> generates the web site in ../xml-site/targets/cocoon
+ - site -> generates the web site in ../xml-site/targets/cocoon1
====================================== FAQ =====================================
@@ -172,7 +172,7 @@
<property name="dist.root" value="./dist"/>
<property name="dist.dir" value="${dist.root}/${name}-${version}"/>
- <property name="site" value="../xml-site/targets/cocoon"/>
+ <property name="site" value="../xml-site/targets/cocoon1"/>
<available property="xt.present" classname="com.jclark.xsl.sax.XSLProcessor"/>
<available property="saxon.present" classname="com.icl.saxon.StyleSheet"/>
1.233 +5 -1 cocoon-1/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/cocoon-1/changes.xml,v
retrieving revision 1.232
retrieving revision 1.233
diff -u -r1.232 -r1.233
--- changes.xml 27 Feb 2003 02:42:22 -0000 1.232
+++ changes.xml 11 May 2003 04:05:38 -0000 1.233
@@ -16,9 +16,13 @@
<person name="Robin Green" email="greenrd@hotmail.com" id="RDG"/>
<person name="Jeremy Quinn" email="jeremy@apache.org" id="JQ"/>
<person name="Sylvain Wallez" email="sylvain@apache.org" id="SW"/>
+ <person name="Vadim Gritsenko" email="vgritsenko@apache.org" id="VG"/>
</devs>
<release version="@version@" date="@date@">
+ <action dev="VG" type="update">
+ Updated site style: removed generated images in the navigation bar and replaced with text.
+ </action>
<action dev="PF" type="update">
The repository for Cocoon 1.x is now called "cocoon-1" (the old
"xml-cocoon" repository is deprecated).
1.1 cocoon-1/skins/xml.apache.org/resources/label-background_a.gif
<<Binary file>>
1.1 cocoon-1/skins/xml.apache.org/resources/label-background_b.gif
<<Binary file>>
1.2 +1 -99 cocoon-1/skins/xml.apache.org/stylesheets/book2project.xsl
Index: book2project.xsl
===================================================================
RCS file: /home/cvs/cocoon-1/skins/xml.apache.org/stylesheets/book2project.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- book2project.xsl 27 Jan 2000 03:34:36 -0000 1.1
+++ book2project.xsl 11 May 2003 04:05:38 -0000 1.2
@@ -5,7 +5,6 @@
<!-- match the root book element -->
<xsl:template match="book">
<project>
-
<parameter name="copyright" value="{@copyright}"/>
<parameter name="name" value="{@software}"/>
@@ -18,7 +17,6 @@
</process>
<xsl:apply-templates/>
-
</project>
</xsl:template>
@@ -33,19 +31,6 @@
</processor>
</process>
- <xsl:call-template name="header">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="source" select="@source"/>
- <xsl:with-param name="label" select="@label"/>
- </xsl:call-template>
-
- <xsl:if test="not(name(.)='hidden')">
- <xsl:call-template name="labels">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="label" select="@label"/>
- </xsl:call-template>
- </xsl:if>
-
<create source="{@source}" target="{@id}.html" producer="parser" printer="html">
<processor name="xslt">
<parameter name="id" value="{@id}"/>
@@ -61,17 +46,6 @@
</processor>
</process>
- <xsl:call-template name="header">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="source" select="@source"/>
- <xsl:with-param name="label" select="@label"/>
- </xsl:call-template>
-
- <xsl:call-template name="labels">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="label" select="@label"/>
- </xsl:call-template>
-
<create source="{@source}" target="{@id}.html" producer="parser" printer="html">
<processor name="xslt">
<parameter name="id" value="{@id}"/>
@@ -90,18 +64,6 @@
</processor>
</process>
- <xsl:call-template name="header">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="source" select="@source"/>
- <xsl:with-param name="label" select="@label"/>
- <xsl:with-param name="type" select="name(.)"/>
- </xsl:call-template>
-
- <xsl:call-template name="labels">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="label" select="@label"/>
- </xsl:call-template>
-
<create source="{@source}" target="{@id}.html" producer="parser" printer="html">
<processor name="xslt">
<parameter name="stylesheet" value="sbk:/style/stylesheets/{name(.)}2document.xsl"/>
@@ -114,66 +76,6 @@
</xsl:template>
<xsl:template match="external">
- <xsl:call-template name="labels">
- <xsl:with-param name="id" select="concat('ext-',position())"/>
- <xsl:with-param name="label" select="@label"/>
- </xsl:call-template>
</xsl:template>
-<!-- ********************************************************************** -->
-<!-- NAMED TEMPLATES -->
-<!-- ********************************************************************** -->
-
-<!-- Generate the doument header image -->
- <xsl:template name="header">
- <xsl:param name="id"/>
- <xsl:param name="source"/>
- <xsl:param name="label"/>
- <xsl:param name="type"/>
-
- <create source="{$source}" target="graphics/{$id}-header.jpg" producer="parser" printer="image">
- <xsl:if test="$type">
- <processor name="xslt">
- <parameter name="stylesheet" value="sbk:/style/stylesheets/{$type}2document.xsl"/>
- </processor>
- </xsl:if>
- <processor name="xslt">
- <parameter name="stylesheet" value="sbk:/style/stylesheets/document2image.xsl"/>
- </processor>
- </create>
- </xsl:template>
-
-<!-- Generate the three rollover label images -->
- <xsl:template name="labels">
- <xsl:param name="id"/>
- <xsl:param name="label"/>
-
- <create source="" target="graphics/{$id}-label-1.jpg" producer="context" printer="image">
- <parameter name="label" value="{$label}"/>
- <processor name="xslt">
- <parameter name="stylesheet" value="sbk:/style/stylesheets/context2label.xsl"/>
- <parameter name="image" value="sbk:/style/graphics/button-a.gif"/>
- <parameter name="color" value="ffffff"/>
- </processor>
- </create>
-
- <create source="" target="graphics/{$id}-label-2.jpg" producer="context" printer="image">
- <parameter name="label" value="{$label}"/>
- <processor name="xslt">
- <parameter name="stylesheet" value="sbk:/style/stylesheets/context2label.xsl"/>
- <parameter name="image" value="sbk:/style/graphics/button-b.gif"/>
- <parameter name="color" value="ffff00"/>
- </processor>
- </create>
-
- <create source="" target="graphics/{$id}-label-3.jpg" producer="context" printer="image">
- <parameter name="label" value="{$label}"/>
- <processor name="xslt">
- <parameter name="stylesheet" value="sbk:/style/stylesheets/context2label.xsl"/>
- <parameter name="image" value="sbk:/style/graphics/button-b.gif"/>
- <parameter name="color" value="ffffff"/>
- </processor>
- </create>
- </xsl:template>
-
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
1.13 +117 -182 cocoon-1/skins/xml.apache.org/stylesheets/document2html.xsl
Index: document2html.xsl
===================================================================
RCS file: /home/cvs/cocoon-1/skins/xml.apache.org/stylesheets/document2html.xsl,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- document2html.xsl 7 Nov 2000 18:39:49 -0000 1.12
+++ document2html.xsl 11 May 2003 04:05:38 -0000 1.13
@@ -15,8 +15,38 @@
<xsl:if test="not(book)">
<html>
<head>
- <script language="JavaScript" type="text/javascript" src="resources/script.js"/>
<title><xsl:value-of select="document/header/title"/></title>
+<STYLE type="text/css">
+a.menu {
+ color: #FFFFFF;
+ text-align:left;
+ font-size:12px;
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-weight:plain;
+ text-decoration:none;
+ padding-left: 14px
+}
+
+A.menu:hover {
+ color: #FFCC00
+}
+.menutitle {
+ color: #000000;
+ text-align:left;
+ font-size:10px;
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-weight:bold;
+ padding-left: 8px
+}
+.menuselected {
+ color: #FFCC00;
+ text-align:left;
+ font-size:12px;
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-weight:bold;
+ padding-left: 14px
+}
+</STYLE>
</head>
<body text="#000000" link="#039acc" vlink="#0086b2" alink="#cc0000"
topmargin="4" leftmargin="4" marginwidth="4" marginheight="4"
@@ -27,48 +57,38 @@
<td width="135" height="60" rowspan="3" valign="top" align="left">
<img width="135" height="60" src="resources/logo.gif" hspace="0" vspace="0" border="0"/>
</td>
- <td width="100%" height="5" valign="top" align="left" colspan="2" background="resources/line.gif">
- <img width="1" height="5" src="resources/line.gif" hspace="0" vspace="0" border="0" align="left"/>
+ <td width="100%" height="0" valign="top" align="left" colSpan="2" rowspan="1" background="resources/line.gif">
</td>
<td width="29" height="60" rowspan="3" valign="top" align="left">
<img width="29" height="60" src="resources/right.gif" hspace="0" vspace="0" border="0"/>
</td>
</tr>
<tr>
- <td width="100%" height="35" valign="top" align="left" colspan="2" bgcolor="#0086b2">
- <img src="graphics/{$id}-header.jpg" width="456" height="35" hspace="0" vspace="0" border="0" alt="{header/title}" align="right"/>
+ <td width="100%" height="35" valign="top" align="right" colspan="2" bgcolor="#0086b2">
+ <font size="5" face="Verdana, Arial, Helvetica, sans-serif" color="#ffffff"><xsl:value-of select="document/header/title"/></font>
</td>
</tr>
<tr>
- <td width="100%" height="20" valign="top" align="left" bgcolor="#0086b2" background="resources/bottom.gif">
- <img width="3" height="20" src="resources/bottom.gif" hspace="0" vspace="0" border="0" align="left"/>
- </td>
- <td align="right" bgcolor="#0086b2" height="20" valign="top" width="288" background="resources/bottom.gif">
- <table border="0" cellpadding="0" cellspacing="0" width="288">
+ <td align="right" bgcolor="#0086b2" height="20" valign="top" width="100%" colspan="2" background="resources/bottom.gif">
+ <table border="0" cellpadding="0" cellspacing="0" width="288">
<tr>
<td width="96" height="20" valign="top" align="left">
- <a href="http://xml.apache.org/" onMouseOver="rolloverOn('xml');" onMouseOut="rolloverOff('xml');" target="new">
- <img alt="http://xml.apache.org/" width="96" height="20" src="resources/button-xml-lo.gif"
- name="xml" hspace="0" vspace="0" border="0"
- onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');"/>
+ <a href="http://xml.apache.org/" target="new">
+ <img alt="http://xml.apache.org/" width="96" height="20" src="resources/button-xml-lo.gif" name="xml" hspace="0" vspace="0" border="0"/>
</a>
</td>
<td width="96" height="20" valign="top" align="left">
- <a href="http://www.apache.org/" onMouseOver="rolloverOn('asf');" onMouseOut="rolloverOff('asf');" target="new">
- <img alt="http://www.apache.org/" width="96" height="20" src="resources/button-asf-lo.gif"
- name="asf" hspace="0" vspace="0" border="0"
- onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');"/>
+ <a href="http://www.apache.org/" target="new">
+ <img alt="http://www.apache.org/" width="96" height="20" src="resources/button-asf-lo.gif" name="asf" hspace="0" vspace="0" border="0"/>
</a>
</td>
<td width="96" height="20" valign="top" align="left">
- <a href="http://www.w3.org/" onMouseOver="rolloverOn('w3c');" onMouseOut="rolloverOff('w3c');" target="new">
- <img alt="http://www.w3.org/" width="96" height="20" src="resources/button-w3c-lo.gif"
- name="w3c" hspace="0" vspace="0" border="0"
- onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');"/>
+ <a href="http://www.w3.org/" target="new">
+ <img alt="http://www.w3.org/" width="96" height="20" src="resources/button-w3c-lo.gif" name="w3c" hspace="0" vspace="0" border="0"/>
</a>
</td>
</tr>
- </table>
+ </table>
</td>
</tr>
</table>
@@ -78,9 +98,19 @@
<tr>
<!-- THE SIDE BAR -->
<td width="120" valign="top" align="left">
+ <table cellpadding="0" cellspacing="0">
+ <tr>
+ <td valign="top" align="left">
<img width="120" height="14" src="resources/join.gif" hspace="0" vspace="0" border="0"/><br/>
- <xsl:apply-templates select="document($stylebook.project)"/>
+ </td>
+ </tr>
+ <xsl:apply-templates select="document($stylebook.project)"/>
+ <tr>
+ <td valign="top" align="left">
<img width="120" height="14" src="resources/close.gif" hspace="0" vspace="0" border="0"/><br/>
+ </td>
+ </tr>
+ </table>
</td>
<!-- THE CONTENT PANEL -->
<td width="*" valign="top" align="left">
@@ -116,29 +146,35 @@
<!-- ====================================================================== -->
<xsl:template match="page|faqs|changes|todo|spec">
+ <tr>
+ <td valign="top" align="left" bgcolor="#959595" background="resources/label-background_a.gif">
<xsl:if test="@id=$id">
- <img src="graphics/{@id}-label-1.jpg" width="120" height="12" hspace="0" vspace="0" border="0" alt="{@label}"/>
+ <span class="menuselected"><xsl:value-of select="@label"/></span>
</xsl:if>
<xsl:if test="@id!=$id">
- <a href="{@id}.html" onMouseOver="rolloverOn('side-{@id}');" onMouseOut="rolloverOff('side-{@id}');">
- <img onLoad="rolloverLoad('side-{@id}','graphics/{@id}-label-2.jpg','graphics/{@id}-label-3.jpg');"
- name="side-{@id}" src="graphics/{@id}-label-3.jpg" width="120" height="12" hspace="0" vspace="0" border="0" alt="{@label}"/>
- </a>
+ <a href="{@id}.html" class="menu"><xsl:value-of select="@label"/></a>
</xsl:if>
<br/>
+ </td>
+ </tr>
</xsl:template>
<xsl:template match="external">
<xsl:variable name="extid" select="concat('ext-',position())"/>
- <a href="{@href}" onMouseOver="rolloverOn('side-{$extid}');" onMouseOut="rolloverOff('side-{$extid}');">
- <img onLoad="rolloverLoad('side-{$extid}','graphics/{$extid}-label-2.jpg','graphics/{$extid}-label-3.jpg');"
- name="side-{$extid}" src="graphics/{$extid}-label-3.jpg" width="120" height="12" hspace="0" vspace="0" border="0" alt="{@label}"/>
- </a>
+ <tr>
+ <td valign="top" align="left" bgcolor="#959595" background="resources/label-background_a.gif">
+ <a href="{@href}" class="menu"><xsl:value-of select="@label"/></a>
<br/>
+ </td>
+ </tr>
</xsl:template>
<xsl:template match="separator">
+ <tr>
+ <td valign="top" align="left" bgcolor="#959595">
<img src="resources/separator.gif" width="120" height="6" hspace="0" vspace="0" border="0"/><br/>
+ </td>
+ </tr>
</xsl:template>
<!-- ====================================================================== -->
@@ -154,137 +190,31 @@
<!-- ====================================================================== -->
<xsl:template match="s1">
- <div align="right">
- <table border="0" width="98%" cellspacing="0" cellpadding="0">
- <tr>
- <td width="9" height="7" valign="bottom" align="right"><img src="resources/bar-top-left.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td>
- <td background="resources/bar-border-top.gif"><img src="resources/void.gif" width="1" height="5" vspace="0" hspace="0" border="0"/></td>
- <td width="9" height="7" valign="bottom" align="left"><img src="resources/bar-top-right.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td>
- </tr>
- <tr>
- <td width="9" background="resources/bar-border-left.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td>
- <td width="100%" bgcolor="#0086b2">
- <font size="+1" face="arial,helvetica,sanserif" color="#ffffff">
- <img src="resources/void.gif" width="5" height="5" vspace="0" hspace="0" border="0"/><b><xsl:value-of select="@title"/></b></font>
- </td>
- <td width="9" background="resources/bar-border-right.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td>
- </tr>
- <tr>
- <td width="9" height="12" valign="top" align="right"><img src="resources/bar-bottom-left.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td>
- <td background="resources/bar-border-bottom.gif"><img src="resources/void.gif" height="12" vspace="0" hspace="0" border="0"/></td>
- <td width="9" height="12" valign="top" align="left"><img src="resources/bar-bottom-right.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td>
- </tr>
- </table>
- <table border="0" width="98%" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <font face="arial,helvetica,sanserif" color="#000000"><xsl:apply-templates/></font>
- </td>
- </tr>
- </table>
- </div>
- <br/>
+ <font color="#0086b2" size="+2" face="verdana, helvetica, sans serif">
+ <xsl:value-of select="@title"/>
+ </font>
+ <hr size="1" style="color: #0086b2"/>
+ <xsl:apply-templates/>
</xsl:template>
-
<xsl:template match="s2">
- <div align="right">
- <table border="0" width="96%" cellspacing="0" cellpadding="0">
- <tr>
- <td width="9" height="7" valign="bottom" align="right"><img src="resources/bar-top-left.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td>
- <td background="resources/bar-border-top.gif"><img src="resources/void.gif" width="1" height="5" vspace="0" hspace="0" border="0"/></td>
- <td width="9" height="7" valign="bottom" align="left"><img src="resources/bar-top-right.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td>
- </tr>
- <tr>
- <td width="9" background="resources/bar-border-left.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td>
- <td width="100%" bgcolor="#0086b2">
- <font face="arial,helvetica,sanserif" color="#ffffff">
- <img src="resources/void.gif" width="5" height="5" vspace="0" hspace="0" border="0"/><b><xsl:value-of select="@title"/></b></font>
- </td>
- <td width="9" background="resources/bar-border-right.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td>
- </tr>
- <tr>
- <td width="9" height="12" valign="top" align="right"><img src="resources/bar-bottom-left.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td>
- <td background="resources/bar-border-bottom.gif"><img src="resources/void.gif" width="1" height="12" vspace="0" hspace="0" border="0"/></td>
- <td width="9" height="12" valign="top" align="left"><img src="resources/bar-bottom-right.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td>
- </tr>
- </table>
- <table border="0" width="96%" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <font face="arial,helvetica,sanserif" color="#000000"><xsl:apply-templates/></font>
- </td>
- </tr>
- </table>
- </div>
- <br/>
+ <font color="#0086b2" size="+1" face="verdana, helvetica, sans serif">
+ <b><xsl:value-of select="@title"/></b>
+ </font>
+ <xsl:apply-templates/>
</xsl:template>
-
<xsl:template match="s3">
- <div align="right">
- <table border="0" width="94%" cellspacing="0" cellpadding="0">
- <tr>
- <td width="9" height="7" valign="bottom" align="right"><img src="resources/bar-top-left.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td>
- <td background="resources/bar-border-top.gif"><img src="resources/void.gif" width="1" height="5" vspace="0" hspace="0" border="0"/></td>
- <td width="9" height="7" valign="bottom" align="left"><img src="resources/bar-top-right.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td>
- </tr>
- <tr>
- <td width="9" background="resources/bar-border-left.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td>
- <td width="100%" bgcolor="#0086b2">
- <font size="-1" face="arial,helvetica,sanserif" color="#ffffff">
- <img src="resources/void.gif" width="5" height="5" vspace="0" hspace="0" border="0"/><b><xsl:value-of select="@title"/></b></font>
- </td>
- <td width="9" background="resources/bar-border-right.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td>
- </tr>
- <tr>
- <td width="9" height="12" valign="top" align="right"><img src="resources/bar-bottom-left.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td>
- <td background="resources/bar-border-bottom.gif"><img src="resources/void.gif" width="1" height="12" vspace="0" hspace="0" border="0"/></td>
- <td width="9" height="12" valign="top" align="left"><img src="resources/bar-bottom-right.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td>
- </tr>
- </table>
- <table border="0" width="94%" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <font face="arial,helvetica,sanserif" color="#000000"><xsl:apply-templates/></font>
- </td>
- </tr>
- </table>
- </div>
- <br/>
+ <font color="#0086b2" size="+1" face="verdana, helvetica, sans serif">
+ <xsl:value-of select="@title"/>
+ </font>
+ <xsl:apply-templates/>
</xsl:template>
-
<xsl:template match="s4">
- <div align="right">
- <table border="0" width="92%" cellspacing="0" cellpadding="0">
- <tr>
- <td width="9" height="7" valign="bottom" align="right"><img src="resources/bar-top-left.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td>
- <td background="resources/bar-border-top.gif"><img src="resources/void.gif" width="1" height="5" vspace="0" hspace="0" border="0"/></td>
- <td width="9" height="7" valign="bottom" align="left"><img src="resources/bar-top-right.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td>
- </tr>
- <tr>
- <td width="9" background="resources/bar-border-left.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td>
- <td width="100%" bgcolor="#0086b2">
- <font size="-2" face="arial,helvetica,sanserif" color="#ffffff">
- <img src="resources/void.gif" width="5" height="5" vspace="0" hspace="0" border="0"/><b><xsl:value-of select="@title"/></b></font>
- </td>
- <td width="9" background="resources/bar-border-right.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td>
- </tr>
- <tr>
- <td width="9" height="12" valign="top" align="right"><img src="resources/bar-bottom-left.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td>
- <td background="resources/bar-border-bottom.gif"><img src="resources/void.gif" width="1" height="12" vspace="0" hspace="0" border="0"/></td>
- <td width="9" height="12" valign="top" align="left"><img src="resources/bar-bottom-right.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td>
- </tr>
- </table>
- <table border="0" width="92%" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <font face="arial,helvetica,sanserif" color="#000000"><xsl:apply-templates/></font>
- </td>
- </tr>
- </table>
- </div>
- <br/>
+ <font color="#0086b2" face="verdana, helvetica, sans serif">
+ <b><xsl:value-of select="@title"/></b>
+ </font>
+ <xsl:apply-templates/>
</xsl:template>
-
+
<!-- ====================================================================== -->
<!-- footer section -->
<!-- ====================================================================== -->
@@ -296,11 +226,10 @@
<!-- ====================================================================== -->
<!-- paragraph section -->
<!-- ====================================================================== -->
-
<xsl:template match="p">
- <p align="justify"><xsl:apply-templates/></p>
+ <p><font face="verdana, helvetica, sans serif" color="black">
+ <xsl:apply-templates/></font></p>
</xsl:template>
-
<xsl:template match="note">
<p>
<table width="100%" cellspacing="3" cellpadding="0" border="0">
@@ -309,7 +238,7 @@
<img src="resources/note.gif" width="28" height="29" vspace="0" hspace="0" border="0" alt="Note"/>
</td>
<td valign="top">
- <font size="-1" face="arial,helvetica,sanserif" color="#000000">
+ <font size="-1" face="verdana, helvetica, sans serif" color="#000000">
<i>
<xsl:apply-templates/>
</i>
@@ -319,7 +248,6 @@
</table>
</p>
</xsl:template>
-
<xsl:template match="source">
<div align="center">
<table cellspacing="4" cellpadding="0" border="0">
@@ -341,41 +269,48 @@
</table>
</div>
</xsl:template>
-
<xsl:template match="fixme">
- <!-- ignore on documentation -->
+ <!-- ignore on documentation -->
</xsl:template>
-
+
<!-- ====================================================================== -->
<!-- list section -->
<!-- ====================================================================== -->
- <xsl:template match="ul|ol|dl">
- <blockquote>
- <xsl:copy>
- <xsl:apply-templates/>
- </xsl:copy>
- </blockquote>
+ <xsl:template match="ul|ol">
+ <blockquote>
+ <xsl:copy>
+ <xsl:apply-templates/>
+ </xsl:copy>
+ </blockquote>
</xsl:template>
<xsl:template match="li">
- <xsl:copy>
- <xsl:apply-templates/>
- </xsl:copy>
+ <xsl:copy><font face="verdana, helvetica, sans serif">
+ <xsl:apply-templates/>
+ </font></xsl:copy>
+ </xsl:template>
+
+ <xsl:template match="dl">
+ <blockquote><font face="verdana, helvetica, sans serif">
+ <xsl:copy>
+ <xsl:apply-templates/>
+ </xsl:copy>
+ </font></blockquote>
</xsl:template>
<xsl:template match="sl">
- <ul>
- <xsl:apply-templates/>
- </ul>
+ <ul>
+ <xsl:apply-templates/>
+ </ul>
</xsl:template>
<xsl:template match="dt">
- <li>
- <strong><xsl:value-of select="."/></strong>
- <xsl:text> - </xsl:text>
- <xsl:apply-templates select="dd"/>
- </li>
+ <li>
+ <strong><xsl:value-of select="."/></strong>
+ <xsl:text> - </xsl:text>
+ <xsl:apply-templates select="dd"/>
+ </li>
</xsl:template>
<!-- ====================================================================== -->