macro.xtext

macro.xtext (extended text) 一連の文字列や外字要素を定義する。
モジュール tei — The TEI Infrastructure
当該モジュールを使用するもの
Content model
<content>
 <alternate minOccurs="0"
  maxOccurs="unbounded">

  <textNode/>
  <classRef key="model.gLike"/>
 </alternate>
</content>
宣言
<rng:define name="macro.xtext">
 <rng:zeroOrMore>
  <rng:choice>
   <rng:text/>
   <rng:ref name="model.gLike"/>
  </rng:choice>
 </rng:zeroOrMore>
</rng:define>
macro.xtext = ( text | model.gLike )*