Need help with big xml file autoloading

Hi,
I have a very big xml file as a source of my my tree. After going thru the forum I learned that I’ll have to use xmlAutoloading and SmartParsing. But I am not sure how to do it. This is what I have so far.
tree.enableSmartXMLParsing(true);
tree.setXMLAutoLoading(“/att-gs-mobility-theme/tree4.xml”);
tree.loadXML(“/att-gs-mobility-theme/tree4.xml”);

Is this the right way to use XMLAutoloading with an xml file? I have seen examples with php scripts for autoloading; so should i need to write a JSP code?

Auto-loading expects to use some kind of dynamic script on server side. The main idea of auto-loading - load not all data from the server side but only necessary branches of tree. So single XML file will not work

While design is oriented on server side scripts, it possible to split the single xml file in lot of small files and use auto-loading files with such small files ( can be done through tree.setXMLAutoLoadingBehaviour )

Also, how huge in your tree. If it well formed - smartXMLParsing can be enough to resolve performance problems.