<gi>

<gi> (element name) contains the name (generic identifier) of an element. [22 Documentation Elements 22.4.4 Element Specifications]
組件tagdocs — 22 Documentation Elements
屬性att.global (@xml:id, @n, @xml:lang, @rend, @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))
schemesupplies the name of the scheme in which this name is defined.
狀態 非必備的
資料類型

<rng:ref name="data.enumerated"/>
data.enumerated
實例值包含:
TEI
(text encoding initiative) this element is part of the TEI scheme. [預設值]
DBK
(docbook) this element is part of the Docbook scheme.
XX
(unknown) this element is part of an unknown scheme.
Schematron
HTML
屬於
可包含在於
analysis: cl phr s span
figures: cell figDesc
iso-fs: fDescr fsDescr
linking: ab seg
spoken: u writing
tagdocs: valDesc
verse: metSym rhyme
可包含僅文字符號資料
宣告

<rng:element name="gi">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:optional>
  <rng:attribute name="scheme" a:defaultValue="TEI">
   <rng:ref name="data.enumerated"/>
  </rng:attribute>
 </rng:optional>
 <rng:text/>
</rng:element>
element gi
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   attribute scheme { data.enumerated }?,
   text
}
例子
<p>The <gi>xhtml:li</gi> element is roughly analogous to the <gi>item</gi> element, as is the
<gi scheme="DBK">listItem</gi> element.</p>

This example shows the use of both a namespace prefix and the schema attribute as alternative ways of indicating that the gi in question is not a TEI element name: in practice only one method should be adopted.