2 Replies Latest reply on Aug 4, 2006 5:42 AM by AttackingPencil

    XML nodeType/nodeValue issues

      I'm trying to load in an XML file generated by Excel but for some reason the nodes in the XML are being read as element nodes rather than as text nodes
      the xml file looks like:
      <ARTIST>George Frederick Watts</ARTIST>
      <ADDRESS>1 Clipstone Street</ADDRESS>

      and my Actionscript looks like:
      item.toolTip.hotspotText.text = hotspots_xml.firstChild.childNodes[1].childNodes .childNodes[3].nodeValue;

      that actionscript calls the <ARTIST> node (as you can see I've omitted a bunch of extraneous XML)
      However, it returns "null"

      any ideas?