In old FrameMaker+SGML, there was an annotation-grouping tag "AnnGroup" that was very useful to set up an annotations workflow open to various contributors (interns and scholars identified though the "resp" attribute) of scholarly annotations and to editors charged with improving the drafted annotations. The "type" attribute was used to indicate the editorial progress of an annotation from draft to final printer-ready version. As a result, the file containing the entire series of annotations for a full volume with many discrete texts consisted of a long series of AnnGroups, each one of which was linked to a specific place in those texts, with a lemma reproducing the text being annotated, shared by the distinct <annotation>s within the group. The nesting allowed us to conserve the entire genealogical history of each annotation, for it extended to every entry. The "type" attribute included the value "rejected" so that a group could be skipped or ignored when the file was asked to display only the notes with type value "print-ready". The list of all those print-ready annotations would then become, after rekeying, a principal section of the volume’s back-matter.
The example below shows a generalization of that principle (in FrameMaker+SGML, <note> was <annotation>). The explicit grouping was therefore indispensable for display clarity and target economy within such a long file.
<AnnGroup><link target=#docid-page#-line#/><lem>text segment in need of annotation</lem>
<note resp="AW" type="draft"><p>first version of annotation</p></note>
<note resp="ADT" type="revise"><p>second version of annotation</p></note>
<note resp="GenEd" type="print-ready"><p>final version of annotation</p></note>
André De Tienne, Ph.D.
Director and General Editor
Peirce Edition Project
Institute for American Thought
Professor of Philosophy
Department of Philosophy
Editor-in-chief, The American Journal of Semiotics
Indiana University School of Liberal Arts
Indiana University–Purdue University Indianapolis
902 W New York St
Indianapolis, IN 46202-5197