title: dhtmlxgrid using custom xml
body: <p>I am trying to use my custom xml below.... i tried to load it to dhtmlxgrid but it doesnt seem to be loading at  </p>
  
  <p>I have attached the custom xml file?  How can i go about adding the custom xml to dhtmlxgrid?</p>
  
  <pre><code>           &lt;link rel="STYLESHEET" type="text/css" href="../../codebase/dhtmlxgrid.css"&gt;
  &lt;link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxgrid_dhx_skyblue.css"&gt;
  &lt;script  src="../../codebase/dhtmlxcommon.js"&gt;&lt;/script&gt;
  &lt;script  src="../../codebase/dhtmlxgrid.js"&gt;&lt;/script&gt;        
  &lt;script  src="../../codebase/dhtmlxgridcell.js"&gt;&lt;/script&gt;        
  &lt;script  src="../../codebase/ext/dhtmlxgrid_data.js"&gt;&lt;/script&gt;    
  &lt;script  src="../../codebase/ext/dhtmlxgrid_data.js"&gt;&lt;/script&gt;
  
  
  
  &lt;div id="gridbox" style="width:500px; height:270px; background-color:white;"&gt;&lt;/div&gt;
  
  &lt;b&gt;"xmlA"&lt;/b&gt; format
  &lt;a href="javascript:void(0)" onclick="mygrid.xml.top='rows';mygrid.xml.row='./row';mygrid.clearAll();mygrid.load('php/xmlA.php','xmlA');"&gt;Reload grid from xml file in xmlA format&lt;/a&gt;&lt;br/&gt;
  &lt;br/&gt;
  &lt;b&gt;"xmlB"&lt;/b&gt; format
  
  &lt;a href="javascript:void(0)" onclick="mygrid.xml.top='rows';mygrid.xml.row='./row';mygrid.clearAll();mygrid.load('php/xmlB.php','xmlB');"&gt;Reload grid from xml file in xmlB format&lt;/a&gt;    
  &lt;script&gt;
  
  mygrid = new dhtmlXGridObject('gridbox');
  mygrid.setImagePath("../../codebase/imgs/");
  mygrid.setHeader("Column A, Column B,Column C");
  mygrid.setInitWidths("80,200,*");
  mygrid.setColAlign("right,left,left");
  mygrid.setColTypes("dyn,ed,ed");
  mygrid.setColSorting("int,str,str");
  mygrid.setColumnIds("first,second,third");
  /*mygrid.xml.top = "mytop";
  mygrid.xml.row = "./myrow";*/
  mygrid.xml.top = "Root";
  mygrid.xml.row = "./AuditTrail";
  mygrid.xml.cell="./Time";
  mygrid.xml.cell="./UserID";
  mygrid.xml.cell="./Type";
  mygrid.xml.cell="./Description";
  mygrid.xml.cell="./val0";
  mygrid.init();
  mygrid.setSkin("dhx_skyblue");
  mygrid.load("../common/audit.xml", "xml");
  //mygrid.load("../common/custom.xml", "xml");
  
  &lt;/script&gt;
  </code></pre>
  
  <p>XML file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
    &lt;Root&gt;
      &lt;AuditTrail&gt;
        &lt;Time&gt;2012-01-10 09:27:30 (GMT-05:00)&lt;/Time&gt;
        &lt;UserID&gt;DX&lt;/UserID&gt;
        &lt;Type&gt;FY [REC]&lt;/Type&gt;
        &lt;Description&gt;Server: wamp&lt;/Description&gt;
        &lt;val0&gt;1&lt;/val0&gt;
      &lt;/AuditTrail&gt;
      &lt;AuditTrail&gt;
        &lt;Time&gt;2012-01-10 09:27:30 (GMT-05:00)&lt;/Time&gt;
        &lt;UserID&gt;DX&lt;/UserID&gt;
        &lt;Type&gt;FY [REC]&lt;/Type&gt;
        &lt;Description&gt;Server:tomcat&lt;/Description&gt;
        &lt;val0&gt;1&lt;/val0&gt;
      &lt;/AuditTrail&gt;
      &lt;AuditTrail&gt;
        &lt;Time&gt;2012-01-10 09:27:30 (GMT-05:00)&lt;/Time&gt;
        &lt;UserID&gt;DX&lt;/UserID&gt;
        &lt;Type&gt;FY [REC]&lt;/Type&gt;
        &lt;Description&gt;Server: apache&lt;/Description&gt;
        &lt;val0&gt;1&lt;/val0&gt;
      &lt;/AuditTrail&gt;
  /Root&gt;
  </code></pre>