How do we load the tree from calling a Ajax action?

How do we load the tree from calling a Ajax action?

:The
loading tree by AJAX can be done by two methods:

loadXML(url) - load xml from server by url ( sample
can be checked here - scbr.com/docs/products/dhtmlxTre … eEx11.html
)loadXMLString(string) - load xml from string, which
retrieved from server by some third party AJAX
library

Both functions are accessible from dhtmlxtree.js and
exist in common and pro versions (mentioning dhtmlxtree_gr.js in documentation
caused by incorrect documentation generation, there is no such extension at
all, and most functions, mentioned as placed in dhtmlxtree_gr.js, exist in
dhtmlxtree.js)