trace("using firstChild.nodeValue:");
for (var i = 0; i<my_xml.firstChild.childNodes.length; i++) {
trace("\t"+my_xml.firstChild.childNodes[i].firstChild.nodeValue);
}
The following information is displayed in the Output panel:
using firstChild:
morton
good&evil
using firstChild.nodeValue:
morton
good&evil
See also
XML.nodeType
XML.nodeValue 1043