Page 1 of 1
Track changes: Accept all changes in map scope?
Posted: Wed Sep 23, 2020 6:17 pm
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
Re: Track changes: Accept all changes in map scope?
Posted: Thu Sep 24, 2020 7:49 am
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
Re: Track changes: Accept all changes in map scope?
Posted: Wed Sep 30, 2020 4:48 pm
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
Re: Track changes: Accept all changes in map scope?
Posted: Thu Oct 01, 2020 6:37 am
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
Re: Track changes: Accept all changes in map scope?
Posted: Tue Oct 06, 2020 5:52 pm
by Frank Ralf
Thanks for the hints, Radu!
Frank