Hi,

Which converter prog did you used?

I am programming html2fo and it converts colspanned cells into the
corresponing widths within fo:table-column.

You could get it from:
http://sourceforge.net/projects/html2fo

the currently available version is 0.4.1 but I will try to release a new
version this week. Via CVS is a more recent version available.

Regards

Enrico

> Hi,
> 
> I have been trying to convert html code to xsl:fo with a converter
> program.
> In html there are statements like -
> <tr>
>       <td width="20%" colspan="3" class="qdtnl" height="18">Customer</td>
>       <td width="30%" colspan="3" class="qdtnd" height="18">:
> [~Customer~]</td>
>       <td width="25%" class="qdtnl" height="18">xyz</td>
>       <td width="25%" class="qdtndlc" height="18">: [~abc~] </td>
>     </tr>
> I know I need to explicitely specify column widths in fo , like-
> 
> <fo:table>
>  <fo:table-column column-width="2in"/>
>  <fo:table-column column-width="3in"/> before the fo:table-body.
> I have some thoughts like..
>                                                                           
>  
>  first- to see how many ' <td ..> </td> statements exist between its '<tr>
>  
>  </tr>' in the html source code and then in fo code to create as many
> lines 
>  of  '<fo:table-column column-width="(20/100 * 8)in"/>'  before  the      
>  
>  '<fo:table-body>'.                 ( Here- 20% in html code is being     
>  
>  converted to inches in fo.)                                              
>  
>  next- to change 'colspan=2' etc. in the html source code to '            
>  
>  number-columns-spanned="2" ' with in a  fo:table-cell                    
>  
>                                                                           
>  
>  Is this a good approach? or   if anybody has better sugestions please let
>  
>  me know..                                                                
>  
>                                                                           
>  
>  Further I don't have any idea to handle  attributes like class in the <td
>  
>  .. > of source code for conversion into fo code.                         
>  
>  If you dealt this issue already pl. let me know                          
>  
>  thanks                                                                   
>  
>  Durga                                                                    
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


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

Reply via email to