[OpenStack-docs] Stylesheets for Converting DocBook 5 to DocBook 4
Tanja Roth
taroth at suse.com
Tue Feb 10 10:27:28 UTC 2015
Hi,
a colleague of mine recently wrote some stylesheets for the process
of transforming the OpenStack DocBook 5 sources to DocBook 4 (in order
to publish them in custom layout).
In case anyone else faces a similar task and wants to (re)use or modify
the stylesheets, they are publicly available and can be found here:
http://sourceforge.net/p/daps/svn/HEAD/tree/trunk/daps/daps-xslt/migrate/db5-move-blocks-outof-para.xsl
http://sourceforge.net/p/daps/svn/HEAD/tree/trunk/daps/daps-xslt/migrate/openstack-db5to4.xsl
The first one just moves block elements (like itemizedlist etc.) out of
paras and is generic.
The second one also contains conversion rules that are specific of
how we (at SUSE) usually structure our docs (for example, it moves the
contents of <revhistory/> to the appendix), therefore it's unlikely
that you can reuse it to 100% in your context. But it might still be
a good starting point in case you need something similar.
Kind regards,
Tanja Roth, Documentation
SUSE Linux GmbH
GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton
HRB 21284 (AG Nürnberg)
More information about the OpenStack-docs
mailing list