<floatingText>

<floatingText> 包含一份任何種類的文本,無論是單一或複合的,該份文本任意穿插於整體文本中,而週遭文字則接續其後。 4.3.2 Floating Texts
組件textstructure — 4 Default Text Structure
屬性 att.declaring (@decls) att.typed (@type, @subtype)
屬於
可包含
宣告

<rng:element name="floatingText">
<rng:ref name="att.global.attributes"/>
<rng:ref name="att.declaring.attributes"/>
<rng:ref name="att.typed.attributes"/>
<rng:group>
 <rng:zeroOrMore>
  <rng:ref name="model.global"/>
 </rng:zeroOrMore>
 <rng:optional>
  <rng:ref name="front"/>
  <rng:zeroOrMore>
   <rng:ref name="model.global"/>
  </rng:zeroOrMore>
 </rng:optional>
 <rng:choice>
  <rng:ref name="body"/>
  <rng:ref name="group"/>
 </rng:choice>
 <rng:zeroOrMore>
  <rng:ref name="model.global"/>
 </rng:zeroOrMore>
 <rng:optional>
  <rng:ref name="back"/>
  <rng:zeroOrMore>
   <rng:ref name="model.global"/>
  </rng:zeroOrMore>
 </rng:optional>
</rng:group>
</rng:element>
element floatingText
{
   att.global.attributes,
   att.declaring.attributes,
   att.typed.attributes,
   (
      model.global*,
      ( front, model.global* )?,
      ( body | group ),
      model.global*,
      ( back, model.global* )?
   )
}
例子
<TEI>
 <teiHeader/>
 <text>
  <body>
   <div type="scene">
    <sp>
     <p>Hush, the players begin...</p>
    </sp>
    <floatingText type="pwp">
     <body>
      <div type="act">
       <sp>
        <l>In Athens our tale takes place ....</l>
       </sp>
<!-- ... rest of nested act here -->
      </div>
     </body>
    </floatingText>
    <sp>
     <p>Now that the play is finished ...</p>
    </sp>
   </div>
  </body>
 </text>
</TEI>