Page 1 of 1

DITA - TOPICS - SINGLE INSTANCE WITH ALL TOPICS MERGED IN PL

Posted: Thu Jul 07, 2011 8:43 pm
by John Hoffman
Can the Oxygen XML editor be used to reference a DITA map and save a single XML instance with all topics and content referenced in that map concatinated into a single XML instance? If not, can you please suggest other means by which I can merge all the topics referenced in a map file into a single XML instance.

Thanks

John Hoffman

Re: DITA - TOPICS - SINGLE INSTANCE WITH ALL TOPICS MERGED IN PL

Posted: Fri Jul 08, 2011 8:54 am
by Radu
Hi John,

Oxygen uses DITA OT for publishing DITA to various outputs and when generating the PDF the DITA OT gathers all the DITA topics into one large merged file.

So if you edit the DITA Map to PDF transformation scenario and in the Parameters tab you set the clean.temp to no and then transform using the scenario then at the end of the transformation, in the temporary files directory which is by default called "temp" and is in the same directory as the DITA Map you should see a file called like: DITA_MAP_FILE_NAME_MERGED.xml

That file contains all the topics content merged back in the DITA Map.

Regards,
Radu

Re: DITA - TOPICS - SINGLE INSTANCE WITH ALL TOPICS MERGED IN PL

Posted: Tue Jul 12, 2011 10:30 pm
by John Hoffman
Thank you Radu, your post is helpful.

I can see several scenarios where it would be useful to have a transformation scenario that just output the merged XML instance.

Your suggestion, in the meantime, fits the bill.

Thanks again!

John Hoffman