dhtmlxtree XML reffers to not existing parent

Hi



I have controlled my source code:



This is the html source:







Untitled Document



































-----------

This is the source of treeLGTest.php:



<?php

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

echo ‘<?xml version="1.0" encoding="iso-8859-1"?>’;

echo ‘’;

echo ‘’;

echo ‘/bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_150_’;

echo ‘’;

echo ‘’;

echo ‘/bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_150_C’;

echo ‘’;

echo ‘’;

echo ‘/bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_198_’;

echo ‘’;

echo ‘’;

echo ‘/bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_199_’;

echo ‘’;

echo ‘’;

echo ‘/bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_199_L’;

echo ‘’;

echo ‘’;

echo ‘/bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_135_2’;

echo ‘’;

echo ‘’;

echo ‘/bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_194_1’;

echo ‘’;

echo ‘’;

echo ‘/bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_186_1.006’;

echo ‘’;

echo ‘’;

echo ‘/bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_119_’;

echo ‘’;

echo ‘’;

echo ‘/bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_189_2’;

echo ‘’;

echo ‘’;

echo ‘/bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_169_’;

echo ‘’;

echo ‘’;

echo ‘/bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_169_9.006’;

echo ‘’;

echo ‘’;

echo ‘/bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_188_6’;

echo ‘’;

echo ‘’;

echo ‘/bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_300_’;

echo ‘’;

echo ‘’;

echo ‘/bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_189_’;

echo ‘’;

echo ‘’;

echo ‘/bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_187_5.001’;

echo ‘’;

echo ‘’;

echo ‘/bin/listini/treeLG.php?azione=versioni&codice=TLM_01_01_179_1’;

echo ‘’;

echo ‘’;

exit;

?>

-----



when i execute the html the error is: “XML reffers to not existing parent”;



whats the problem??



Thanks



Alberto Giolito

You have “&” chars in XML, which are breaking xml syntax, you need to replace them with &