<tag>

<tag> (tag) 包含具有完整開始標籤與結束標籤的文字,可能包括屬性說明,但不包含開頭及結尾標記定義符號。 [23 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
<a href="https://translate.tei-c.org/translate.html?edit=tag.xml"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" aria-label="Translation out of date." viewBox="0 0 16 16" style="position:absolute; top:2px; right:2px; color:red"><title>Translation out of date.</title> <path d="M6.146 7.146a.5.5 0 0 1 .708 0L8 8.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 9l1.147 1.146a.5.5 0 0 1-.708.708L8 9.707l-1.146 1.147a.5.5 0 0 1-.708-.708L7.293 9 6.146 7.854a.5.5 0 0 1 0-.708z"></path> <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"></path></svg></a>
俱乐部会员
可包含在於
analysis: cl phr s span
cmc: post
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.analytic.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.rendition.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.analytic.attributes,
   att.global.change.attributes,
   att.global.facs.attributes,
   att.global.linking.attributes,
   att.global.rendition.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
}