tree
addobject.com
Load Tree from XML (Server Side)
NlsTree Professional - Advanced Javascript Tree Control
   

 Expand All Collapse All

Loading tree from XML on server side is basically the same as writing tree initialization code directly on the page. This example generates the tree from xml file. It reads xml file, parses and constructs tree scripts on server side then output it to browser.

Generate Tree from XML file: tree.xml tree2.xml
View the XML file: View tree.xml View tree2.xml

Notes:

  • The tree is loaded from xml on server side.
  • Maintain State option is enabled. The tree will back to last state when browser refreshed/reloaded.
    Click here to reset the state.
  • NlsTree also supports loading tree from XML on client side (browser). Click here to view the example.