# Getting a value from XML

**URL:** <https://forum.kirupa.com/t/getting-a-value-from-xml/78369>\
**Category:** Uncategorized\
**Created:** [February 3, 2005, 9:16pm UTC](https://forum.kirupa.com/t/getting-a-value-from-xml/78369 "2005-02-03T21:16:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![afmaury](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@afmaury](https://forum.kirupa.com/u/afmaury)\
**Post date:** [February 3, 2005, 9:16pm UTC](https://forum.kirupa.com/t/getting-a-value-from-xml/78369/1 "2005-02-03T21:16:48Z")

</div>

I am loading XML into my Flash movie. I would like to use one of the nodes as a type of indicator. The node will look like this:

> \<entry channels=“0 , 1” date=“01/25/2005”\>

I have this value into an array. When I trace it, I get “0, 1”, which is correct. What I would like to do is read the value of this node. If there is a “0” in there, I want to do one thing. If not, then move on. How can I use this value to do this?

Thanks for the help and let me know if I am not being clear.
