<metDecl>

<metDecl> (declaración de notación métrica) documenta la notación empleada para representar un patrón métrico cuando éste se especifica como el valor de un atributo met, real, o rhyme en cualquier elemento estructural de un texto métrico (p.ej. lg, l, or seg). [6.6 Metrical Notation Declaration 6.4 Rhyme and Metrical Analysis]
Móduloverse — Verse
Atributosatt.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.declarable (@default)
typeindica si la notación indica la forma métrica abstracta, su realización prosódica real, el esquema rítmico o alguna combinación de todo ello.
Estado Opcional
Tipo de datos 1–3 apariciones de teidata.enumerated separado por espacio en blanco
Los valores admitidos son:
met
(atributo met ) declaración aplicada a la forma métrica abstracta codificada en el atributo met.
real
(atributo real ) declaración aplicada a la realización concreta de una estructura métrica convencional codificada en el atributo real.
rhyme
la declaración se aplica al esquema de rima registrado en el atributo rima
pattern(modelo de expresión regular) indica una expresión regular que define cualquier valor válido para esta notación.
Estado Opcional
Tipo de datos teidata.pattern
Miembro de
Contenido en
header: encodingDesc
Puede contener
core: note noteGrp p
linking: ab
verse: metSym
Nota

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.

Ejemplo
<metDecl xml:id="iptype="met"
 pattern="((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.

Content model
<content>
 <alternate>
  <alternate minOccurs="1"
   maxOccurs="unbounded">

   <classRef key="model.pLike"/>
   <classRef key="model.noteLike"/>
  </alternate>
  <elementRef key="metSymminOccurs="1"
   maxOccurs="unbounded"/>

 </alternate>
</content>
Declaración
<rng:element name="metDecl">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.declarable.attributes"/>
 <rng:optional>
  <rng:attribute name="type"
   a: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="teidata.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.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.declarable.attributes,
   attribute type
   {
      list
      {
         ( "met" | "real" | "rhyme" ),
         ( "met" | "real" | "rhyme" )?,
         ( "met" | "real" | "rhyme" )?
      }
   }?,
   attribute pattern { teidata.pattern }?,
   ( ( model.pLike | model.noteLike )+ | metSym+ )
}