Re: Preventing second click
Sounds to me you are trying the following: Data (xml) + XSLT for several sections of your page. Sounds like AJAX + xslt and sounds like you should best use Prototype JS library (http://prototype.conio.net/ for 1.4, newer version is delivered with the http://script.aculo.us library or from svn).
The second bet is: use Prototype (or write it yourself) to automatically interprete any script that is inside the result-dom and interpret it.
It should not matter whether you use separate xslt files or not, as long as you keep in mind that not all objects are ready at any given time. Meaning: if you call a script (when the user clicks or automatically) that needs objects from another xslt transform, you must be sure that the other xslt transformation (does it get its data async or not?) is finished and has its objects rendered.
Abel Braaksma http://www.nuntia.com
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format