I am working on an online project management system and I would ideally like to use XML and the Tree component as it would simplify things imensly for me.
What I ideally want to do is to grab XML from my server bit by bit - getting the whole thing at one time would just be monsterous. The server side bit is working nicely - Flash queries the server and it returns all the children from a specified node.
I need to know how I can add these into an existing XML object in flash.
For example, I have this XML structure in flash:
<node label="placeholder" isBranch="true" />
and this XML structure loaded in from the server:
<node label="placeholder1" isBranch="true" />
<node label="placeholder2" isBranch="true" />
What I want is to replace the first place holder with all of the second XML structure.
I hope this makes some kinda sense. This is my first foray into XML so I apologise for any glaring mistakes.
Any help would be greatly appreciated.