My JS Code
set(hotspot[hotspot2].style, "hotspot_ani_white");
set(hotspot[hotspot2].ath, 30);
set(hotspot[hotspot2].atv, 20);
set(hotspot[hotspot2].scale, 0.5);
i want to create like this xml code
<hotspot name="er_to_lr" style="hotspot_ani_white" caption="Rome" ath="2.56" atv="10.54" tooltip="get:scene[lr].title" onclick="scene3dtransition(lr);"/>