Drupal Book export to DocBook

Today I got a prototype version of Drupal book.module to produce full DocBook XML format output. I tried it out on a (somewhat out of date) local copy of the Module developer's guide, consisting of 66 sections. Using the stock versions of Norm Walsh and Bob Stayton's DocBook XML to FO DocBook XSL stylesheets, I was able to generate 67 pages of PDF, including images, via Saxon XSL and Apache FOP. There's still quite a bit of work required to get this to produce decent output, but it feels like it's getting close to workable.

The DocBook export code is built around a slightly customized version of Jeff Beal's requires PHP 5, XSLT, and Tidy to be installed and enabled on the server. I've tried to get this working in PHP4, but the XSLT support seems rather flakey.

You are welcome to look at the sample DocBook XML output and resulting PDF output. Feedback and helpful tips from any DocBook experts out there will be gratefully accepted.

Comments

New Version by Anonymous (not verified)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Lines and paragraphs break automatically.

More information about formatting options

Mollom CAPTCHA (play audio CAPTCHA)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.