<metDecl>

<metDecl> 在標記韻文時所用到的結構性元素 (例如lgl、或seg) 當中,若使用metreal、或rhyme等屬性的屬性值來表示文章的韻律模式,則在此宣告標記韻律模式的方法。 6.5 Metrical Notation Declaration 6.3 Rhyme and Metrical Analysis
組件verse — 6 Verse
屬性 att.declarable (@default)
type指出該標記所傳達的為抽象韻律形式、實際韻律實踐、或者押韻形式,或任幾項之結合。
狀態 可應用時必備的
資料類型 1–3 occurrences of

<rng:ref name="data.enumerated"/>
data.enumerated
以空白鍵隔開
合法的值是:
met
(屬性met) 屬性 met宣告適用於該屬性所紀錄的抽象韻律形式。屬性rhyme宣告適用於該屬性所紀錄的押韻形式
real
(屬性real) 屬性real宣告適用於該屬性所紀錄的通用韻律結構之實際實踐
rhyme
(rhyme attribute) declaration applies to the rhyme scheme recorded on the rhyme attribute
pattern (regular expression pattern) 標明一種固定表示法,用來定義任何合用於此標記的屬性值。
狀態 非必備的
資料類型

<rng:ref name="data.pattern"/>
data.pattern
the value must be a valid regular expression per the World Wide Web Consortium's XML Schema Part 2: Datatypes Second Edition, Appendix F
屬於
可包含
core: note p
linking: ab
textcrit: witDetail
verse: metSym
宣告

<rng:element name="metDecl">
<rng:ref name="att.global.attributes"/>
<rng:ref name="att.declarable.attributes"/>
<rng:optional>
 <rng:attribute name="typea:defaultValue="met real">
  <rng:list>
   <rng:choice>
    <rng:value>met</rng:value>
    <rng:value>real</rng:value>
    <rng:value>rhyme</rng:value>
   </rng:choice>
   <rng:optional>
    <rng:choice>
     <rng:value>met</rng:value>
     <rng:value>real</rng:value>
     <rng:value>rhyme</rng:value>
    </rng:choice>
   </rng:optional>
   <rng:optional>
    <rng:choice>
     <rng:value>met</rng:value>
     <rng:value>real</rng:value>
     <rng:value>rhyme</rng:value>
    </rng:choice>
   </rng:optional>
  </rng:list>
 </rng:attribute>
</rng:optional>
<rng:optional>
 <rng:attribute name="pattern">
  <rng:ref name="data.pattern"/>
 </rng:attribute>
</rng:optional>
<rng:choice>
 <rng:oneOrMore>
  <rng:choice>
   <rng:ref name="model.pLike"/>
   <rng:ref name="model.noteLike"/>
  </rng:choice>
 </rng:oneOrMore>
 <rng:oneOrMore>
  <rng:ref name="metSym"/>
 </rng:oneOrMore>
</rng:choice>
</rng:element>
element metDecl
{
   att.global.attributes,
   att.declarable.attributes,
   attribute type
   {
      list
      {
         ( "met" | "real" | "rhyme" ),
         ( "met" | "real" | "rhyme" )?,
         ( "met" | "real" | "rhyme" )?
      }
   }?,
   attribute pattern { data.pattern }?,
   ( ( model.pLike | model.noteLike )+ | metSym+ )
}
例子
<metDecl xml:id="iptype="metpattern="((SU|US)USUSUSUS/)">
 <metSym value="S">stressed syllable</metSym>
 <metSym value="U">unstressed syllable</metSym>
 <metSym value="/">metrical line boundary</metSym>
</metDecl>

This example is intended for the far more restricted case typified by the Shakespearean iambic pentameter. Only metrical patterns containing exactly ten syllables, alternately stressed and unstressed, (except for the first two which may be in either order) to each metrical line can be expressed using this notation.