Skip to content

<classRef>

points to the specification for an attribute or model class which is to be included in a schema.

Module tagdocsTDCLA

Attributes

@keythe identifier used for the required class within the source indicated.
Status
Required
Datatype
teidata.xmlName
@expandindicates how references to this class within a content model should be interpreted.
Status
Optional
Legal values
alternation
any one member of the class may appear
sequence
a single occurrence of all members of the class may appear in sequence
sequenceOptional
a single occurrence of one or more members of the class may appear in sequence
sequenceOptionalRepeatable
one or more occurrences of one or more members of the class may appear in sequence.
sequenceRepeatable
one or more occurrences of all members of the class may appear in sequence

Classes and content

Member of
May contain
empty
Contained by

Note

Attribute and model classes are identified by the name supplied as value for the @ident attribute on the classSpec element in which they are declared. All TEI class names are unique; attribute class names conventionally begin with the letters att..

Example

<schemaSpec ident="myTEIe" start="TEI">
  <moduleRef key="tei"/>
  <moduleRef key="core" include="abbr add core addrLine address author bibl biblScope choice cit corr date del desc divGen editor emph expan foreign gap gloss graphic head hi index item l label lb lg list listBibl mentioned milestone name note num orig p pb ptr pubPlace publisher q ref reg relatedItem resp respStmt rs sic soCalled sp speaker stage teiCorpus term time title unclear"/>
  <moduleRef key="header" include="authority availability catRef category change classCode classDecl creation distributor edition editionStmt editorialDecl encodingDesc extent fileDesc funder idno keywords langUsage language licence notesStmt principal profileDesc projectDesc publicationStmt refsDecl revisionDesc samplingDecl seriesStmt sourceDesc sponsor taxonomy teiHeader textClass titleStmt"/>
  <moduleRef key="textstructure" include="TEI argument back body byline closer dateline div docAuthor docDate docEdition docImprint docTitle epigraph front group opener postscript salute signed text titlePage titlePart trailer"/>
  <classRef key="att.global.facs"/>
</schemaSpec>

Content model

<content>
  <empty/>
</content>