Ignoring processing instructions while using track changes!
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 157
- Joined: Mon Aug 18, 2014 4:11 pm
Ignoring processing instructions while using track changes!
Hi team,
We would like to know if there are any options in Oxygen (Eclipse Oxygen 20.1 and Web Author 22.1) to ignore processing instructions for track changes.
Consider we have a processing instruction existing in a topic like below,
Now if we keep track changes ON and delete this processing instruction, the content become like this:
But we do not need this to happen. We need the processing instruction to just get deleted. The track changes processing instructions should not wrap the existing processing instruction.
Do you know if this is possible? If so, how?
Regards,
Shabeer
We would like to know if there are any options in Oxygen (Eclipse Oxygen 20.1 and Web Author 22.1) to ignore processing instructions for track changes.
Consider we have a processing instruction existing in a topic like below,
Code: Select all
<?checkData status="red"?>
Code: Select all
<?oxy_delete author="abc" timestamp="20210430T145228+0530" content="<?checkData status="red"?>"?>
<?oxy_options track_changes="on"?>
Do you know if this is possible? If so, how?
Regards,
Shabeer
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Ignoring processing instructions while using track changes!
Post by cristi_talau »
Hello,
The achieve this behavior you need to implement a plugin and register an AuthorDocumentFilter [1]. In this filter you can override the builtin delete behavior. For example, you can disable change tracking before delegating to the default "delete" behavior.
Best,
Cristian
[1] https://www.oxygenxml.com/InstData/Edit ... ilter.html
The achieve this behavior you need to implement a plugin and register an AuthorDocumentFilter [1]. In this filter you can override the builtin delete behavior. For example, you can disable change tracking before delegating to the default "delete" behavior.
Best,
Cristian
[1] https://www.oxygenxml.com/InstData/Edit ... ilter.html
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service