Skip to main content
3-Newcomer
February 10, 2026
Solved

Arbortext 8.3 Compare - working with the Diff tags

  • February 10, 2026
  • 1 reply
  • 44 views

I am trying to convert the Insert and Delete Pub Tags that are used by Arbortext to indicate differences, into elements that are part of our DTD.   It would be convenient if I could either tell Arbortext to use our elements for the Diffs, OR even if I could use elements instead of the Pub tags. 

 

apressey_0-1770739611032.png

The actual tagging looks like this in notepad:
<?Pub Tag Delete?>texte<?Pub /Delete?>

I am find it hard to find and transform these to real elements.

 

Also, in the Arbortext help I see this line:

" Compare tab provides a choice between either wrapper tags or PIs (processing instructions named Insert and Delete) to mark the differences in content as insertions and deletions. "

 

However, I dont see anything like that on the screen.  Where can I make this "choice"?

 

apressey_1-1770740004432.png

 

 

Best answer by AP_13279061

I think I found a workable solution.  I found that the oid_find_children function did gather the Insert and Delete tags, even though they are not true elements.  So this code:

 

oid_find_children(oid_root(), $dels, 'Delete');

did actually work, and I was able to swap out the diff tagging to my own.

 

I still find it strange that the help pages says there is a choice, but I dont see a choice anywhere.

1 reply

10-Marble
February 24, 2026

I think I found a workable solution.  I found that the oid_find_children function did gather the Insert and Delete tags, even though they are not true elements.  So this code:

 

oid_find_children(oid_root(), $dels, 'Delete');

did actually work, and I was able to swap out the diff tagging to my own.

 

I still find it strange that the help pages says there is a choice, but I dont see a choice anywhere.