I want to basically copy an xml object I have created, take the children from a specified node and make a new xml object from them and put this new xml into the tree component.
Can you see what is wrong with this?
[AS]myXML = new XML();
myXML.ignoreWhite = true;
myXML.load(“tree_source.xml”);
myXML.onLoad = function()
{
var newXML = myXML.firstChild.firstChild.childNodes;
myTree.dataProvider = newXML;
}[/AS]