forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <>
Subject Re: Cleaning up html-processing
Date Tue, 04 Oct 2005 06:32:23 GMT
David Crossley wrote:
> Kevin wrote:
>>Ferdinand Soethe wrote: 
>>>But using these new transformation it becomes obvious that it is no
>>>longer a css-Effekt. If you make Forrest transform an html-file
>>>with something like
>>><table class="foo">
>>>The resulting Forrest page will have
>>><table class="foo"  border="1">
>>I can't reproduce the border="1" problem. I tried a basic test.
>><table><tr><td>Forrest Table</td></tr></table>
>><table class="foo" cellpadding="5"><tr><td>Foo Table</td></tr></table>
>>Generated Forrest page had no borders on either table
>>and no expected ForrestTable class on <table> with no class.
>>Going back to document2html.xsl before update:
>>  <xsl:template match="table">
>>    <xsl:apply-templates select="@id"/>
>>    <table cellpadding="4" cellspacing="1" class="ForrestTable">
>>      <xsl:copy-of select="@cellspacing | @cellpadding | @border |
>>@class | @bgcolor"/>
>>      <xsl:apply-templates/>
>>    </table>
>>  </xsl:template>
>>If @class and other attributes are set then don't they copy over
>>class="ForrestTable" cellpadding="4" cellspacing="1" so only getting
>>defaults when not set. So works as expected.
>>Sorry can't help on the border="1" it must be comming into this xsl.
>>>and my problem is that I have not found out where this is coming from.
>>>Any ideas?
> I had to contruct a hefty find|grep|grep to exclude other mentions
> of border stuff, so might have excluded some other relevant things.
> Other than some CSS which sets border=1px, i cannot find anything
> other than one mention in skins/tigris/xslt/html/document2html.xsl
> and a commented-out section in main/webapp/resources/stylesheets/page2html.xsl

I also was unable to find a border="1" sing search tools. Perhaps we can 
work with Ferdinand to solve this on todays Forest Tuesday.


View raw message