Zend
200-530 · Question #229
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
(23 responses)- A4% (1)
- B9% (2)
- C83% (19)
- D4% (1)
Community Discussion
No community discussion yet for this question.