Although above we have discussed building a static text file to hold the node data, the node data can also be supplied
by a server side script (eg. PHP, ASP, JSP or Perl etc). This opens the possibility for the node data to be dynamically
loaded from data held within a database.
Such a server side script may be constructed in any language of your choice. The only requirement is that the output
of the script provides the node data in the format described above.
This opens up many possibilities for producing dynamic tree content. A script can be written to acquire data from
virtually any data source, process the data and even generate node data based upon session data (ie. a user ID).
To configure the tree to acquire the node data from your own server side script simply set the "Nodedata"
parameter to the URL pointing to your script. eg.
<param name="Nodedata" value="http://www.yourdomain.com/nodedata.php">
For and example of this click