dhtmlTree

Hello Team,



Can a load a XML file which is located at server side…



I am using this code to load xml file from server, but my parent node only visible at browser not child nodes. Kindly assist me.



--------------------------------------------------------



    



        MyDriveWay

            

    


                    


                        


                    




    



-----------------------------------------------------------------------------------



Regards,

Nirmala Kolura

a) you need to use both loadXML and set setXMLAutoLoading commands. setXMLAutoLoading just allows to set the script name, which will be used for sub-calls. You still need to call loadXML , to load top level of tree.

b) please be sure that you have correct XML
    - folder items, which require additional XML loading, must have “child” attribute set in XML
    - the XML generated to the child items, must have correct value of “id” attribute for top tag in XML ( it must point to ID of related parent item )