Langage des commandes Arbortext > Functions by Alphabetical Listing > oid_modify_attr
  
oid_modify_attr
oid_modify_attr (oid, [attrname], [value])
This function sets the attribute named attrname to value for the element specified by oid. If you do not specify either attrname or value, the Modify Attributes dialog is raised.
Remarque :
 
*If you have applied an alias map to the document, attrname and value can be either aliases or a real names.
Returns 1 (True) unless:
there is no such attribute for the element, or
oid is invalid, or
the document is read-only
oid_modify_attr can be used to assign XML namespace attributes to elements in an XML document.