Re: [css2xslfo-support] newbies convert xhtml to xslfo
Brought to you by:
wdonne
From: <wer...@re...> - 2007-11-01 22:21:35
|
Hi Hoang-Vu, You should declare the XHTML namespace on the html element. It is "http://www.w3.org/1999/xhtml". Best regards, Werner. Hoang-Vu PHUNG wrote: > Hi all, > > I'm evaluating the solution css2xslfo. I wrote one very simple test but it produced only empty file. Any idea ? > The snip code is : > File infile = new File("input.xhtml"); > File outfile = new File("output.fo"); > FileInputStream instream = new FileInputStream (infile); > FileOutputStream outstream = new FileOutputStream (outfile); > CSSToXSLFO.convert(instream, outstream); > > where input.xhtml is something like: > <?xml version="1.0"?> > <html> > <head> > <title> > </title> > </head> > <body> > <table> > <tr> > <th>A</th> > <th>B</th> > </tr> > <tr> > <td>c1</td> > <td>c2</td> > </tr> > </table> > </body> > </html> > > Thanks for your help ! > Hoang-Vu > > > > > > _____________________________________________________________________________ > Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > css2xslfo-support mailing list > css...@li... > https://lists.sourceforge.net/lists/listinfo/css2xslfo-support > -- Werner Donné -- Re http://www.pincette.biz Engelbeekstraat 8 http://www.re.be BE-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |