Salut Laurent,

On 1/27/07, Laurent Godard <[EMAIL PROTECTED]> wrote:
I did not have to time to announce nor put it in the wiki as it needed
some more cleaning, but it is workable. i'll try do to it asap

you may have a look at ooo2dbk that now supports opendocument
http://www.indesko.com/telechargements/ooo2dbk (french page)

Yup, I found this too. I reported a bug for debian:
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=408589

http://www.indesko.com/telechargements/ooo2dbk/downloadFile/attachedFile/ooo2dbk-2.1.0-1.tgz
the program itself is ok and the documentation remains out of date (not
speaking about ooo2)
i don't know if the debian packet are up to date

The metadatas are handled by user-defineid fields and it works with
bibliography, glossaries, preface and introduction. It is docbook 4.4
and generates book and articles

I also tried the newer version 2.1.0 and it gives me:

http://gdcm.sourceforge.net/wiki/index.php/Tools/ooo2dbk
-> Section: Issues
...
$ ooo2dbk -v 07_03pu.sxw
  1 - Command line options
      - OOo2DBK config file : /etc/ooo2dbk.xml
      - OpenOffice.org file : 07_03pu.sxw
      - DocBook file        : None
      - top element is      : book
      - process OLE objects : False
      - xslParams = ['topElementName', 'book']
      - param_syntax = --stringparam %s %s
      - XSLParams = --stringparam topElementName book
      ==> 0.01 sec.

  2 - Unzip and concat OpenOffice.org XML files
Traceback (most recent call last):
 File "/usr/share/ooo2dbk/ooo2dbk", line 870, in ?
   execArgs()
 File "/usr/share/ooo2dbk/ooo2dbk", line 193, in execArgs
   docbookXSL=None,
 File "/usr/share/ooo2dbk/ooo2dbk", line 825, in convert
   oooVersion = createGlobalXML(globalXML, ooo_file_path, verbose)
 File "/usr/share/ooo2dbk/ooo2dbk", line 677, in createGlobalXML
   contentListElts = listChildNodes(docOOoSXW, OOO_CONTENT_FILE_NAME,
ooo_file_path, verbose)
 File "/usr/share/ooo2dbk/ooo2dbk", line 527, in listChildNodes
   replaceImageNode(vChildNodes)
 File "/usr/share/ooo2dbk/ooo2dbk", line 580, in replaceImageNode
   replaceImageNode(wChilNodes)
 File "/usr/share/ooo2dbk/ooo2dbk", line 580, in replaceImageNode
   replaceImageNode(wChilNodes)
 File "/usr/share/ooo2dbk/ooo2dbk", line 580, in replaceImageNode
   replaceImageNode(wChilNodes)
 File "/usr/share/ooo2dbk/ooo2dbk", line 546, in replaceImageNode
   hRefValue = node.attributes['xlink:href'].value
 File "xml/dom/minidom.py", line 529, in __getitem__
KeyError: 'xlink:href'
...

This is pretty much the same problem. I have absolutely no idea what is wrong.

Thanks for suggestion
Mathieu (un seul 't' stp ;))

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

Reply via email to