XML + Mozilla

Can some PLEASE tell me how to simply get the value from an xml element? Seems pretty simple but for some reason the Mozilla idiots didn't make it common sense. Stupid stuff like this gives me a headache!

This works in IE:
obj.childNodes[i].text

None of these work in Mozilla browsers when using the DOMParser object:
obj.childNodes[i].text
obj.childNodes[i].value
obj.childNodes[i].innerText
obj.childNodes[i].nodeValue
...

HELP :-)

 

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
Print | posted on Sunday, October 02, 2005 9:57 AM

Feedback

# re: XML + Mozilla

left by JD at 8/25/2006 11:01 PM Gravatar
textContent

I was looking for the same thing and found the answer.
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: