forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r293531 - /forrest/trunk/main/webapp/skins/common/xslt/html/document2html.xsl
Date Tue, 04 Oct 2005 05:21:44 GMT
Author: crossley
Date: Mon Oct  3 22:21:36 2005
New Revision: 293531

URL: http://svn.apache.org/viewcvs?rev=293531&view=rev
Log:
Propoer test for missing or empty table/@class attribute.

Modified:
    forrest/trunk/main/webapp/skins/common/xslt/html/document2html.xsl

Modified: forrest/trunk/main/webapp/skins/common/xslt/html/document2html.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/skins/common/xslt/html/document2html.xsl?rev=293531&r1=293530&r2=293531&view=diff
==============================================================================
--- forrest/trunk/main/webapp/skins/common/xslt/html/document2html.xsl (original)
+++ forrest/trunk/main/webapp/skins/common/xslt/html/document2html.xsl Mon Oct  3 22:21:36
2005
@@ -247,8 +247,8 @@
   <xsl:template match="table">
     <xsl:apply-templates select="@id"/>
     <xsl:choose>
-      <!-- Limit Forrest specific processing  to tables without class -->
-      <xsl:when test="@class = ''">
+      <!-- Limit Forrest specific processing to tables without class -->
+      <xsl:when test="not(@class) or @class=''">
         <table cellpadding="4" cellspacing="1" class="ForrestTable">
           <xsl:copy-of select="@cellspacing | @cellpadding | @border | @class | @bgcolor
|@id"/>
           <xsl:apply-templates/>



Mime
View raw message