XML to object class - any xml tree

I’ve noticed tons of people writing xml parsers / load functions based specifically on each individual xml structure. A friend and I made this class that extends the XML class. You pass it your xml url and a callback method and it will convert any xml tree into an object where all nodes / attributes can be accessed via indices or object properties.

I’ve attached the class, an fla, and an xml sample so you can see how it all works. Hope you can find use of this.

Sounds great!
Any chance of exporting a sample for mx2004?
:sailor:

Sure - here is an MX sample:

Creatify
that rocks!

Nice work! :drool::thumb2:

I have been using a class from sephiroth.it for this purpose.
check it out here: http://www.sephiroth.it/index.php?blogId=2005_03_06_weekly.html

i made one that parses into an array ;/