<altIdent>
<altIdent> (identificador alterno) proporciona el nombre XML recomendado para un elemento, clase, atributo, etc. en alguna lengua. [3.4.1 Terms and Glosses 22.4.1 Description of Components] | |
Módulo | tagdocs — Documentation Elements |
Atributos | 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) |
Miembro de | |
Contenido en | |
Puede contener | Sólo datos de caracteres |
Nota |
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. |
Ejemplo | |
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> |
Declaración |
<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 } |