Article - CS36322

We want to remove Change Tracking PI information completely in Arbortext Editor

Modified: 05-Jan-2018   


Applies To

  • PTC Arbortext Editor 5.4 to 7.1
  • PTC Arbortext Styler 5.4 to 7.1

Description

When Change Tracking is enabled in a document, two processes occur in the background.
  1. The document defines a new namespace.
  2. Within the root element attributes and multiple nodes are generated with different information as follows:
xmlns:atict="http://www.arbortext.com/namespace/atict"
<atict:info tracking="on" ref="0"/>
<atict:user user="UserName" fullname="user" color="#8000FF"/>

  • The solution programmed in C# uses the COM interface methods "GetElementsByTagNameNS()" , "GetElementsByAttributeNS()" to remove the nodes and attributes found in the document.
  • The attributes and nodes with the appropriate namespace are not found and cannot be removed using "RemoveChild()".
  • In case of a userdefined namespace in the document, the above methods work. All nodes are found and can be removed.
  1. Why is it not possible to access the atict namespace via COM interface, to be able to alter or delete items?
  2. How can the document be adjusted so that the change tracking information will be completely removed?
This is a printer-friendly version of Article 36322 and may be out of date. For the latest version click CS36322