On Friday 01 November 2002 11:10, Matt Sergeant wrote:
> On Thursday, Oct 31, 2002, at 18:14 Europe/London, Pierre Leblanc wrote:
> > Hi,
> >
> > I'm currently working on a very big Web site all made of XML
> > documents. Those
> > XML documents are transformed in HTML using XSL stylesheets. I have
> > also
> > implemented two versions of each stylesheets, one to transform the
> > document
> > into HTML4 using CSS and one to transform into HTML3 for older
> > browsers.
> > According to the user agent, the appropriate stylesheet is automaticly
> > selected.
> >
> > Now I need to transform those XML documents in PDF.
>
> Sounds like you really want the HTMLDoc language module. Try something
> like this configuration:
>
> AxAddPlugin Apache::AxKit::StyleChooser::QueryString
> AxAddStyleMap text/xhtml Apache::AxKit::Language::HtmlDoc
>
> <AxStyleName "#default">
>   # Current XSLT configuration
> </AxStyleName>
> <AxStyleName "pdf">
>   # Duplicate current XSLT configuration, then add:
>   AxAddProcessor text/xhtml NULL
> </AxStyleName>

But make sure you use the non-CSS version of your stylesheet stack, since 
HTMLDoc is not yet able to process CSS. Officially, only HTML 3.2 is 
supported as well, but I never encountered problems with common HTML 4.

-- 
CU
  Joerg

PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc
PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E  7779 CDDC 41A4 4C48 6F94


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

Reply via email to