<?tei:SOF p2aifvp.odd ?>
<!-- P2.445 : Feature-Value Pairs                                  -->
<!-- Revisions:                                               -->
<!-- 93-06-03 : MSM : trivia                                  -->
<!-- 30 Mar 93 : LB renumber to AIfvp                         -->
<!-- 18 Jul 92 :  DTL : Renumber from p2.444 to p2.445.       -->
<!-- 15 Jul 92 :  DTL : Add  < analysis >  tags.              -->
<!-- 13 Jul 92 :  DTL : Correct ODD tagging.                  -->
<!-- 01 Jul 92 :  DTL : Define grouping tag  < fvpGrp > .     -->
<!-- Assign section number p2.444.                            -->
<!-- 30 Jun 92 :  DTL : Complete draft, modifying text from   -->
<!-- old section P2.234 on  < span > .  Change the Sigmund    -->
<!-- example to eliminate most anchors.  Make other changes   -->
<!-- in the definition of  < span > in accordance with an     -->
<!-- exchange between DTL and CMSMcQ on TEI-TECH in early     -->
<!-- June.  However, make from= required and to= optional,    -->
<!-- in conformity with their use in other pointing tags.     -->
<!-- Change name of tag to  < fvp > .  Rename type= as        -->
<!-- feature=.  Write TAGDOC.                                 -->
 
 
<div2 id=AIFVP><head>Feature-Value Pairs</head>
 
<p>The simplest mechanism for attaching analytic notes in some
structured vocabulary to particular passages of text is provided by the
empty <gi>fvp</gi> element, and its associated grouping element
<gi>fvpGrp</gi>, which have the following descriptions and attributes:
 
<tagList>
<tagDesc tagDoc=FVP atts='resp feature value from to'>
<tagDesc tagDoc=FVPGRP atts='resp feature'>
</tagList>
 
<p>The <gi>fvp</gi> tag may be used to associate single analytical
feature-value pairs to specific spans of text, as in the following
example.
 
<eg>
<![ CDATA [
<p id=P1>
<s id=S1>Sigmund, the son of Volsung, was a king
in Frankish country.</s>
<s id=S2>Sinfiotli was the eldest of his sons.</s>
<s id=S3>
<!-- ... -->
</s>
<s id=S4A>But Sinfiotli
<!-- ... -->
wooed the same woman</s>
<s id=S4B>and Sinfiotli killed him over it.</s>
<s id=S5>And when he came home, Borghild asked him to
go away, but Sigmund offered her weregild, and she was
obliged to accept it.</s>
<s id=S6>At the funeral feast Borghild was serving beer.</s>
<s id=S7>She took poison, a big drinking horn full,
and brought it to Sinfiotli.</s>
<!-- ... -->
<s id=SX>Sinfiotli drank it off and at once fell dead.</s>
<anchor id=NIL1>
<p id=P2>Sigmund carried him a long way in his arms
and came to a long, narrow fjord, and there was a
small boat there and a man in it.
<!-- ... -->
<p id=P3>
King Sigmund lived a long time in Denmark
<!-- ... -->
<p id=P4>
Sigmund and all his sons were tall
<!-- ... -->
<analysis>
<fvp resp=TMA feature='structural unit' value='introduction' from=S1
              to=S3>
<fvp resp=TMA feature='structural unit' value='conflict' from=S4a>
<fvp resp=TMA feature='structural unit' value='climax' from=S4b>
<fvp resp=TMA feature='structural unit' value='revenge' from=S5 to=Sx>
<fvp resp=TMA feature='structural unit' value='reconciliation' from=nil1>
<fvp resp=TMA feature='structural unit' value='aftermath' from=P2 to=P4>
</analysis>
]]>
</eg>
 
<p>If groups of <tag>fvp</tag> tags with the same <att>resp</att> or
<att>feature</att> are used, as in this example, they may be grouped
together inside a <gi>fvpGrp</gi> element, with the values of the
common attribute(s) declared in the higher element, as follows.
 
<eg>
<![ CDATA [
<fvpGrp resp=TMA feature='structural unit'>
   <fvp value='introduction' from=S1 to=S3>
   <fvp value='conflict' from=S4a>
   <fvp value='climax' from=S4b>
   <fvp value='revenge' from=S5 to=Sx>
   <fvp value='reconciliation' from=nil1>
   <fvp value='aftermath' from=P2 to=P4>
   </fvpGrp>
]]>
</eg>
 
<p>The formal declarations for the <gi>fvp</gi> and <gi>fvpGrp</gi>
elements are:
 
<dtdFrag id=DAIFVP n='Feature value pairs'>
<tagDecl tagDoc=FVP>
<tagDecl tagDoc=FVPGRP>
</dtdFrag>
 
<?tei:EOF p2aifvp.odd ?>
