I assume that it is not possible to transform DocBook(5) to WordML with DAPS?
No, this is not possible with DAPS, at least not directly.
However, you don't need DAPS for this. You only need a XSLT processor and the right stylesheets. The upstream DocBook XSL stylesheets has already this include. They are called "roundtrip" stylesheets. You can use them to transform your DocBook document into WordML, Apple Pages, or LibreOffice ODF.
I'm not sure how good they are, I haven't used them. Probably you need to fine-tune them and adapt them to your needs. That depends on your DocBook source and what you want to achieve.
Another possible option would be to try LibreOffice. It can import DocBook XML files directly. Internally it uses also a XSLT transformation. Depending on how "difficult" your code is, the result will be more or less useable. If the result is good, you can save it as WordML.
Hope that helps.
Tom
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks. Too bad... I thought I could kill two birds with one stone.
My DocBook sources are going to be transformed into both PDF and WordML via a Jenkins cron job.
So it would be nice to use just one tool. And LibreOffice is no option.
I'll try the DocBook standard tools.
Best regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My DocBook sources are going to be transformed into both PDF and WordML via a Jenkins cron job.
Just for curiosity: Why do you need WordML?
Does it have to be WordML or can it be imported as HTML? I don't know Word that much, but I assume, both can be imported.
The reason why I suggest to try it with HTML too is that the stylesheets for HTML output is probably much better maintained than the stylesheets for WordML (although I never tried it the latter).
the bird thingie... LEO was my friend. Zwei Fliegen mit einer Klappe, und so... ;-)
My customer requested both PDF and Word. So I ordered a transformation for both from an XML software company. I'm a technical author, not an XSL "programmer".
And DAPS seemed to be handy at first sight, but with the complete XML transformation files the provider delivered now (and the fact that DAPS does not support WordML), I think I skip DAPS for this project.
Maybe there is another chance using DAPS in a future project.
Best regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "DAPS General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion, old (read-only)"
Hi,
I assume that it is not possible to transform DocBook(5) to WordML with DAPS?
And just in case, it is: How?
Best regards
Hi,
No, this is not possible with DAPS, at least not directly.
However, you don't need DAPS for this. You only need a XSLT processor and the right stylesheets. The upstream DocBook XSL stylesheets has already this include. They are called "roundtrip" stylesheets. You can use them to transform your DocBook document into WordML, Apple Pages, or LibreOffice ODF.
I'm not sure how good they are, I haven't used them. Probably you need to fine-tune them and adapt them to your needs. That depends on your DocBook source and what you want to achieve.
Another possible option would be to try LibreOffice. It can import DocBook XML files directly. Internally it uses also a XSLT transformation. Depending on how "difficult" your code is, the result will be more or less useable. If the result is good, you can save it as WordML.
Hope that helps.
Tom
View and moderate all "DAPS General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion, old (read-only)"
Hi Tom,
thanks. Too bad... I thought I could kill two birds with one stone.
My DocBook sources are going to be transformed into both PDF and WordML via a Jenkins cron job.
So it would be nice to use just one tool. And LibreOffice is no option.
I'll try the DocBook standard tools.
Best regards
Hi,
Poor birds. ;-) ;-)
Just for curiosity: Why do you need WordML?
Does it have to be WordML or can it be imported as HTML? I don't know Word that much, but I assume, both can be imported.
The reason why I suggest to try it with HTML too is that the stylesheets for HTML output is probably much better maintained than the stylesheets for WordML (although I never tried it the latter).
If you want to (or have to) really use WordML you should adapt them to your needs with a "customization layer". You can read the details in my book, see http://doccookbook.sourceforge.net/html/en/dbc.common.dbcustomize.html
Feel free to ask further questions.
Good luck,
Tom
View and moderate all "DAPS General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion, old (read-only)"
Hi Tom,
the bird thingie... LEO was my friend. Zwei Fliegen mit einer Klappe, und so... ;-)
My customer requested both PDF and Word. So I ordered a transformation for both from an XML software company. I'm a technical author, not an XSL "programmer".
And DAPS seemed to be handy at first sight, but with the complete XML transformation files the provider delivered now (and the fact that DAPS does not support WordML), I think I skip DAPS for this project.
Maybe there is another chance using DAPS in a future project.
Best regards
Hi,
Hehe, I know German. :))
I see.
You can use daps for PDF, but for Word you need to do it manually.
Sure, hope this discussion was useful for you anyway. :) Wish you good luck!
Best regards,
Tom