If I want to make a skin customizable I can use $getVar(). So instead of writing
$day.radiation.max
I can write
#set $obs = 'day.radiation.max'
...
$getVar($obs)
But how to do that with other bindings than the standard binding?
I tried
#set $obs = 'day(data_binding="xyz_binding").xyz.max'
...
$getVar($obs)
but that does not work (and yes, "xyz_binding" is defined, and there is an observation type "xyz" in it, and $day(data_binding="xyz_binding").xyz.max shows a value).
Is there a way to use a binding, if the tag is defined by an expression?
Remark: These are examples. At the end I want to use it within a #for loop.