From:
Jörg Walter <ehrlich [at] ich.bin.kein.hoschi.de>
Date:
Mon, 4 Nov 2002 12:53:05 +0100
To:
axkit-users [at] axkit.org
Subject:
Re: XML transformation to PDF
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
XML transformation to PDF - Pierre Leblanc on 31 Oct 2002 18:15:07 -0000
Re: XML transformation to PDF - Matt Sergeant on 1 Nov 2002 10:11:09 -0000
Re: XML transformation to PDF - Sebastian Rahtz on 1 Nov 2002 10:23:19 -0000
Re: XML transformation to PDF - Chris Wenham on 31 Oct 2002 22:10:09 -0000
Re: XML transformation to PDF - J[246]rg Walter on 4 Nov 2002 11:53:37 -0000
Re: XML transformation to PDF - Pierre Leblanc on 5 Nov 2002 14:28:01 -0000
Back up to archives |
These pages are copyright © 2002 Apache Software Foundation


Index