tag_attr_required
tag_attr_required (tagname, attr[, doc])
This function returns 1 (True) if the attribute named attr for the element named tagname is declared as a #REQUIRED attribute 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.
If doc is omitted, 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 ?