How to duplicate a ditamap and break relationship between the 2 documents

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Olivier
Posts: 8
Joined: Fri Apr 21, 2023 12:57 pm

How to duplicate a ditamap and break relationship between the 2 documents

Post by Olivier »

Hi,

Can anyone please tell me how I can easily create a duplicate copy of an existing ditamap (including its set of associated topics of course) for use as a new document, where modifying the new map+topics does not modify the existing/original map+topics?

Thanks a lot in advance
Last edited by Olivier on Wed Sep 20, 2023 4:48 pm, edited 1 time in total.
Radu
Posts: 9256
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to duplicate a ditamap and break relationship between the 2 documents

Post by Radu »

Hi Olivier,
I would open that map in the Oxygen DITA Maps Manager view, right click its root and choose "Export DITA Map".
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Olivier
Posts: 8
Joined: Fri Apr 21, 2023 12:57 pm

Re: How to duplicate a ditamap and break relationship between the 2 documents

Post by Olivier »

Thanks Radu,

I exported it as a zip file to a local folder, then copied it back to my repository and it seems to have worked.

Follow-up question: Is it necessary to export it a) zipped and b) to a local folder to break the relationship between the documents?

Thanks,
Olivier
Radu
Posts: 9256
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to duplicate a ditamap and break relationship between the 2 documents

Post by Radu »

Hi Olivier,

So the "Export DITA Map" can export either to a target folder or to a zip archive, in both cases the exported content is a copy of the original content.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply