This is a subcomponent of a larger application I am working on but is a pretty neat widget on its own. The code loads any xml file on the www thats accessible to Flash and renders it as is. All attributes are rendered in a node named __attributes and have a different icon than node icons. This took me a couple of hours but is interesting if you are making the leap from the XML Object in AS2 to the e4x way of AS3. The app can be seen here and the source can be seen here
Whats interesting is xhtml stuff comes out looking pretty clean as well. Anyone thinking dom-reader type application ?
6 thoughts on “Showing XML structure in a Tree”