[fromxml](https://github.com/annotation/stam-tools/blob/master/docs/fromxml.md). In the templating language you can retrieve values of parent/child elements/attributes. Probably we also need to refer to sibling elements/annotations, e.g. previous page, next page. Extra care is needed to define what a sibling is!