March 2003
Intermediate to advanced
656 pages
39h 30m
English
hasAttribute
e.hasAttribute(name)
True if and only if
e has an attribute with the given
name. If the underlying parser extracts
the relevant information from the DTD,
hasAttribute is also true for attributes of
e that have a default value, even when
they are not explicitly specified.