dhtmlxtree XML reffers to not existing parent

Hi



I have a problem whe loadin xml with tree.loadXML("/bin/listini/treeLG.php?azione=modelli&lev=1&marca=1");



this is the returned xml



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

    

        

            /bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_150_

        

        

            /bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_150_C

        

        

            /bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_198_

        

        

            /bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_199_

        

        

            /bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_199_L

        

        

            /bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_135_2

        

        

            /bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_194_1

        

        

            /bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_186_1.006

        

        

            /bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_119_

        

        

            /bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_189_2

        

        

            /bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_169_

        

        

            /bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_169_9.006

        

        

            /bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_188_6

        

        

            /bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_300_

        

        

            /bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_189_

        

        

            /bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_187_5.001

        

        

            /bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_179_1

        

    



if this xml is loaded as string work fine





what’s the problem



Sorry for my bad english



Thank



Alberto


Hello


Please check that you have set correct content type:


header(“Content-type: text/xml”);


Also please check the article dhtmlx.com/dhxdocs/doku.php?id=o … orrect_xml