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>

See http://axkit.org/wiki/view/AxKit/ Apache%3A%3AAxKit%3A%3ALanguage%3A%3AHtmlDoc for more details.


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



Reply via email to