<schemaSpec>

<schemaSpec> (schema specification) generates a TEI-conformant schema and documentation for it.
組件tagdocs — 22 Documentation Elements
屬性 att.identified (@ident, @predeclare, @module, @mode)
startspecifies entry points to the schema, i.e. which elements are allowed to be used as the root of documents conforming to it.
狀態 非必備的
資料類型 1–∞ occurrences of
data.name
以空白鍵隔開
ns (namespace) specifies the default namespace (if any) applicable to components of the schema.
狀態 非必備的
資料類型
data.namespace
prefixspecifies a prefix which will be appended to all patterns relating to TEI elements. This allows for external schemas to be mixed in which have elements of the same names as the TEI.
狀態 非必備的
資料類型
data.name
Colons, although permitted inside the value, will cause in invalid schema to be generated.
targetLang (target language) specifies which language to use when creating the objects in a schema if names for elements or attributes are available in more than one language, .
狀態 非必備的
資料類型
data.language
docLang (documentation language) specifies which languages to use when creating documentation if the description for an element, attribute, class or macro is available in more than one language, .
狀態 非必備的
資料類型 1–∞ occurrences of
data.language
以空白鍵隔開
屬於 model.divPart
可包含
宣告
element schemaSpec
{
   att.global.attributes,
   att.identified.attributes,
   attribute start { list { data.name+ } }?,
   attribute ns { data.namespace }?,
   attribute prefix { data.name }?,
   attribute targetLang { data.language }?,
   attribute docLang { list { data.language+ } }?,
   ( model.glossLike*, ( moduleRef | specGrpRef | model.oddDecl )* )
}
A schema combines references to modules or specification groups with other atomic declarations. The processing of a schema element must resolve any conflicts amongst the declarations it contains or references. Different ODD processors may generate schemas and documentation using different concrete syntaxes.