Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend Exam 200-710 Topic 3 Question 54 Discussion

Actual exam question for Zend's 200-710 exam
Question #: 54
Topic #: 3
[All 200-710 Questions]

What DOMElement method should be used to check for availability of a non-namespaced attribute?

Show Suggested Answer Hide Answer
Suggested Answer: B, D

Contribute your Thoughts:

Marta
16 days ago
Wait, is this a trick question? I bet the answer is actually A) getAttributeNS(), because who doesn't love a good namespace these days?
upvoted 0 times
...
Adela
21 days ago
Haha, this is a tricky one! I bet the answer is B) getAttribute(), but I'm also partial to D) hasAttributeNS() - it just sounds so fancy and technical, you know?
upvoted 0 times
Sue
2 days ago
I think the answer is C) hasAttribute() actually.
upvoted 0 times
...
...
Yesenia
25 days ago
Definitely C) hasAttribute(). Why would we need a special method for non-namespaced attributes? That's the obvious choice.
upvoted 0 times
Annette
13 days ago
I agree, C) hasAttribute() is the way to go.
upvoted 0 times
...
...
Vilma
1 months ago
Hmm, I'm not sure. I was thinking D) hasAttributeNS(), but now I'm second-guessing myself.
upvoted 0 times
Marg
9 days ago
I believe it's A) getAttributeNS().
upvoted 0 times
...
Tamekia
13 days ago
I think the correct answer is C) hasAttribute().
upvoted 0 times
...
...
Karl
1 months ago
I think B) getAttribute() is the correct answer. It's the standard method for retrieving non-namespaced attributes.
upvoted 0 times
...
Frederic
2 months ago
I'm not sure, but I think D) hasAttributeNS() might also work for this
upvoted 0 times
...
Haley
2 months ago
I agree with Janine, hasAttribute() should be used to check for availability of a non-namespaced attribute
upvoted 0 times
...
Janine
2 months ago
I think the answer is C) hasAttribute()
upvoted 0 times
...

Save Cancel