XML : nodeValue

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
littlecoder
Forum Commoner
Posts: 26
Joined: Fri Oct 17, 2008 4:36 am

XML : nodeValue

Post by littlecoder »

Hi ,
document.write(document.getElementsByTagName("message")[0].childNodes[0].nodeValue);
gives a value 'null' , but when I replace 'nodeValue' with 'text' i get the result.
Why does 'nodeValue' not work?Can anyone help?
Post Reply