Christian Neuroth wrote: > As I am a newbie to FOP, I am not sure whether my post makes sense or not. > > I really enjoy working with FOP: I use one XSL-FO sheet to generate plain > text, > PDF and even SVG documents. The resulting docs have the same layout. Since > the layout is very complex, we require that the layout is > configured in only > one > XSL-FO stylesheet. > > The only thing that I am missing, is a render class for HTML as > we are also > in need of a HTML doc. Does anyone have a solution for this?
HTML is fundamentally different from FOP's other output formats, most of which are paginated -- HTML is not. FOP does support MIF & RTF output (neither of these renderers is robust right now), both of which are structural, like HTML, but there is a big difference -- both are much more complex than HTML, and it makes some sense to hide that complexity from users. One could write an HTML renderer for FOP, but the results would probably not be satisfactory. It really makes more sense to use a separate transformation to convert your XML directly to HTML. This will, I think, give you an order of magnitude more flexibility than anything you could get by passing the whole thing through FOP. I think you could structure your stylesheets to share the things that need to be common between them. Victor Mote --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]