<editor>

<editor> secondary statement of responsibility for a bibliographic item, for example the name of an individual, institution or organization, (or of several such) acting as editor, compiler, translator, etc. 3.11.2.2 Authors, Titles, and Editors
Modulecore — 3 Elements Available in All TEI Documents
AttributesIn addition to global attributes
rolespecifies the nature of the intellectual responsibility
Status Optional
Datatype

<rng:ref name="data.enumerated"/>
data.enumerated
Values semi-open list (examples might include: translator, editor, compiler, illustrator, etc.)
Used by
May contain
Declaration

<rng:element name="editor">
<rng:ref name="att.global.attributes"/>
<rng:optional>
 <rng:attribute name="rolea:defaultValue="editor">
  <rng:ref name="data.enumerated"/>
 </rng:attribute>
</rng:optional>
<rng:ref name="macro.phraseSeq"/>
</rng:element>
element editor
{
   att.global.attributes,
   attribute role { data.enumerated }?,
   macro.phraseSeq
}
Example
<editor>Eric Johnson</editor>
<editor role="illustrator">John Tenniel</editor>
Note
A consistent format should be adopted.
Particularly where cataloguing is likely to be based on the content of the header, it is advisable to use generally recognized authority lists for the exact form of personal names.