Track changes: Accept all changes in map scope?

Post here questions and problems related to editing and publishing DITA content.
Frank Ralf
Posts: 460
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Track changes: Accept all changes in map scope?

Post by Frank Ralf »

Hi,

Is there a way to accept all changes in a whole DITA document, that is, in the scope of a DITA map? Can I use the respective Author Action (which one?) and automatically call it for each topic in the map scope?

Kind regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
Radu
Posts: 9069
Joined: Fri Jul 09, 2004 5:18 pm

Re: Track changes: Accept all changes in map scope?

Post by Radu »

Hi Frank,

We do not have a special action for this, probably in the future we'll create an XML refactoring action based on XSLT for this.
In the meantime maybe this older post will help:
post17802.html?sid=ac2dd8786dedf6496664 ... 610#p17807

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Frank Ralf
Posts: 460
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Re: Track changes: Accept all changes in map scope?

Post by Frank Ralf »

Hi Radu,

Thanks for the pointer. Is there a way to create a find & replace Author Action that uses that regular expression? I wouldn't want authors to be able to accidentally change such a complex regex ;-)

Best regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
Radu
Posts: 9069
Joined: Fri Jul 09, 2004 5:18 pm

Re: Track changes: Accept all changes in map scope?

Post by Radu »

Hi Frank,

No, but you can create an XML refactoring operation based on XSLT which would match such processing instructions and avoid outputting them.

https://www.oxygenxml.com/doc/versions/ ... tools.html

A project with some sample operations here:

https://github.com/oxygenxml/dita-refactoring-examples

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Frank Ralf
Posts: 460
Joined: Thu Jan 23, 2014 2:29 pm
Location: Hamburg
Contact:

Re: Track changes: Accept all changes in map scope?

Post by Frank Ralf »

Thanks for the hints, Radu!

Frank
Frank Ralf
parson AG
www.parson-europe.com
Post Reply