I just cant seem to get my head around how how to work with xml.
I have a simple xml-file:
<data>
<row Day="20050116" Assignment="Homework" />
<row Day="20050117" Assignment="Read" />
<row Day="20050118" Assignment="Grammar" />
</data>
Well, I want to be able to search for an Assignment knowing the correct date.
var XMLvalue:string = "20050117";
var my_xml = new XML();
my_xml.onLoad = function(success){
if (success){
// search for correct Assignment using the variable "XMLvalue"
}
my_xml.load("data.xml");
So its the searching part that I dont know how to do. Please help