I would like to use includes more dynamicly. This for instance could be handy if you handle language files. You have to load 1 included xml instead of 10.
Since addVariables have to be defined before krpano begins, could it alsoo be used to include xml like this?
viewer.addVariable(include.url, somefile.xml);
Another possible way would by using if statements. You already have something like that, with the devices tag
<include url="somexml" devices="flash" />
where flash validates true or false.
condition="language==uk" or condition="screenwidth GT 1024"
or more on a action based level
<action name="load">
if(language == uk,
addinclude(somexml);
//set(include.url, somexml.xml);
);
</action>