tag_attr_default
tag_attr_default (tagname, attr[, doc])
This function returns the default value of the attribute attr for the element tagname as defined in the DTD for the specified document.
* 
If you have applied an alias map to the document, tagname and attr can be either aliases or real names. However, this function will return the real name for the attribute value, not its alias.
It returns a null string if attr does not have a default value or if no such attribute or element exists. 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 ?