[jQuery] treeview

[jQuery] treeview


I have a xml file which has the data to be loaded in the treeview.
First of all, I would be really glad if treeview can read any xml.
Then I can convert my xml to that sort. Secondly, if I have to provide
an unordered list, which I can generate from the xml; what will be the
way of dynamically adding a node ?
Lastly, my tree view will reside in a tab of jquery ui. And it will
not be populated when the document becomes ready. Rather it will grow
with the activities the user perform. Here I am lost where will I make
the div a treeview ? Like what will I bind with the initialization
function treeview()?
$(document).click(function(){
    $('#job_proc').treeview();
});
While I do with click function, it gets executed with the + and - sign
click as well.
Any sort of clue will be appreciated.