<altIdent>
<altIdent> (alternate identifier) 標誌用另一種語言來表示的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 } |