I have a tree structure loaded with xml data using function loadXML(url)
url returns an xml data which is used to create the tree.
My initial tree loading working as required. However, after some time interval we want to reload the xml tree.
We are again calling the same function loadXML(url) to refresh the entire tree.
However, the xml data is added with the old data(don’t know the reason) and the tree created contains multiple nodes. Kindly let me know the solution.
Also, kindly know how the old state of tree can be maintained.