Hi all,

First, I'd like to thank you all for your help. :-)

I've tried a mix of Michi's and Thorsten's suggestions:

Thorsten Scherler wrote:
>Hmm, I just did a change in the menus.xmap, can you try again after svn
>up on 1.4?

Michael Werner wrote:
>try to use
>
>http://svn.wyona.com/repos/public/lenya/modules/opendocument/xslt
>
>anonymous:anonymous
>
>which is a slightly modified version of J. David Eisenberg's XSLT

 I've downloaded the xslt file from the link provided by Michi and
I've run svn update as Thorsten said. The problem is that after
updating the opendocument module doesn't work any more: I can't upload
odt files. When I fill in the form and click on the untranslated
button, the form clears and nothing else happens. The file is not
uploaded.

As Michi said the module is currently broken, I guess that's why it's
not working. If this is so, I think I'll wait for the opendocument
module to be fixed before I try it again. Anyway, I'd like to know if
copying this xslt file to
<my-pub>/lenya/modules/opendocument/xslt
should be enough.

In case this helps, I include the first 20 lines (*after* the
namespace declarations :) ) of the xslt file provided by Michi:

[quote]
<xsl:output
        method="xml"
        indent="yes"
        omit-xml-declaration="yes"
        doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
        doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";
        encoding="UTF-8"
/>
<xsl:variable name="lineBreak"><xsl:text>
</xsl:text></xsl:variable>

<xsl:key name="listTypes" match="text:list-style" use="@style:name"/>

<xsl:template match="/office:document-content">

<div id="body">
<xsl:apply-templates select="office:body/office:text"/>
</div>

</xsl:template>

<xsl:template match="office:automatic-styles">
        <style type="text/css">
        <xsl:apply-templates/>
        </style>
</xsl:template>
[/quote]

Regards,

Paloma

PS: Thorsten: Soy del sevilla. ;-)

--
Paloma Gomez
University of Seville

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

Reply via email to