you're not on the wrong track, you can do it that way ...
seems more a problem of understanding set, get and copy (?)
---> if a and b are variables
your code:
set(a,b); --> a = "b", not the content of b
copy(a, get(b)); --> you could do that if b="c" and you want the content of variable c (is not the case here)
what you want is: set(a, get(b)); --> a = content of b
or shorter: copy(a, b); --> a = content of b
most krpano actions expect direct content for their arguments, not variables
for these you need get() to replace the variable by its content
exceptions are : copy, trace, debug, error, warning (and some others)
for your thing this probably works... (openurl expects an url, not a variable)
|
Quellcode
|
1
2
3
|
<action name="a_openlocalizedurl">
openurl(get(data[url_infopoint-%1-%2].content));
</action>
|
(untested)