Paloma Gomez wrote:

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

the file of J. David Eisenberg (odt_to_xhtml.xsl) needs to be slightly modified,
which means something like

<div id="body"> needs to be added. Please compare with the one of Lenya:

src/modules/opendocument/xslt/opendocument2xhtml.xsl

because Lenya is using the <div id="body" as a hook ...

Unfortunately the opendocument module currently seems to be broken,
otherwise I would like to give it a try myself.

Btw, you don't need to re-build the application, but just copy/overwrite the XSLT
within your builded version (e.g. within Tomcat)

HTH

Michi

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?

Thanks,

Paloma
--
Paloma Gomez
University of Seville

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




--
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]
+41 44 272 91 61


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

Reply via email to