Arbortext Command Language > Callbacks > doc_add_callback > insert_tag_after Callback Type
  
insert_tag_after Callback Type
Function prototype:
function funcname (doc, tagname, oid, op)
insert_tag_after is called after the element tagname, specified by oid, is inserted into the document.
Arguments:
doc is the identifier of the document associated with this function.
tagname is the name of the element specified.
* 
If the document type definition for your document instance includes the NAMECASE GENERAL NO setting, the tagname parameter will be case-sensitive.
oid is the object identifier of the start tag that was inserted into the document.
op is the function callback operation. op is called twice in succession (op = 1 and op = 2) as is the convention with these callback types, but because the tag insertion has already occurred, it cannot cancel the operation.