This week I had to come up with a temporary solution to convert a dita map inclusive it's topics into our currently used XML schema for Value Propositions. I just blog the query because it's a nice reference material. The only parameter I inject from Java is the mcvpId just in case you are wondering where that variable gets its value from.