RE: Question about full page tables

2004-11-23 Thread Pascal Sancho
Hi Jon

> -Message d'origine-
> De : Jon Steeves [mailto:[EMAIL PROTECTED] 
>   
> 
>   
> 
>
>  
> 
>  
Here you can use this enstead
 

> 
>
>  
> 
> 
And here you can use this enstead
 

> 
>
>   


>   
>   
> 


Your templates should be:
  
  ...


  
  ...




Hope this helps you

Pascal

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Question about full page tables

2004-11-23 Thread Jon Steeves
Thanks Andreas.  That worked perfectly.

I have one other problem.  The way make it so that the items print 3 across is 
by putting the following inside a "for" loop (the code has been stripped down 
to make it more legible):

  

  

   
 

 

   
 



   
  

I use "apply-templates" for the row X, col 1 item, but I have to use "value-of" 
on the second and third items in the row.

This is satisfactory for getting the text, but there are some formatting tags 
within the  tags which are implemented when I use "apply-templates" but 
which are ignored by "value-of". 

 What I would really like to use is something like:



but it doesn't work, because xslfo won't let me create a template of the form

  
  


as following-sibling:: is not allowed within "match"s attribute value.

Anybody have any ideas what I can do here.

Cheers

Jon


-Original Message-
From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED]
Sent: Monday, November 22, 2004 10:13 AM
To: [EMAIL PROTECTED]
Subject: RE: Question about full page tables


> -Original Message-
> From: Jon Steeves [mailto:[EMAIL PROTECTED]
> 
Hi,

>  
> The problem I'm having is each item has a different amount of 
> text so that some rows are thinner than others.  Can anyone help me?
>  

IIUC, the best way to solve this is by setting the row-height explicitly to the 
height necessary for the item with the largest content. If the row that 
contains the largest item is actually 20mm in height, set them all to 20mm, like


  ...
  

...

Use the 'display-align' property on the individual fo:table-cells to make sure 
the smaller items are neatly centered, if necessary.

Hope this helps!

Greetz,

Andreas


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Question about full page tables

2004-11-22 Thread Andreas L. Delmelle
> -Original Message-
> From: Jon Steeves [mailto:[EMAIL PROTECTED]
> 
Hi,

>  
> The problem I'm having is each item has a different amount of 
> text so that some rows are thinner than others.  Can anyone help me?
>  

IIUC, the best way to solve this is by setting the row-height explicitly to the 
height necessary for the item with the largest content. If the row that 
contains the largest item is actually 20mm in height, set them all to 20mm, like


  ...
  

...

Use the 'display-align' property on the individual fo:table-cells to make sure 
the smaller items are neatly centered, if necessary.

Hope this helps!

Greetz,

Andreas


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]