I'm afraid those XSLs only work with the OO 1.x (.sxw) format. A lot of modifcations need to be done (namespaces, lists, etc) in order to get them working with the Opendocument format. Now how does OO 2 saves into HTML then ? >From the project homepage ( http://xml.openoffice.org/sx2ml/ ):
"The filter will NOT work stand-alone with the new default OpenDocument format, but are still working in OpenOffice.org 2.x as the Office offers the functionality to map internally from OpenDocument to the earlier XML format for XSLT filters" So currently, as far as I know of, there are no complete XSL's available for the OO 2 format. The XSLs of David Eisenberg already do a nice job, you can extend them with the features you need by looking at the OO XSLs Dominique On 22/02/06, max berger <[EMAIL PROTECTED]> wrote: > Hi again... > > > > 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. > > Thanks for the information. I will have a look at the Ruby code. Maybe I > will be able to translate some of it into java. > > > What I still don“t really understand is how the xml-files in an > opendocument-file work together. > How does OpenOffice use the export-filter? For example the > xhtml-export-filter: Can I use the .../share/xslt/export/xhtmlooo2xhtml.xsl > manualy with an odt-document? I would like to simply unzip the file and do a > transformation into xhtml. > I already tried to use the xsl-exportfilter from OOo together with the > content.xml but I do not get any results... > > When I use the xsl-file by J David Eisenberg together with the content.xml I > at least get the content written into html. > > Does somebody know where I can find information on how openoffice does the > export into xhtml? Which of the xml-files included in an odt-file > is the entry or how does the programm use the diffrent xml-files? > > Thx in advance... > > maxwell > > -- > Telefonieren Sie schon oder sparen Sie noch? > NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
