[css2xslfo-support] newbies convert xhtml to xslfo
Brought to you by:
wdonne
From: Hoang-Vu P. <hvu...@ya...> - 2007-11-01 22:00:56
|
Hi all,=0A=0AI'm evaluating the solution css2xslfo. I wrote one very simple= test but it produced only empty file. Any idea ?=0AThe snip code is :=0A = File infile =3D new File("input.xhtml");=0A File outfile =3D n= ew File("output.fo");=0A FileInputStream instream =3D new FileInputS= tream (infile);=0A FileOutputStream outstream =3D new FileOutputStre= am (outfile);=0A CSSToXSLFO.convert(instream, outstream);=0A=0Awhere= input.xhtml is something like:=0A<?xml version=3D"1.0"?>=0A<html>=0A <hea= d>=0A <title>=0A </title>=0A </head>=0A <body>=0A <table>=0A = <tr>=0A <th>A</th>=0A <th>B</th>=0A </tr>=0A <tr>= =0A <td>c1</td>=0A <td>c2</td>=0A </tr>=0A </table>= =0A </body>=0A</html>=0A=0AThanks for your help !=0AHoang-Vu=0A=0A=0A=0A= =0A=0A _______________________________________________________________= ______________ =0ANe gardez plus qu'une seule adresse mail ! Copiez vos mai= ls vers Yahoo! Mail |