<classSpec>
<classSpec> 包含一個TEI元素集的參照資訊;元素集是一群在內容模組中同時出現、或共用某些屬性、或兩者皆包括的元素。 | |||||||||||||||
組件 | tagdocs — 22 Documentation Elements | ||||||||||||||
屬性 | att.identified (@ident, @predeclare, @module, @mode)
| ||||||||||||||
屬於 | |||||||||||||||
可包含 | |||||||||||||||
宣告 |
element classSpec { att.global.attributes, att.identified.attributes, attribute type { "model" | "atts" }, attribute generate { list { ( "alternation" | "sequence" | "sequenceOptional" | "sequenceOptionalRepeatable" | "sequenceRepeatable" ), ( "alternation" | "sequence" | "sequenceOptional" | "sequenceOptionalRepeatable" | "sequenceRepeatable" )* } }?, ( model.glossLike*, classes?, attList?, exemplum*, remarks*, listRef* ) } | ||||||||||||||
例子 | <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> |