7 Replies Latest reply on Jun 27, 2007 8:11 AM by Newsgroup_User

    xml nodeValue question

    Level 7
      In my flash file when I trace the following:
      trace("1 is: " + xnRoot.childNodes .childNodes[0]);
      I get:
      1 is: <imgLink>pages/collection1.html</imgLink>
      What I am looking to get is just what is inside the xml node:
      1 is: pages/collection1.html

      I thought I could do this:
      trace("1 is: " + xnRoot.childNodes
      .childNodes[0].nodeValue);
      but that returns null. What am I doing wrong and how can I do this?

      Thank a lot for any help!