att.ascribed
provides attributes for elements representing speech or action that can be ascribed to a specific individual.
Module tei
Attributes
- @whoindicates the person, or group of people, to whom the element content is ascribed.
- Status
- 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>
Classes and content
- Used by
- Members