<schemaSpec>
<schemaSpec> (schema specification) generates a TEI-conformant schema and documentation for it. | |||||||||||||||||||||||||||||||||||||
Module | tagdocs — 22 Documentation Elements | ||||||||||||||||||||||||||||||||||||
Attributes | att.global (@xml:id, @n, @xml:lang, @rend, @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.readFrom (@source)
| ||||||||||||||||||||||||||||||||||||
Used by | |||||||||||||||||||||||||||||||||||||
Contained by | figures: figure header: change encodingDesc handNote licence scriptNote typeNote msdescription: accMat acquisition additions collation condition custEvent decoNote filiation foliation layout musicNotation origin provenance source 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.readFrom.attributes, attribute start { list { data.name, data.name* } }?, attribute ns { data.namespace }?, attribute prefix { "" | data.name }?, attribute targetLang { data.language }?, attribute docLang { list { data.language, data.language* } }?, ( model.glossLike*, ( model.oddRef | model.oddDecl )*, constraintSpec* ) } | ||||||||||||||||||||||||||||||||||||
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. |