On 2014-05-22 Mica Semrick wrote:
I've been contemplating making a ConTeXt output or parser for DITA XML and was wondering if anyone has worked with DITA and ConTeXt before? If you have and could offer any advice and/code, that would be most helpful!
What is your real use case? A typical XML based workflow involves XSL-FO -> PDF route using FO processor (Antenna House, XEP, FOP etc). Anyway, there are several ways. If you are not locked to DITA yet, I would strongly recommend switching to DocBook instead :-) You get similar single source solution with the semantically rich vocabulary that allows you to produce all typical outputs. Moreover, there is a special project dedicated to DocBook to ConTeXt conversion 'dbcontext' http://dblatex.sourceforge.net/releases/download.html although I had to tweak it for my recent project to ensure compatibility with current ConTeXt version (MkIV). This XSLT way is most natural for XML processing, but I understand that writing XSLT transformation is discouraging for many people. Regards, Jan