This is a prototype to convert a valid XML string into an array object tree similar to the SWiSHmax movie's directory tree. Node attributes are placed in an 'attributes' object and direct references are made in the parent node for children with id attributes set. Case sensitivity is strict.
This method sets up a new property on the XML object, an aot (array object tree) which is literally an object model of the XML data loaded. It gives this object the nodeName of the XML's first child.
This work was originally started in Flash by J.Milkins and M. Ziebell but was considerably modified here for use in SWiSHmax.