# XML text read without Nodes

**URL:** <https://forum.kirupa.com/t/xml-text-read-without-nodes/128941>\
**Category:** Uncategorized\
**Created:** [November 17, 2004, 8:25pm UTC](https://forum.kirupa.com/t/xml-text-read-without-nodes/128941 "2004-11-17T20:25:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sv3](https://avatars.discourse-cdn.com/v4/letter/s/7feea3/32.png) [@sv3](https://forum.kirupa.com/u/sv3)\
**Post date:** [November 17, 2004, 8:25pm UTC](https://forum.kirupa.com/t/xml-text-read-without-nodes/128941/1 "2004-11-17T20:25:06Z")

</div>

I just read the great tutorial on reading external XML data into a dynamic text box here…  
[http://www.kirupa.com/developer/actionscript/xmldataflash.htm](http://www.kirupa.com/developer/actionscript/xmldataflash.htm)

What I would like to do is take a xml document with 4 nodes per item and display the entire thing inside 1 scrolling dynamic text box. I tried taking out the nodes like this…

**original…**  
\_root.inventor = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;

**modified**  
\_root.inventor = this;

but it displays everthing - the tags included and I just want the info inside the tag to be shown, EX: \<item\> red \</item\> - I only want the “red” to be displayed.

Can anyone help me out?  
Thanks.
