<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] | |||||||||||||||||||||||||||
Modul | tagdocs — Documentation Elements | ||||||||||||||||||||||||||
Attribute | 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)
| ||||||||||||||||||||||||||
Mitglied des | |||||||||||||||||||||||||||
Enthalten in | 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 | ||||||||||||||||||||||||||
Kann enthalten | |||||||||||||||||||||||||||
Deklaration |
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 )*, constraintSpec* ) } | ||||||||||||||||||||||||||
Beispiel | <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. |