<tag>

<tag> (tag) 包含具有完整開始標籤與結束標籤的文字,可能包括屬性說明,但不包含開頭及結尾標記定義符號。 [22 Documentation Elements]
組件 tagdocs — Documentation Elements
屬性
type⚓︎ indicates the type of XML tag intended
Derived from att.typed
狀態 非必備的
資料類型 teidata.enumerated
合法的值是:
start
a start-tag, with delimiters < and > is intended
end
an end-tag, with delimiters </ and > is intended
empty
an empty tag, with delimiters < and /> is intended
pi
a pi (processing instruction), with delimiters <? and ?> is intended
comment
a comment, with delimiters <!-- and --> is intended
ms
a marked-section, with delimiters <[CDATA[ and ]]> is intended
scheme⚓︎ 提供該標準之識別符碼,此名稱定義於該標準中。
狀態 非必備的
資料類型 teidata.enumerated
實例值包含:
TEI
(text encoding initiative) 此標籤為TEI標準的一部份。 [預設值]
DBK
(docbook) 此標籤為Dockbook標準的一部份。
XX
(unknown) this tag 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: eg valDesc
verse: metSym rhyme
可包含 僅文字符號資料
例子
於所有斜體字的前頭以<tag>hi rend="it"</tag>
標籤,並以<tag>/hi</tag>標籤結尾。
Content model
<content>
 <textNode/>
</content>
宣告
<rng:element name="tag">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.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:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.typed.attribute.subtype"/>
 <rng:optional>
  <rng:attribute name="type">
   <rng:choice>
    <rng:value>start</rng:value>
    <rng:value>end</rng:value>
    <rng:value>empty</rng:value>
    <rng:value>pi</rng:value>
    <rng:value>comment</rng:value>
    <rng:value>ms</rng:value>
   </rng:choice>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="scheme"
   a:defaultValue="TEI">

   <rng:ref name="teidata.enumerated"/>
  </rng:attribute>
 </rng:optional>
 <rng:text/>
</rng:element>
element tag
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.typed.attribute.subtype,
   attribute type { "start" | "end" | "empty" | "pi" | "comment" | "ms" }?,
   attribute scheme { teidata.enumerated }?,
   text
}