add abstract data-type
change spans to *
hack to get notes with headings to be valid cnxml