<attDef>
<attDef> (속성 정의) 단일 속성 정의를 포함한다. [22.4.5 Attribute List Specification] | |||||||||||||||||
모듈 | tagdocs — 22 Documentation Elements | ||||||||||||||||
속성 | 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))
| ||||||||||||||||
클럽 회원 | |||||||||||||||||
에 의해 포함된 | tagdocs: attList | ||||||||||||||||
포함할 수 있다 | |||||||||||||||||
선언 |
element attDef { 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, attribute usage { "req" | "mwa" | "rec" | "rwa" | "opt" }?, attribute ns { data.namespace }?, ( ( model.glossLike | model.descLike )*, datatype?, constraintSpec*, defaultVal?, ( valList | valDesc+ )?, exemplum*, remarks* ) } | ||||||||||||||||
Schematron | <sch:assert test="@mode eq 'change' or @mode eq 'delete' or tei:datatype or tei:valList[@type='closed']">Attribute: the definition of the @<sch:value-of select="@ident"/> attribute in the <sch:value-of select="ancestor::*[@ident][1]/@ident"/> <sch:value-of select="' '"/> <sch:value-of select="local-name(ancestor::*[@ident][1])"/> should have a closed valList or a datatype</sch:assert> | ||||||||||||||||
예 | <attDef usage="rec" ident="type"> <desc>specifies a name conventionally used for this level of subdivision, e.g. <val>act</val>, <val>volume</val>, <val>book</val>, <val>section</val>, <val>canto</val>, etc.</desc> </attDef> |