Dear all, shame on me - my test document was far too easy, and Hussein is (as always) right about Libre/OpenOffice' poor performance.
The documents I used to deal with were always very easy (quite flat structured, no tables etc.) - hence my optimistic opinion. I'm sorry if I contributed to the confusion ;-( On Friday, November 18, 2011 11:01 AM, "Hussein Shafie" <[email protected]> wrote: > On 11/17/2011 09:15 PM, klaus e. werner wrote: > > > > I have made good experiences with LibreOffice (ex OpenOffice). Just open > > it from LibreOffice Writer, and save it as "docbook *.xml". > > > > The structure might not come out very well at the first try, but slight > > changes (Heading -> Header 1, Header 1 -> Header 2) do wonders. > > > > Then updating to DocBook 5 with XXE, maybe some simple XSLT stylesheet > > and you're done. > > > > I'd say: make a test and have a look at the outcome. > > > > p.s. You don't need any special setup to do this, just a normal > > LibreOffice install is enough. > > > > Thank you for this information. Because we are *very* *interested* in > this feature, we immediately put what you have suggested into test. > > For that, we used a *simple* .doc file containings headings, nested > lists, tables, figures, etc, styled exclusively using normal styles. > > See attached files: simple.doc, the input file and simple_from_doc.xml > the DocBook file generated by LibreOffice 3.3.1. > > Then we did the same test with an equivalent .docx file with no better > results. > > Our conclusions are: > > LibreOffice does a poor job at opening .doc and .docx file. In > consequence, it does a poor job at saving these files as DocBook XML. > > > Email had 2 attachments: > + simple.doc > 1.2M (application/msword) > + simple_from_doc.xml > 9k (text/xml) -- klaus e. werner [email protected] -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

