El mar, 21-03-2006 a las 18:26 +0100, Paloma Gomez escribió:
> Hi all,
>
> I've tried out the odt module and have noticed that it doesn't support
> any formatting. I've read in the dev mailing list how to fix it:
>
> >The XSLT applied to the ODT XML is only rudimentary. There do
> > exists better versions, but they are
> > GPL and cannot be re-distributed. But see the links on the sample ;-)
>
> I've downloaded a xslt from the link
>
> ODT 2 XHTML by J. David Eisenberg
>
> but I can't get it working. I've replaced the opendocument2xhtml.xsl
> in $TOMCAT_HOME/webapps/lenya/lenya/modules/opendocument/xslt with the
> one from the link and then I've run sh build.sh install-pub
> -Dpub.prefix="". This has resulted in a blank page when I access the
> document through lenya, so I guess that replacing the xslt file is not
> enough. I've downloaded a file called ODTransform.jar along with the
> xslt file. Should I copy this file as well somewhere in my deployment?
>
Hmm, if you place it to
{yourPub}/lenya/modules/opendocument/xslt/opendocument2xhtml.xsl and do
./build.sh clean
./build.sh
./lenya.sh
It should be triggered.
Blank page sounds a lot like not matching something. ;)
Can we see the first 10-20 lines of the stylesheet you are using?
> Thanks,
>
> Paloma
> --
> Paloma Gomez
> University of Seville
:)
Vivo tambien en sevilla. ;)
salu2
--
Thorsten Scherler
COO Spain
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]