Filippo Bardelli wrote:
I've tried to use the plugin to view OpenOffice documents but with poor
results.


So I ask help.

With AkKit i can see perfectly an xml, configuring Apache as suggesting
in the howtos:
both with 'Apache::AxKit::Language::XPathScript' and with
'Apache::AxKit::Language::Sablot'

I've installed the module: Apache-AxKit-Provider-OpenOffice-1.02.tar.gz

from cpan: install Apache::AxKit::Plugin::OpenOffice
and done the rest indicated in the document : AxKit OpenOffice.org File Format Provider User's Guide



<Files *.sxw> # configure AxKit to process .sxw files. AddHandler axkit .sxw

  # add the Plugin module.
  AxAddPlugin Apache::AxKit::Plugin::OpenOffice

  # set AxKit to use the OpenOffice Extension as its
  # Content Provider.
  AxContentProvider Apache::AxKit::Provider::OpenOffice

  # transform the extracted XML content using the
  # oo2html.xsl stylesheet.
  AxAddProcessor text/xsl /stylesheets/oo2html.xsl
</Files>


When i try to open with mozilla a test file (test.sxw), i get this
message


This XML file does not appear to have any style information associated
with it. The document tree is shown below.

and is show the content.xml file with all the tags.

It seems that the stylesheet is not found but if i open it with mozilla
(http://myhost/stylesheets/oo2html.xls) everything seems ok.


any help ?

Hmmm, your config looks okay... try adding the following 2 lines to your .conf file:


AxDebugLevel 10
AxLogDeclines On

stop and restart Apache, then request the document-- see if anything informative appears in your host's error log.

Cheers,
-kip

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



Reply via email to