vgritsenko    01/07/28 14:52:27

  Modified:    webapp/stylesheets/documents root2html.xsl
  Log:
  Style <table>
  
  Revision  Changes    Path
  1.9       +14 -0     xml-cocoon2/webapp/stylesheets/documents/root2html.xsl
  
  Index: root2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/stylesheets/documents/root2html.xsl,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- root2html.xsl     2001/07/27 18:15:58     1.8
  +++ root2html.xsl     2001/07/28 21:52:27     1.9
  @@ -123,4 +123,18 @@
     <a name="{@id}"><xsl:comment>anchor</xsl:comment></a>
   </xsl:template>  
   
  +<xsl:template match="tr[position() mod 2 = 0]">
  +  <tr bgcolor="#B8EEFF">
  +    <xsl:copy-of select="@*"/>
  +    <xsl:apply-templates/>
  +  </tr>
  +</xsl:template>  
  +
  +<xsl:template match="th">
  +  <th bgcolor="#0086B2">
  +    <xsl:copy-of select="@*"/>
  +    <font color="#FFFFFF"><xsl:apply-templates/></font>
  +  </th>
  +</xsl:template>  
  +
   </xsl:stylesheet>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to