Skip to content

Draft: Feature/#165 annotations html implementation of nested motifs



This MR provides an enhancement of the intermediate TEI that is created by motif-expansion.xqm: It is able to handle both simple and nested motifs now.

This feature will break some of the HTML serialization since it doesn't consider cases where motifs span several pages. This case will be handled in #167 (closed).

Compliance to “Definition of Done”

  • Unit tests passed
  • Code reviewed
  • Product Owner accepts the User Story


  • I updated the README (if applicable)
  • I provided my functions with appropriate documentation
  • I updated existing documentation


Are we able to test this new feature?

  • Yes, everything can be done via unit tests.
  • Yes, you can test by following these steps:


  • I added a statement to the CHANGELOG.

Version number

  • I bumped the version number in


Closes #165 (closed).

Logs and Screenshots

/cc Mathias Göbel, Frank Schneider, Michelle Weidling

Edited by Michelle Weidling

Merge request reports