Note on Element Classes
C. M. Sperberg-McQueen
1 February 1997
TEI TC Core W03
Table of Contents
The phrase-level class contains directly and indirectly the following
subclasses and elements; elements marked * are not listed in the
printed documentation.
- x.phrase
- m.data, which contains:
- %x.data | abbr | address | date | dateRange | dateStruct | expan |
lang | measure | name | num | orgName* | rs | time | timeRange |
timeStruct
- m.edit, which contains
- %x.edit | add | addSpan* | app* | corr | damage* | del | delSpan* |
gap
| orig | reg | restore* | sic | space* | supplied* | unclear*
- m.formPointers, which contains
- %x.formPointers | oRef | oVar | pRef | pVar
- m.hqphrase, which contains
- %x.hqphrase | distinct | emph | foreign | gloss | hi | mentioned |
soCalled | term | title
- m.loc, which contains
- %x.loc | link | ptr | ref | xptr | xref
- m.phrase.verse, which contains
- %x.phrase.verse | caesura
- m.seg, which contains
- %x.seg | anchor | c | cl | m | phr | s | seg | w
- m.sgmlKeywords, which contains
- %x.sgmlKeywords | att | gi | tag | val
- Several elements included directly:
The inter-level class contains the following; items marked * are not
listed in P3's reference material:
- x.inter
- m.bibl, which contains
- %x.bibl | bibl | biblFull | biblStruct
- m.hqinter, which contains
- %x.hqinter | cit | q | quote
- m.lists, which contains
- %x.lists | label | list | listBibl
- m.notes, which contains
- %x.notes | note | witDetail*
- m.stageDirection, which contains
- %x.stageDirection | camera | caption | move | sound | tech | view
- Elements included directly:
- castList
- figure
- stage
- table
- text
The class chunk includes the following elements, all
directly:
- eTree
- graph
- l
- lg
- p
- sp
- tree
- witList*
The class common contains most of the same elements
and subclasses as inter:
- x.common
- m.bibl
- m.chunk
- hqinter
- lists
- notes
- <stage>
As compared with inter, the class common
adds chunk and omits
- m.stageDirection (part of the drama tag set)
- <castList> (drama)
- <figure> (figures)
- <table> (figures)
- <text> (core)
I think the last three are an error and belong in
common.
The following elements are declared with paraContent
and no end-tag omission:
- camera
- case
- emph
- figDesc
- foreign
- gen
- hi
- itype
- lang
- meeting
- number
- ref
- region
- seg
- writing
The following allow end-tag omission:
- admin
- admin
- caption
- cell
- colloc
- country
- damage
- def
- descrip
- descrip
- docEdition
- gram
- gram
- gram
- head
- hyph
- imprimatur
- l
- lbl
- mood
- orth
- otherForm
- otherForm
- p
- per
- pos
- pron
- rendition
- sound
- stress
- subc
- supplied
- syll
- tagUsage
- tech
- title
- titlePart
- tns
- tr
- unclear
- usg
- witDetail
- witness
- xref
The following use paraContent with modifications:
<!ELEMENT %n.etym; - O (%paraContent | %n.usg; | %n.lbl;
| %n.def; | %n.trans; | %n.tr;
| (%m.morphInfo) | %n.eg; | %n.xr;)* >
<!ELEMENT %n.form; - - (%m.formInfo | %paraContent)+ >
<!ELEMENT %n.gramGrp; - - (%m.gramInfo | %paraContent)* >
<!ELEMENT %n.lem; - O (%paraContent) +(%m.fragmentary) >
<!ELEMENT %n.rdg; - O (%paraContent) +(%m.fragmentary) >
<!ELEMENT %n.trans; - O (%paraContent | %m.dictionaryParts)* >
<!ELEMENT %n.xr; - O (%paraContent | %n.usg; | %n.lbl;)* >
The following elements are declared with phrase.seq
and no end-tag omission:
- abbr
- addName
- affiliation
- birth
- bloc
- classCode
- cl
- date
- del
- distance
- distinct
- expan
- forename
- genName
- gloss
- langKnown
- mentioned
- measure
- name
- nameLink
- num
- occasion
- occupation
- orgtitle
- orgtype
- orgdivn
- orig
- phr
- pubPlace
- reg
- roleDesc
- roleName
- rs
- settlement
- soCalled
- surname
- term
- time
- timeRange
The following are also declared with phrase.seq, but do
allow end-tag omission:
- actor
- activity
- addrLine
- author
- authority
- biblScope
- channel
- constitution
- creation
- dateRange
- derivation
- distributor
- domain
- docAuthor
- docDate
- editor
- education
- edition
- extent
- factuality
- firstLang
- funder
- fw
- headLabel
- headItem
- interaction
- language
- label
- locale
- preparedness
- principal
- publisher
- purpose
- residence
- resp
- restore
- role
- salute
- signed
- socecStatus
- sponsor
- street
- symbol
- trailer
- wit
The following elements refer to phrase.seq in their
content models:
<!ELEMENT %n.byline; - O (%phrase.seq; | %n.docAuthor;)* >
<!ELEMENT %n.catDesc; - o (%phrase.seq; | %n.textDesc;) >
<!ELEMENT %n.docImprint; - O (%phrase.seq; | %n.pubPlace;
| %n.docDate; | %n.publisher;)* >
<!ELEMENT %n.orgName; - - (%phrase.seq) +(orgtitle
| orgtype
| orgdivn) >
<!ELEMENT %n.s; - - (%phrase.seq) -(s) >
<!ELEMENT %n.speaker; - O (%phrase.seq) -(speaker) >
The following also refer to phrase, though not to
phrase.seq
<!ELEMENT %n.bibl; - o (#PCDATA | %m.phrase; | %m.biblPart;)* >
<!ELEMENT %n.entryFree; - O (#PCDATA) +(%m.dictionaryParts
| %m.phrase
| %m.inter) >
<!ELEMENT %n.persName; - - (%m.personPart; | %m.phrase; | #PCDATA)* >
<!ELEMENT %n.castItem; - O (%n.role; | %n.roleDesc; | %n.actor;
| (%phrase.seq))* >
<!ELEMENT %n.sense; - - (%n.sense; | %m.dictionaryTopLevel
| %m.phrase | #PCDATA)* >
<!ELEMENT %n.re; - O (%n.sense; | %m.dictionaryTopLevel
| %m.phrase | #PCDATA)*-(re) >
<!ELEMENT %n.opener; - O (%n.signed; | %n.dateline; | %n.salute;
| %phrase.seq;)* >
<!ELEMENT %n.closer; - O (%n.signed; | %n.dateline; | %n.salute;
| %phrase.seq;)* >
<!ELEMENT %n.placeName; - - ((%m.placePart; | %m.phrase; | #PCDATA)+) >
<!ELEMENT %n.u; - - ((%phrase | %m.comp.spoken)+) >
The following elements are declared with specialPara:
- add
- corr
- item
- note
- q
- quote
- set
- sic
- stage
- view