Hi Theresa,
in addition to what Andreas said, if you have a single cell, you can
replace the table structure with a fo:block-container, you will save 3
FO elements and make the code precessing lighter.

Le 20/06/2011 19:41, Andreas L. Delmelle a écrit :
> On 20 Jun 2011, at 18:07, Theresa Jayne Forster wrote:
> 
> Hi Theresa
> 
>> I am trying to do a document with a box near the bottom which is bottom 
>> aligned.
>>  
>> I have tried everything but as soon as I put the apply-templates inside the 
>> table the text vanished, what am I doing wrong and how can I get it working.
> 
> In the future, can you please post the generated FO markup? That helps us 
> identify, reproduce and understand the issue better. Right now, based only on 
> the XSLT code, we have to infer/imagine which attributes are included in the 
> 'smallprint' set. Not that they are necessarily relevant here, but still...
> 
> Suppose, for example, that the attribute-set 'smallprint' contains a relative 
> font-size of "0.6em".
> Assuming that this attribute-set is also used in the matching template for 
> Smallprint nodes, then if you start off with a font-size of 10pt, in the 
> outer block-container it will be 6pt, and by the time the text is actually 
> reached, that may have shrunk to well below 2pt, which would make the text 
> near invisible at normal zoom.
> 
>>From the command-line, you can easily obtain the FO that FOP would get, by 
>>means of the '-foout' switch.
> 
> This just as some advice that will yield quicker and more to-the-point 
> responses.
> 
>> (basically I am looking for similar to the html4.0 loose transitional
>>  
>> <table><tr valign=”bottom”><td></td></tr></table>
> 
>>From what I can tell, the code you have should work fine for the most part 
>>(in FOP 1.0), assuming that there is nothing too exotic in that 'smallprint' 
>>attribute set or the other content (which we cannot see in your XSL code).
> The only thing that does not work, AFAIK, is a forced "height" on fo:table.
> To work around the latter, you can force the table to grow to the desired 
> size by wrapping the cell content in a fo:block-container with explicit 
> height.
> 
> 
> HTH!
> 
> Regards,
> 
> Andreas

-- 
Pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to