Without code hard to say but you could easily create a text layer somewhere and set the html by action.. or event.
Like
<events name="tit" keep="true" onnewscene="set(layer[title].html,calc:scene[get(xml.scene)].title);" />
or so..
of course the title layer is outside the scene structure (global layer) and has keep is true.
Hope it helps
Tuur