Hi Anders, On Monday 29 May 2006 12:07, Anders Norrbring wrote:
Thomas Schraitle skrev:
[...] If you need more info just ask. :-)
Aah... I have a too well-defined book I guess.. :) I just ran it with xsltproc and got this:
beata:~/wiki # xsltproc --output file.wiki novdoc/docbook.xsl file.xml No template matches article in book (index). No template matches appendix in book (index). No template matches appendix in book (index). No template matches appendix in book (index). No template matches appendix in book (index).
Yes, book is not very well supported at the moment. I think of a kind of "chunking mechanism" like in HTML, but in Wiki it's more complicated. Better transform it chapter-wise. You can use the rootid feature like this: xsltproc --output file.wiki --stringparam rootid "CHAPTER_ID" \ db2mediawiki/docbook.xsl file.xml Replace the CHAPTER_ID with the id of your corresponding chapter. Roughly speaking lists, figures and some inline elements should be supported, probably not all DocBook features. If the stylesheets encounter an unknown element it will print the above message to inform the user. Hope that helps, Tom -- Thomas Schraitle ---------------------------------------------------------------------- SUSE LINUX Products GmbH >o) Technical Editor Maxfeldstrasse 5 /\\ Documentation Team 90409 Nuernberg, Germany _\_v http://www.opensuse.org