<tag>

<tag> 完全な開始タグ,終了タグのテキストを示す.属性規定はとることも可能だ が,タグ開始区切子,タグ終了区切子は含まない. 22 Documentation Elements
モジュールtagdocs — 22 Documentation Elements
属性
typeindicates the type of XML tag intended
状態 任意
正当な値:
start
a start-tag, with delimiters < and > is intended
end
an end-tag, with delimiters </ and > is intended
empty
a 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 当該タグ名が定義されているスキームの名前を示す.
状態 任意
正当な値:
TEI
(text encoding initiative) 当該タグは,TEIスキームに属する. [初期値]
DBK
(docbook) 当該タグは,DOcbookスキームに属する.
XX
(unknown) 当該タグは,不明スキームに属する.
当該モジュールを使用するもの
下位文字データのみ
宣言

<rng:element name="tag">
<rng:ref name="att.global.attributes"/>
<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="schemea:defaultValue="TEI">
  <rng:choice>
   <rng:value>TEI</rng:value>
   <rng:value>DBK</rng:value>
   <rng:value>XX</rng:value>
  </rng:choice>
 </rng:attribute>
</rng:optional>
<rng:text/>
</rng:element>
element tag
{
   att.global.attributes,
   attribute type { "start" | "end" | "empty" | "pi" | "comment" | "ms" }?,
   attribute scheme { "TEI" | "DBK" | "XX" }?,
   text
}
Mark the start of each italicised phrase with a <tag>hi rend="it"</tag>
tag, and its end with a <tag type="end">hi</tag> tag.

<tag type="comment">Example updated on 2008-04-05</tag>