<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) |
クラブのメンバー | |
上位 | |
下位 | 文字データのみ |
解説 |
ODDのすべてのドキュメント要素には,ident属性の値とし て提供される標準名がある.altIdent要素は,例えば異なる言 語で,対応するXMLオブジェクトの代替名を提供するために使用される. |
例 | |
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 } |