vgritsenko    01/07/28 14:53:23

  Modified:    webapp/stylesheets/documents Tag: cocoon_20_branch
                        root2html.xsl
  Log:
  Style table
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.8   +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.1.2.7
  retrieving revision 1.1.2.8
  diff -u -r1.1.2.7 -r1.1.2.8
  --- root2html.xsl     2001/07/27 18:18:32     1.1.2.7
  +++ root2html.xsl     2001/07/28 21:53:23     1.1.2.8
  @@ -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