Required library edition: Required library file: dhtmlxtoolbar.js
loads data to object from xml file
toolbar.loadXML("file.xml", function(){ // code here }); // or function doOnLoad(){ // code here } toolbar.loadXML("file.xml", doOnLoad);