<schemaSpec>
<schemaSpec> (schema specification) 建立一個符合TEI標準的模型以及該模型文件。 [2.3 The Encoding Description 22.2 Modules and Schemas 23.5.1 Making a Unified ODD] | |||||||||||||||||||||||||||||||||||
組件 | tagdocs — Documentation Elements | ||||||||||||||||||||||||||||||||||
屬性 | att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.identified (@ident, @predeclare, @module) (att.combinable (@mode) (att.deprecated (@validUntil)) ) att.namespaceable (@ns) att.docStatus (@status)
| ||||||||||||||||||||||||||||||||||
俱乐部会员 | |||||||||||||||||||||||||||||||||||
可包含在於 | header: change encodingDesc handNote licence scriptNote msdescription: accMat acquisition additions collation condition custEvent decoNote filiation foliation layout musicNotation origin provenance signatures source summary support surrogates typeNote namesdates: occupation tagdocs: specGrp transcr: metamark | ||||||||||||||||||||||||||||||||||
可包含 | |||||||||||||||||||||||||||||||||||
註 | A schemaSpec combines references to modules, individual element or macro declarations, and specification groups together to form a unified schema. The processing of the schemaSpec element must resolve any conflicts amongst the declarations it contains or references. Different ODD processors may generate schemas and documentation using different concrete syntaxes. The source may be specified in the form of a private URI, for which the form recommended is | ||||||||||||||||||||||||||||||||||
例子 | <schemaSpec prefix="TEI_" ident="testsvg" start="TEI svg"> <moduleRef source="tei:current" key="header"/> <moduleRef key="core"/> <moduleRef key="drama"/> <moduleRef url="svg11.rng"/> </schemaSpec> This schema combines elements from the current versions of the drama and core modules, the current release version of the header module, and elements from an existing RELAX NG schema available from the URL indicated. | ||||||||||||||||||||||||||||||||||
Content model | <content> | ||||||||||||||||||||||||||||||||||
宣告 | <rng:element name="schemaSpec"> element schemaSpec { 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.namespaceable.attributes, att.docStatus.attributes, attribute start { list { teidata.name+ } }?, attribute prefix { teidata.xmlName }?, attribute targetLang { teidata.language }?, attribute docLang { list { teidata.language+ } }?, attribute defaultExceptions { list { teidata.namespaceOrName+ } }?, ( ( model.glossLike | model.descLike )*, ( model.oddRef | model.oddDecl )* ) } |