<gi>

<gi> (通用識別符碼) 包含一個元素名稱 (通用識別符碼) 。 22 Documentation Elements 22.4.4 Element Specifications
組件tagdocs — 22 Documentation Elements
屬性
scheme提供該標準之識別符碼,此名稱定義於該標準中。
狀態 非必備的
資料類型

<rng:ref name="data.enumerated"/>
data.enumerated
實例值包含:
TEI
(text encoding initiative) 此元素為TEI標準的一部份。 [預設值]
DBK
(docbook) 此元素為 Docbook標準的一部份。
XX
(unknown) 此元素所屬的標準不明。
屬於 model.phrase.xml
可包含僅文字符號資料
宣告

<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
}
例子
<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.