<gi>

<gi> (element name) contains the name (generic identifier) of an element. 22 Documentation Elements 22.4.4 Element Specifications
Moduletagdocs — 22 Documentation Elements
AttributesIn addition to global attributes
schemesupplies the name of the scheme in which this name is defined.
Status Optional
Datatype

<rng:ref name="data.enumerated"/>
data.enumerated
Sample values include:
TEI
(text encoding initiative) this element is part of the TEI scheme. [Default]
DBK
(docbook) this element is part of the Docbook scheme.
XX
(unknown) this element is part of an unknown scheme.
Used by
May containCharacter data only
Declaration

<rng:element name="gi">
<rng:ref name="att.global.attributes"/>
<rng:optional>
 <rng:attribute name="schemea:defaultValue="TEI">
  <rng:ref name="data.enumerated"/>
 </rng:attribute>
</rng:optional>
<rng:text/>
</rng:element>
element gi
{
   att.global.attributes,
   attribute scheme { data.enumerated }?,
   text
}
Example
<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.