You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by ab...@locus.apache.org on 2000/07/14 20:30:17 UTC
cvs commit: xml-stylebook/styles/ibm-style/stylesheets document2html.xsl
abagchi 00/07/14 11:30:17
Modified: styles/ibm-style/stylesheets document2html.xsl
Log:
Fixed encoding
Revision Changes Path
1.3 +4 -4 xml-stylebook/styles/ibm-style/stylesheets/document2html.xsl
Index: document2html.xsl
===================================================================
RCS file: /home/cvs/xml-stylebook/styles/ibm-style/stylesheets/document2html.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- document2html.xsl 2000/06/23 21:24:20 1.2
+++ document2html.xsl 2000/07/14 18:30:17 1.3
@@ -295,8 +295,8 @@
</table>
</xsl:template>
- <xsl:template match="tr">
- <tr><xsl:apply-templates/></tr>
+ <xsl:template match="tr">
+ <tr><xsl:apply-templates/></tr>
</xsl:template>
<xsl:template match="th">
@@ -308,7 +308,7 @@
</xsl:template>
<xsl:template match="td">
- <td bgcolor="#ccccff" colspan="{@colspan}" rowspan="{@rowspan}" valign="top" align="left">
+ <td bgcolor="#ccccff" colspan="{@colspan}" rowspan="{@rowspan}" valign="top" align="{@align}">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
<xsl:apply-templates/> 
</font>
@@ -372,7 +372,7 @@
</xsl:template>
<xsl:template match="img">
- <img src="images/{@src}" border="0" vspace="4" hspace="4" align="right"/>
+ <img src="images/{@src}" alt="{@alt}" align="{@align}" border="0" vspace="4" hspace="4" />
</xsl:template>
<!-- ###################################################################### -->