Lisa Dyer - 2010-04-22

Thanks for your comment. Yes, essentially you want to create DITA-wiki mashups, programmatically. This is basically what the multi-excerpt implementation for DITA conrefs does.

Certainly you could do this by extending the Java implementation (in dita2confluence.jar) with logic for each of the wiki macros or plugins you want to use. Then, add the logic to your DITA processing to simply exclude that markup from your non-wiki outputs.

This would be the quickest way. The more architecturally sound way would be to rearchitect the Java implementation such that it had extension points. This would keep your custom bits outside of the core dita2confluence code, making for an easier experience when you add macros or upgrade your system.

I suggest that you inspect the multi-excerpt implementation in the dita2confluence.jar file and the corresponding template in dita2wml.xsl. You can use this as a guideline for implementing what you want.

I'm happy to review your code (as time permits - right now, I'm pretty busy so expect slower response times), you can reach me at lisa dot dyer at gmail dot com. Also, you should definitely consider contributing your work back to this community because I think there would be considerable interest and appreciation.

- lisa