# nodeValue Problem

**URL:** <https://forum.kirupa.com/t/nodevalue-problem/205273>\
**Category:** flash\
**Created:** [October 27, 2006, 4:02pm UTC](https://forum.kirupa.com/t/nodevalue-problem/205273 "2006-10-27T16:02:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Spider2](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@Spider2](https://forum.kirupa.com/u/Spider2)\
**Post date:** [October 27, 2006, 4:02pm UTC](https://forum.kirupa.com/t/nodevalue-problem/205273/1 "2006-10-27T16:02:06Z")

</div>

[FONT=verdana, arial, helvetica][SIZE=2]Hi Guys, that’s my xml:

\<?xml version=“1.0” encoding=“iso-8859-1”?\>  
\<imagenes\>  
\<imagen\>  
\<![CDATA[  
Esta es la mejor final de toda la historia  
]]\>  
\</imagen\>  
\</imagenes\>

///////////////////////////

I have a problem with this:

trace(obj\_xml.firstChild.firstChild.nodeValue);  
it traces “null”;

But If I write this:

trace(obj\_xml.firstChild.firstChild);

///////  
traces this:  
///////  
\<imagen\>Esta es la mejor final de toda la historia\</imagen\>

///////////  
why is that?  
Thanx 4 the answers[/SIZE][/FONT]  
[FONT=verdana, arial, helvetica][SIZE=2]\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
+:::Spideep:::+[/SIZE][/FONT]
