Zend
200-550 · Question #143
What DOMElement method should be used to check for availability of a non-namespaced attribute?
The correct answer is C. hasAttribute(). See the full explanation below for the reasoning.
Question
What DOMElement method should be used to check for availability of a non-namespaced attribute?
Options
- AgetAttributeNS()
- BgetAttribute()
- ChasAttribute()
- DhasAttributeNS()
How the community answered
(46 responses)- A11% (5)
- B4% (2)
- C83% (38)
- D2% (1)
Community Discussion
No community discussion yet for this question.