Copy/Paste without creating element id

Post here questions and problems related to editing and publishing DITA content.
GKlimeck
Posts: 23
Joined: Tue Mar 07, 2017 7:54 pm

Copy/Paste without creating element id

Post by GKlimeck »

In Oxygen XML Editor author and text mode, I often copy steps and images from one task into a new task. In the new task, I edit the step to achieve a new purpose.

The copied elements often have an auto generated ID. I prefer to add an ID myself if it is needed in a xref or conref.
Is there a way to turn off auto generated IDs when contents of one task/article is copied to another?
Thank you,
GKlimeck
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Copy/Paste without creating element id

Post by Radu »

Hi,

If the copied step already has an ID, that ID will be preserved on paste, this goes both for the Text and for the Author visual editing modes.
If it does not have an ID, then indeed when pasting in the Author visual editing mode might automatically set an ID to it. To inhibit this, open a DITA topic in the Author visual editing mode, go to the main "DITA" menu and click the "ID Options..." action.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
GKlimeck
Posts: 23
Joined: Tue Mar 07, 2017 7:54 pm

Re: Copy/Paste without creating element id

Post by GKlimeck »

Thank you!
Post Reply