5 Replies Latest reply on Nov 15, 2006 4:05 AM by Newsgroup_User

    I can't read a nodeValue

    adrianTNT Level 1
      Hello, I have an XML file on a server, I want to load it locally and use the data.

      This line
      trace(my_xml.firstChild.childNodes[0]);
      prints this:
      <service_provider>Domain Tools</service_provider>

      so
      trace(my_xml.firstChild.childNodes[0].nodeValue);
      should print
      "Domain Tools"
      Correct ?

      I cannot seem to get to read the nodeValue, I get " null"

      Any ideas?
      Thank you.