tag_attrs
tag_attrs (tagname, arr[, doc])
This function fills the array arr with the list of attribute names declared for the tag specified by tagname. This function returns the number of attributes. The first attribute name is returned as index 1.
* 
If you have applied an alias map to the document, tagname can be either an alias or a real name. However, this function will return the real name of an attribute, not its alias.
The doc argument specifies the identifier of the document tree. If doc is omitted or 0, the current document is used.
* 
If the document type definition for your document instance includes the NAMECASE GENERAL NO setting, then the tagname parameter will be case sensitive.
Related Topics
Est-ce que cela a été utile ?