I've got a couple of xslt transforms producing gtroff source, and I'd like
to use them for producing ps/pdf with axkit.
My style sheet says,
<xsl:output
method="text"
media-type="application/x-troff-ms"
indent = "no"
encoding="ISO-8859-1"
/>
so LibXSLT should know what's going on. The log says it does:
[Fri Nov 1 21:47:58 2002] [warn] [client 192.168.2.1] [AxKit] Cache: \
setting content-type: application/x-troff-ms; charset=ISO-8859-1
Now, my httpd.conf says (among other things):
....
AxAddStyleMap application/x-troff-ms Apache::AxKit::Language::TroffMs
....
<AxStyleName ps>
AxAddRootProcessor text/xsl \
/SigfridLundberg/xml-style-library/tei_to_roff.xsl TEI.2
AxAddProcessor application/x-troff-ms NULL
</AxStyleName>
I wrote the TroffMs.pm myself, copying the general setup from
PassiveTex.pm and HtmlDoc.pm.
But AxKit doesn't even care about my programming. It contentedly clames
that it is ready:
Fri Nov 1 21:47:58 2002] [warn] [client 192.168.2.1] [AxKit] [LibXSLT] \
performing transformation
[Fri Nov 1 21:47:58 2002] [warn] [client 192.168.2.1] [AxKit] execution \
of: Apache::AxKit::Language::LibXSLT::handler finished
Having succeeded with the transformation it says, not without proud it
seems:
[Fri Nov 1 21:47:58 2002] [warn] [client 192.168.2.1] [AxKit] Cache: \
setting content-type: application/x-troff-ms; charset=ISO-8859-1
[Fri Nov 1 21:47:58 2002] [warn] [client 192.168.2.1] [AxKit] Cache: \
Sending untransformed content to browser
And yes, I get something from the server. The troff source ;/ Otherwise
the installation works well with three XML different XML dtds (TEI.2
DocBook and Master).
Why on earth doesn't Apache even complain that it cannot find my module,
or that it is buggy?
You find my entire axkit.conf file below.
Thanks in advance!
Sigge
------------------------------------------------------
PerlModule AxKit
Alias /SigfridLundberg/ /home/siglun/WWW/
<Directory /home/siglun/WWW/>
AllowOverride All
<Limit GET POST OPTIONS PROPFIND>
Options MultiViews Indexes SymLinksIfOwnerMatch Includes ExecCGI
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
SetHandler perl-script
PerlHandler AxKit
AxCacheDir /home/apache/axkit-cache
AxNoCache off
AxLogDeclines On
AxStackTrace On
AxDebugLevel 10
AxAddPlugin Apache::AxKit::StyleChooser::QueryString
AxAddPlugin Apache::AxKit::Plugin::Passthru
AxAddStyleMap application/x-xpathscript \
Apache::AxKit::Language::XPathScript
AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
AxAddStyleMap application/x-troff-ms Apache::AxKit::Language::TroffMs
<AxStyleName '#default'>
AxAddRootProcessor application/x-xpathscript \
/SigfridLundberg/xml-style-library/docbook_screen.xps article
AxAddRootProcessor text/xsl \
/SigfridLundberg/xml-style-library/tei.xsl TEI.2
</AxStyleName>
<AxStyleName print>
AxAddRootProcessor application/x-xpathscript \
/SigfridLundberg/xml-style-library/docbook_print.xps article
AxAddRootProcessor text/xsl \
/SigfridLundberg/xml-style-library/tei.xsl TEI.2
</AxStyleName>
<AxStyleName ps>
AxAddRootProcessor text/xsl \
/SigfridLundberg/xml-style-library/tei_to_roff.xsl TEI.2
AxAddProcessor application/x-troff-ms NULL
</AxStyleName>
</Directory>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]