forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject cvs commit: xml-forrest/src/resources/skins/bert/xslt/html document2html.xsl
Date Mon, 29 Jul 2002 14:37:31 GMT
bert        2002/07/29 07:37:30

  Modified:    src/resources/skins/bert/xslt/html document2html.xsl
  Log:
  Make table tag more flexible and replace table class style with ForresTable class for preparation
of DTD docs styling.
  Default html tags are not overrideable in CSS.
  
  Revision  Changes    Path
  1.9       +6 -1      xml-forrest/src/resources/skins/bert/xslt/html/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/bert/xslt/html/document2html.xsl,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- document2html.xsl	29 Jul 2002 11:59:06 -0000	1.8
  +++ document2html.xsl	29 Jul 2002 14:37:30 -0000	1.9
  @@ -159,7 +159,12 @@
       </div>
     </xsl:template>
     <xsl:template match="table">
  -    <table class="table" cellpadding="4" cellspacing="1">
  +    <table cellpadding="4" cellspacing="1" class="ForrestTable">
  +      <xsl:if test="@cellspacing"><xsl:attribute name="cellspacing"><xsl:value-of
select="@cellspacing"/></xsl:attribute></xsl:if>
  +      <xsl:if test="@cellpadding"><xsl:attribute name="cellpadding"><xsl:value-of
select="@cellpadding"/></xsl:attribute></xsl:if>
  +      <xsl:if test="@border"><xsl:attribute name="border"><xsl:value-of
select="@border"/></xsl:attribute></xsl:if>
  +      <xsl:if test="@class"><xsl:attribute name="class"><xsl:value-of select="@class"/></xsl:attribute></xsl:if>
  +      <xsl:if test="@bgcolor"><xsl:attribute name="bgcolor"><xsl:value-of
select="@bgcolor"/></xsl:attribute></xsl:if>
         <xsl:apply-templates/>
       </table>
     </xsl:template>
  
  
  

Mime
View raw message