oid_attr_type
oid_attr_type (oid, attrname)
This function returns the declared attribute value type for the attribute named attrname of the element specified by oid.
|
If you have applied an alias map to the document, attrname can be either an alias or a real name.
|
If the attribute was declared as a name group, this is a string of the form "CDATA", "ENTITY", "ENTITIES", "ID", "IDREF", "IDREFS", "NAME", "NAMES", "NMTOKEN", "NMTOKENS", "NOTATION", "NUMBER", "NUMBERS", "NUTOKEN", "NUTOKENS", or "NAMEGROUP".
This function is equivalent to:
tag_attr_type(oid_name(oid), attr, oid_doc(oid))