<metDecl>

<metDecl> (Déclaration métrique) documente la notation employée pour représenter un schéma métrique lorsque celui-ci est précisé comme valeur d’un attribut <met>, <real >ou <rhyme> sur tout élément structural d’un texte métrique (ex. <lg>, <l>, ou <seg>). 6.5 Metrical Notation Declaration 6.3 Rhyme and Metrical Analysis
Moduleverse — 6 Verse
Attributs att.declarable (@default)
typeIndique si la notation transcrit la forme métrique abstraite, sa réalisation prosodique réelle, la répartition des rimes, ou une certaine combinaison des deux .
Statut Obligatoire quand applicable
Type de données 1–3 occurrences of
data.enumerated
séparé par un espace
Values are:
met
(attribut met) la déclaration s'applique à la structure métrique abstraite notée par l'attribut met.
real
(attribut real) la déclaration s'applique à la structure métrique abstraite notée par l'attribut real .
rhyme
(attribut rime) la déclaration s'applique à la structure métrique abstraite notée par l'attribut rhyme.
Note
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) Spécifie une expression régulière définissant quelle valeur est autorisée pour cette notation.
Statut Optionel
Type de données
data.pattern
Valeurs the value must be a valid regular expression per the World Wide Web Consortium's XML Schema Part 2: Datatypes Second Edition, Appendix F
Utilisé par model.encodingPart
Peut contenir
core: note p
linking: ab
textcrit: witDetail
verse: metSym
Declaration
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+ )
}
Exemple
<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.

Note
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.