<classSpec>
<classSpec> 包含一個TEI元素集的參照資訊;元素集是一群在內容模組中同時出現、或共用某些屬性、或兩者皆包括的元素。 [23.3 Specification Elements 23.6 Class Specifications] | |||||||||||||||||||
組件 | tagdocs — Documentation Elements | ||||||||||||||||||
屬性 |
|
||||||||||||||||||
俱乐部会员 | |||||||||||||||||||
可包含在於 |
cmc: post
core: add corr del desc emph head hi item l meeting note orig p q quote ref reg said sic stage textLang title unclear
dictionaries: case colloc def dictScrap entryFree etym form gen gram gramGrp hyph iType lang lbl mood number orth per pos pron stress subc syll tns usg xr
msdescription: accMat acquisition additions collation condition custEvent decoNote filiation foliation layout musicNotation origin provenance signatures source summary support surrogates typeNote
namesdates: occupation
tagdocs: schemaSpec specGrp
textstructure: argument body div div1 div2 div3 div4 div5 div6 div7 docEdition epigraph imprimatur postscript salute signed titlePart trailer
verse: rhyme
|
||||||||||||||||||
可包含 | |||||||||||||||||||
例子 |
<classSpec module="tei" type="model"
ident="model.segLike"> <desc>匯集用於隨機分割的元素</desc> <classes> <memberOf key="model.phrase"/> </classes> <remarks> <p>The principles on which segmentation is carried out, and any special codes or attribute values used, should be defined explicitly in the <gi>segmentation</gi> element of the <gi>encodingDesc</gi> within the associated TEI header.</p> </remarks> </classSpec> |
||||||||||||||||||
Content model |
<content> |
||||||||||||||||||
宣告 |
<rng:element name="classSpec"> element classSpec { att.global.attributes, att.global.rendition.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, att.global.responsibility.attributes, att.global.source.attributes, att.identified.attributes, att.combinable.attributes, att.deprecated.attributes, att.typed.attribute.subtype, attribute type { "model" | "atts" }, attribute generate { list { ( "alternation" | "sequence" | "sequenceOptional" | "sequenceOptionalRepeatable" | "sequenceRepeatable" ), ( "alternation" | "sequence" | "sequenceOptional" | "sequenceOptionalRepeatable" | "sequenceRepeatable" )?, ( "alternation" | "sequence" | "sequenceOptional" | "sequenceOptionalRepeatable" | "sequenceRepeatable" )?, ( "alternation" | "sequence" | "sequenceOptional" | "sequenceOptionalRepeatable" | "sequenceRepeatable" )?, ( "alternation" | "sequence" | "sequenceOptional" | "sequenceOptionalRepeatable" | "sequenceRepeatable" )? } }?, ( ( model.identSynonyms | model.descLike )*, classes?, constraintSpec*, attList?, exemplum*, remarks*, listRef* ) } |