Hello,
If I understand you correctly, you've loaded a pano, and then you would like to load a set of hotspots on that already loaded pano. These hotspots are dynamically generated into another xml file.
If you don't mind reloading your existing pano, you can put an include statement in the xml for your pano which will load the dynamically generated hotspots each time you reload the panorama.
I did a little work in javascript using XMLHttpRequest where I could read an xmlfile, traverse the DOM tree and create the krpano actions to implement the hotspots from the xmlfile. It worked great until I tried to embed it in a krpano panorama and then the XMLHttpRequest stopped working! Perhaps one of our local Ajax experts can figure out how to get this to work, I was trying to use the Microsoft.XMLDOM ActiveXObject (or document.implementation.createDocument for non-IE browsers) to parse the XMLfile and create a traversable data structure.
How are you dynamically generating the hotspot xml file? Can you instead generate a javascript file which contains the commands to create the hotspots? If so, you could dynamically load the javascript file from within krpano to generate your hotspots.
steve