Configure which processing instructions to remove

The RemoveProcInsTriggers.xml file in the system configuration enables you to configure the list of processing instructions to remove when a topic moves to a specified status.

When you add editing comments to a topic, these comments are added as processing instructions (PI). A comment added to a paragraph appears similar to this example:

<p>This new feature is not yet documented.<?oxy_comment_start author="whitel" timestamp="20140730T123424-0500" comment="Please check the specification for more information on this feature."?><?oxy_comment_end?></p>

As you can see, the opening and closing tags for PIs always include question marks, which makes them easy to identify as such. You can add PIs in other ways as well, and there may be certain system actions that also insert PIs. PIs are not part of the content of a topic, so they can appear anywhere without affecting the topic's structure.

The CMS includes a configurable trigger, com.ixiasoft.cms.triggers.RemoveProcIns, that can automatically delete all PIs when a topic moves to Authoring:done (or whatever your final state may be). The specific PIs that are deleted depend on a list in your system configuration, RemoveProcInsTriggers.xml.

Note: You should make these configuration changes in the Test environment and test them before copying them to the Production environment. In a dedicated SaaS deployment, after testing the changes, ask IXIASOFT Customer Support to copy the changes to the Production environment.
  1. In the TEXTML Administration perspective, connect to your server.
  2. Locate the RemoveProcInsTriggers.xml file in the repository's /system/conf collection.
  3. Check out the file and open it for editing.
  4. Add a new <procins> element that includes the name of the PI you want to delete.

    For example, the name of the processing instruction in the previous example is oxy-comment-start. This PI is already in the list of PIs to be deleted.

  5. Delete any <procins> elements that correspond to PIs you do not want to delete.
  6. Save, close, and check in the file.
  7. Inform users of the changes.
    The changes will be applied automatically once users close and then reopen their IXIASOFT CCMS Desktop. Users can also apply the changes without restarting their CCMS Desktop by clicking IXIASOFT CCMS > Synchronize Configuration.