[NTG-context] Experience with DITA XML or XSL/FO

Hans Hagen pragma at wxs.nl
Fri May 23 09:15:46 CEST 2014


On 5/23/2014 1:30 AM, Mica Semrick wrote:
> Hi Hans,
>
> Thanks for your reply. I found my way to foxet, but never got it working. I've written several mapping files for XML with good results, but DITA is a bit of a different beast.

that's mkii and will not work in mkiv

> DITA is geared towards technical writing, and its main features are defined content types, a mechanism for controlled reuse below the file level, a modular structure, and built in extensibility of its XML vocabulary. It comes with its own toolkit that filters out and pulls in content and it uses FOP to produce PDF (hence my mention of FO). Since the toolkit must process the XML to resolve linked content and remove content, it is not recommended to directly typeset the XML like you could do with DocBook. I see a few ways to achieve what I want, which is a PDF produced my ConTeXt: target a merged XML file that the dita toolkit has produced, produce a concatenated HTML file and typeset that, or typeset the fo file before FOP gets to it. Of those approaches, the first seems like the best idea, but I wanted to query the list before proceeding.

best just skip to fop stage and directly map the html (or whatever 
intermediate format) then ... the more info gets lost, the worse the 
result will look as the typesetting engine works better on abstractions 
(chapters and so) then on boxes pasted together

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list