<schemaSpec>
<schemaSpec> (schema specification) generates a TEI-conformant schema and documentation for it. [2.3 The Encoding Description 22.2 Modules and Schemas 23.5.1 Making a Unified ODD] | |||||||||||||||||||||||||||||
Module | tagdocs — Documentation Elements | ||||||||||||||||||||||||||||
Attributes | att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) att.identified (@ident, @predeclare, @module, @status) (att.combinable (@mode) (att.deprecated (@validUntil)) ) att.namespaceable (@ns) att.readFrom (@source)
| ||||||||||||||||||||||||||||
Member of | |||||||||||||||||||||||||||||
Contained by | header: change encodingDesc handNote licence scriptNote typeNote msdescription: accMat acquisition additions collation condition custEvent decoNote filiation foliation layout musicNotation origin provenance source summary support surrogates tagdocs: specGrp transcr: metamark | ||||||||||||||||||||||||||||
May contain | |||||||||||||||||||||||||||||
Declaration |
element schemaSpec { att.global.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, att.identified.attributes, att.combinable.attributes, att.deprecated.attributes, att.namespaceable.attributes, att.readFrom.attributes, attribute start { list { data.name+ } }?, attribute prefix { "" | data.xmlName }?, attribute targetLang { data.language }?, attribute docLang { list { data.language+ } }?, ( ( model.glossLike | model.descLike )*, ( model.oddRef | model.oddDecl )* ) } | ||||||||||||||||||||||||||||
Example | <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 RELAXNG schema available from the URL indicated. | ||||||||||||||||||||||||||||
Note | 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. |