# Browsing xml

**URL:** <https://forum.kirupa.com/t/browsing-xml/267666>\
**Category:** Uncategorized\
**Created:** [August 4, 2008, 4:41pm UTC](https://forum.kirupa.com/t/browsing-xml/267666 "2008-08-04T16:41:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![danny0085](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@danny0085](https://forum.kirupa.com/u/danny0085)\
**Post date:** [August 4, 2008, 4:41pm UTC](https://forum.kirupa.com/t/browsing-xml/267666/1 "2008-08-04T16:41:04Z")

</div>

I have an XML file:

\<espanol\>  
\<cat\_hos\> Hospedaje \</cat\_hos\>  
\<cat\_ali\> Alimentaci$oacento;n \</cat\_ali\>  
\</espanol\>

I need to access every node and make operations

for each(var nodo:XML in myXML.elements())  
{  
nodo\_nombre = String(nodo.name());  
trace(nodo\_nombre); // cat\_hos   
trace(myXML.nodo\_nombre); // null --\> what is the error?  
}
