DocBook to WordprocessingML conversion

I just ran across this link today and was wondering if anyone else had checked it out:

It looks like there is a docbook project up on sourceforge that has XSLT support for going from WordprocessingML into DocBook (or the other way around). I haven’t had a chance to look into it yet… sounds pretty cool though.


Comments (2)

  1. orcmid says:

    This is a pretty cool project, just the sort of thing that provides great practical worked cases and great interchange testing.

    It looks like what they’ve done is produced XSL style sheets that allow DocBook to be transformed *to* WordML as a target.  That makes sense when you think about it.  One cool thing is that they will accept the WordML of a template and inject the template styles into the DocBook’s WordML.  From their wiki:

    "The DocBook XSL stylesheets are a set of stylesheets for use with an XSLT engine (such as xsltproc or Saxon) for transforming DocBook XML documents into other DocBookOutputFormats, such as HTML, PDF, Microsoft HTML Help, and man pages."

    They are upgrading to XSL2 at the moment.  The wiki also provides information about OpenOffice filters that import and export DocBook (apparently a proof-of-concept and not fully implemented yet).  This project is not doing anything with OOo or ODF as far as I could tell.

    I couldn’t find much about ingesting non-DocBook documents and there is no mention of effort to export docx, for example.

    This is a very energetic project.  They should be a great source of test cases and practical interchange cases related to DocBook and its applications.

  2. BrianJones says:

    Very cool Dennis. Thanks for looking into it!