| Attributes | | who | indicates the person, or group of people, to whom the element content is ascribed.| Status | Optional | | Datatype | 1–∞ occurrences of teidata.pointer separated by whitespace | In the following example from Hamlet, speeches (<sp>) in the body of the play are linked to <role> elements in the <castList> using the who attribute.<castItem type="role">
<role xml:id="Barnardo">Bernardo</role>
</castItem>
<castItem type="role">
<role xml:id="Francisco">Francisco</role>
<roleDesc>a soldier</roleDesc>
</castItem>
<sp who="#Barnardo">
<speaker>Bernardo</speaker>
<l n="1">Who's there?</l>
</sp>
<sp who="#Francisco">
<speaker>Francisco</speaker>
<l n="2">Nay, answer me: stand, and unfold yourself.</l>
</sp>
| | Note | For transcribed speech, this will typically identify a participant or participant group; in other contexts, it will point to any identified <person> element. |
|
|