Arbortext Command Language > Functions by Alphabetical Listing > oid_delete
  
oid_delete
oid_delete (oid[, flags])
This function deletes the object identified by oid and its content depending on the flags parameter.
The optional flags parameter is a bitmask that controls what is deleted and is constructed using OR with the following flags:
0x1 — delete only the tag (and end tag if not EMPTY).
0x2 — delete only the content if an element.
If flags is omitted or 0 both the element and its content are deleted. If oid does not specify an element, only the object is deleted.
Related Topics
oid_content function
delete_tag command