On Mon, 20 Feb 2006, max berger wrote:

> Hi,
> 
> thx for your replay.
> 
> > 2) you parse the xml content (each xml file in the odt-zip archiv) 
> > directly in java (with sax, dom, jdom, ...) an make the translation 
> > directly in java.
> has anybody done such a translation yet? I am not an expert in java and I
> hardly managed it to transform the content.xml into html. For this I used
> the example of J David Eisenberg. Unfortunately I do not get the images
> integrated into the html document... Also it would be good to get the
> informations from the meta.xml into the html document too...

The XSLT doesn't include images, but the Ruby code that I wrote will 
create images for you.  It's at 
http://books.evc-cit.info/odf_utils/ruby_to_xhtml.html

I'm not sure how difficult it would be to translate that into Java.

> 
> Does anyone know about a java-project where they are working on the
> transformation of an odt to html?
> 
> > 3) you use the UNO-API and parse the the document and transform it. see 
> > the uno-example in the developerguide.
> It works fine with the UNO-API but I don“t want to it because I do not want
> to have OpenOffice installed...
> 
> Thx again
> 
> maxwell
> 
> 

-- 
J. David Eisenberg  http://catcode.com/

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

Reply via email to