<gi>

<gi> 要素の名前(共通識別子)を含む. [22 Documentation Elements 22.4.4 Element Specifications]
モジュールtagdocs — Documentation Elements
属性att.global (@xml:id, @n, @xml:lang, @rend, @style, @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))
scheme当該名前が定義されているスキーム名を示す.
状態 任意
データ型

<rng:ref name="data.enumerated"/>
data.enumerated
例としての値は以下の通り:
TEI
当該要素はTEIスキームにある. [初期値]
DBK
(docbook) 当該要素は,DocBookスキームにある.
XX
(unknown) 当該要素のスキームは不明.
Schematron
this element is from Schematron.
HTML
this element is from the HTML scheme.
クラブのメンバー
上位
analysis: cl phr s span
figures: cell figDesc
iso-fs: fDescr fsDescr
linking: ab seg
spoken: u writing
tagdocs: eg 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="schemea:defaultValue="TEI">
   <rng:ref name="data.enumerated"/>
  </rng:attribute>
 </rng:optional>
 <rng:ref name="data.name"/>
</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 }?,
   data.name
}
<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.