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

Questions about XML that are not covered by the other forums should go here.
John Hoffman
Posts: 2
Joined: Thu Jul 07, 2011 7:15 pm

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

Post 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
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

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

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
John Hoffman
Posts: 2
Joined: Thu Jul 07, 2011 7:15 pm

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

Post 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
Post Reply