<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) 当該要素のスキームは不明.
当該モジュールを使用するもの
下位文字データのみ
宣言

<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.