docbook-apps

  • 1.  DocBook up conversion

    Posted 04-12-2012 14:54
    Hi!

    This is my first letter here.
    I'd like to convert a DocBook 4.1.2 XML document to DocBook 4.4.
    I haven't found any information regarding this, however I asked google too.
    Maybe I was searching the wrong keywords.

    My original problem is to convert MS-DOC or MS-DOCX files to DocBook 4.4.
    The examples I found on google does not worked. (xsltproc ended up in
    error, I think docbook roundtrip step one results are useless)
    http://www.oxygenxml.com/forum/topic6445.html
    http://www.explain.com.au/oss/docbook/

    Now I opened the docx files in LibreOffice and saved them in DocBook (which
    resulted DocBook v4.1.2).
    Then, I was able to open it in Syntext Serna and forcing the DocBook v4.2
    template on this document.
    Now I standing here, I have a v4.2 document which I'd like to convert to
    v4.4.

    I am interested in any solution.
    Thanx in adnvance!

    Jazoja



  • 2.  Re: [docbook-apps] DocBook up conversion

    Posted 04-12-2012 15:08
    Hey Zoltán!

    If I got your idea right, then changing the starting tag of your xml would
    fix this.

    <book lang="hu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://docbook.org/xsd/4.4/docbook.xsd">

    to this.

    LibreOffice gives a verry messed up xml output after converting your ms-doc
    to xml, so you should fix it manual. There is no tool for this.

    I hope this might help with your issue. If not, feel free to contact me by
    email.

    PS: I'm hungarian.

    Cheers,
    Roland

    2012. április 12. 16:54 Zoltán János Jánosi írta, <jazoja4@gmail.com>:

    > Hi!
    >
    > This is my first letter here.
    > I'd like to convert a DocBook 4.1.2 XML document to DocBook 4.4.
    > I haven't found any information regarding this, however I asked google too.
    > Maybe I was searching the wrong keywords.
    >
    > My original problem is to convert MS-DOC or MS-DOCX files to DocBook 4.4.
    > The examples I found on google does not worked. (xsltproc ended up in
    > error, I think docbook roundtrip step one results are useless)
    > http://www.oxygenxml.com/forum/topic6445.html
    > http://www.explain.com.au/oss/docbook/
    >
    > Now I opened the docx files in LibreOffice and saved them in DocBook
    > (which resulted DocBook v4.1.2).
    > Then, I was able to open it in Syntext Serna and forcing the DocBook v4.2
    > template on this document.
    > Now I standing here, I have a v4.2 document which I'd like to convert to
    > v4.4.
    >
    > I am interested in any solution.
    > Thanx in adnvance!
    >
    > Jazoja
    >