Thomas Schraitle skrev:
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.
I'll give it another shot.. I prefer working in oXygen on my Windows
box, but I'll do some testing on both platforms.
I'll send you the pack of xml files for inspection, they're currently
drafts since most id elements are missing. But I thought maybe you can
find the time to give some pointers?
--
Anders Norrbring
Norrbring Consulting
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]