can anyone please assist me in figuring out what the XML structure needs to be from the following code:
var months:Array = this.firstChild.childNodes;
var days:Array = this.firstChild.childNodes;
var years:Array = this.firstChild.childNodes;
var details:Array = this.firstChild.childNodes;
for (i=0; i<details.length; i++) {
ma.push(months*.attributes.month);
da.push(days*.attributes.day);
ya.push(years*.attributes.year);
det.push(details*.attributes.detail);
}
i have the code, and it needs a file called events.xml, but I don’t have the events.xml file to know what the XML structure should be…so I’m trying to reverse engineer this.
any help would be really awesome and appreciated.
thx!