you can't "call" a data tag, adding html to a hotspot is possible but not like this.
you can add layers to hotspots like this (but note that such layers do not show in webvr)
https://krpano.com/docu/xml/#layer.parent
|
Source code
|
1
2
3
4
|
<hotspot name="abc" ... />
<layer name="abc" parent="hotspot[abc]" ... >
<layer name="def" ... \>
</layer>
|
if you need webvr just stack hotspots
|
Source code
|
1
2
|
<hotspot name="abc_image" ... />
<hotspot name="abc_text" zorder="1" ... />
|