> -----Original Message-----
> From: Chris Bowditch [mailto:[EMAIL PROTECTED]
> Sent: 12 July 2004 15:56
> To: [EMAIL PROTECTED]
> Subject: Re: HTML Renderer
> 
> Helg Bredow wrote:
> 
> > Does anyone know if there is an HTML renderer available for FOP? We
want
> > to use FOP as file type independent output tool and want users to
just
> > be able to select a "layout" (i.e. XSLT file) and then a renderer. I
> > know you can just write a transformation from XML to HTML directly
but
> > going via XSL:FO means that we only need one transform to support
> > multiple output formats.
> 
> There is no HTML Renderer in FOP. As you have pointed out, you can
simply
> generate HTML directly from XSLT. Generating HTML from XSL-FO would be
> inefficient as there are two processing steps instead of one. Also
XSL-FO
> formatting is complex and therefore takes a relatively long time,
compared
> with an XSL transform.
> 
> If you are worried about having to write a XSL stylesheet for HTML,
dont
> be,
> plently of people have already written one. Just search Google for
one.
> 
> Chris
> 

Thanks for the quick reply Chris. I have written transforms from XML to
HTML in the past so it's not the writing that is the problem. Rather
it's the duplication of effort in writing one stylesheet for HTML output
and another for PDF output. The idea is to present a list of XSL
stylesheets to the user, they select one and then select their preferred
output format. Inefficiency here is not necessary a factor for us at the
moment but a more generic solution would be preferred. Currently,
without a HTML renderer, we can use the same stylesheet to output PDF,
PCL, RTF etc. but have to write a separate stylesheet to output HTML.

I might have a look at how hard it is to write a renderer for FOP and
see if it's worth implementing one myself.

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

Reply via email to