[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Help getting started with XSL PDF generation


Subject: Re: [xsl] Help getting started with XSL PDF generation
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 21 Oct 2005 09:03:14 +0100

>>>>> "Jonas" == Jonas Lundberg <my.name.is.hans@xxxxxxxxx> writes:

    Jonas> But you are also right, if you set the content type to
    Jonas> text/pdf, then you could instruct the browser to launch a
    Jonas> rendering engine plugin

If real pdf arrives at the browser, then xsl-fo rendering engine would
be invoked and complain that is wasn't seeing xml.

So you woould actually need to instruct the broweser to launch a
plugin that examined the first few bytes of content, to determine if
it was seeing xsl-fo or pdf, and routing the content stream to the
appropriate program.

Better would be to set the content type to a content type specific to xsl-fo.
-- 
Colin Adams
Preston Lancashire


Current Thread