<metDecl>

<metDecl> (metrical notation declaration) 韻律パタンを表す表記法を示す.韻文のための要素(例えば,<lg>, <l>, <seg>など)にある属性met, real, rhymeの値として定義される. 6.5 Metrical Notation Declaration 6.3 Rhyme and Metrical Analysis
モジュールverse — 6 Verse
属性 att.declarable (@default)
type 当該表記法が抽象的韻律形式,実際の韻律形式,押韻スキーム,これら の組み合わせを表すかどうかを示す.
状態 使えるならば必須
データ型 1–3 occurrences of
data.enumerated
空白文字で区切られる
Values are:
met
(met attribute) 属性metにある,抽象的韻律形式に該当する.
real
(real attribute) 属性realにある実際の韻律形式に該当する.
rhyme
(rhyme attribute) 属性rhymeにある押韻スキームに該当する.
解説
By default, the <metDecl> element documents the notation used for metrical pattern and realization. It may also be used to document the notation used for rhyme scheme information; if not otherwise documented, the rhyme scheme notation defaults to the traditional ‘abab’ notation.
pattern (regular expression 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
当該モジュールを使用するもの model.encodingPart
下位
core: note p
linking: ab
textcrit: witDetail
verse: metSym
宣言
element metDecl
{
   att.global.attributes,
   att.declarable.attributes,
   attribute type
   {
      list { data.enumerated, data.enumerated?, data.enumerated? }
   }?,
   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.

解説
The encoder may choose whether to define the notation formally or informally. However, the two methods may not be mixed. That is, <metDecl> may contain either a sequence of <metSym> elements or, alternately, a series of paragraphs or other components. If the pattern attribute is specified and <metSym> elements are used, then all the codes appearing within the pattern attribute should be documented.
Only usable within the header if the verse module is used.