<altIdent>
<altIdent> (교체 확인소) 어떤 언어에서 요소, 부류, 속성에 대해 권고된 XML 이름을 제시한다. [3.4.1 Terms and Glosses 22.4.1 Description of Components] | |
모듈 | tagdocs — Documentation Elements |
속성 | att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.typed (@type, @subtype) |
클럽 회원 | |
에 의해 포함된 | |
포함할 수 있다 | 문자 자료만 허용 |
주석 |
All documentation elements in ODD have a canonical name, supplied as the value for their ident attribute. The altIdent element is used to supply an alternative name for the corresponding XML object, perhaps in a different language. |
예 | |
Schematron | The altIdent element should only be a child of attDef, classSpec, constraintSpec, dataSpec, elementSpec, macroSpec, or valItem. Thus its use in other places is being deprecated.
<sch:report test="parent::tei:model | parent::tei:modelGrp | parent::tei:modelSequence | parent::tei:paramSpec | parent::tei:schemaSpec" role="nonfatal"> Use of <altIdent> as a child of <<sch:value-of select="name(..)"/>> is deprecated, and will no longer be valid after 2022-07-14. </sch:report> <sch:report test="parent::tei:moduleSpec" role="nonfatal"> Use of <altIdent> to declare the FPI of a module is deprecated, and will no longer be valid after 2022-07-14; please use <idno type="FPI"> instead. </sch:report> |
Schematron | Other than when used to indicate the formal public identifier of a module (which is
a deprecated usage), the content of altIdent should be a single teidata.xmlName.
<sch:rule context="tei:altIdent[ not( parent::tei:moduleSpec or @type eq 'FPI' ) ]"> <sch:assert test=". castable as xs:NCName"> The content of this 'altIdent' element (<sch:value-of select="normalize-space(.)"/>) should conform to teidata.xmlName. </sch:assert> </sch:rule> |
Content model |
<content> |
선언 |
<rng:element name="altIdent"> element altIdent { att.global.attributes, att.global.rendition.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, att.global.responsibility.attributes, att.global.source.attributes, att.typed.attributes, text } |