Loading XML file problem

hi

I’m new to dhtmlx tree component and trying to load a simple xml file into the tree and struggling with errors. I tried following the simple tutorial / samples but still cant get it work. what am I missing? Do you require some special license file to get this working? I believe I’m using the standard dhtmlx version on my local pc.

if it helps I get the following error in firefox ( though the same errors appies to IE too)

Error: uncaught exception: [Exception… “Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]” nsresult: “0x80070057 (NS_ERROR_ILLEGAL_VALUE)” location: “JS frame :: localhost/KTWeb/codebase/dhtmlx.js :: anonymous :: line 22” data: no]

code is as follows:

function doOnLoad() {
myLayout = new dhtmlXLayoutObject(document.body, “2U”);
myLayout.cells(“a”).setWidth(250);
myLayout.cells(“a”).setText(“Knowledge”);
myLayout.cells(“b”).hideHeader();

      myTree = myLayout.cells("a").attachTree("0");
      myTree.setImagePath("codebase/imgs/");
      myTree.setXMLAutoLoading("xml/xmlFile1.xml");
      myTree.loadXML();
  }
... ...

xml file is as follows:

<?xml version='1.0' encoding='iso-8859-1'?> true

First of all you should add a parameter to myTree.loadXML() command.
Something about this:

myTree.loadXML("xml/xmlFile1.xml");

Also read the this tutorial about dynamical loading http://docs.dhtmlx.com/doku.php?id=dhtmlxtree:increasing_tree_s_performance#dynamical_loading