Text Encoding Initiative

The XML Version of the TEI Guidelines

<altGrp>


<altGrp> (alternation group) groups a collection of <alt> elements and possibly pointers.
Attributes (In addition to global attributes and those inherited from metadata, pointerGroup)
mode states whether the alternations gathered in this collection are exclusive or inclusive.
Datatype: (excl|incl)
Legal values are:
excl indicates that the alternation is exclusive, i.e. that at most one of the alternatives occurs.
incl indicates that the alternation is not exclusive, i.e. that one or more of the alternatives occur.
Default: excl
wScale indicates the scale used to express the value of the weights attribute value.
Datatype: (perc|real)
Legal values are:
perc indicates that the weights are expressed as percentages.
real indicates that the weights are expressed as values between 0 and 1.
Default: perc
Example
<altGrp mode="excl">
   <alt targType="seg seg" targets="dm lt bb" weights="50 25 25"/>
   <alt targType="l l" targets="rl db" weights="50 50"/>
</altGrp>
Example
<altGrp targType="seg l" mode="incl" wScale="perc">
   <alt targets="dm rl" weights="90 90"/>
   <alt targets="lt rl" weights="5 5"/>
   <alt targets="bb rl" weights="5 5"/>
   <alt targets="dm db" weights="10 10"/>
   <alt targets="lt db" weights="45 90"/>
   <alt targets="bb db" weights="45 90"/>
</altGrp>
Module Declared in file teilink2.dtd; Additional tag set for Linking and Segmentation: enabled by TEI.linking
Class pointerGroup; metadata
Data Description Any number of alternations, pointers or extended pointers.
May contain alt ptr xptr
May occur within ab abbr activity actor add addName addrLine address admin affiliation analytic app argument author authority back bibl biblFull biblScope biblStruct birth bloc body byline camera caption case castGroup castItem castList cell channel cit cl classCode closer colloc constitution corr country creation damage date dateRange dateStruct dateline def del derivation descrip dictScrap distance distinct distributor div div0 div1 div2 div3 div4 div5 div6 div7 docAuthor docDate docEdition docImprint docTitle domain edition editor education emph entry entryFree epigraph epilogue etym expan extent factuality figDesc figure firstLang foreName foreign form front funder fw gen genName geogName gloss gram gramGrp graph group head headItem headLabel hi hyph imprimatur imprint interaction item itype l label lang langKnown language lbl lem lg lg1 lg2 lg3 lg4 lg5 list listBibl locale m measure meeting mentioned metDecl monogr mood name nameLink note num number occasion occupation offset ofig opener orgDivn orgName orgTitle orgType orig orth otherForm p per performance persName phr placeName pos preparedness principal prologue pron pubPlace publicationStmt publisher purpose q quote rdg rdgGrp re ref reg region rendition residence resp respStmt restore role roleDesc roleName row rs s salute seg sense series set settlement sic signed soCalled socecStatus sound sp speaker sponsor stage street stress subc supplied surname syll symbol table tagUsage tech term termEntry text tig time timeRange timeStruct title titlePage titlePart tns tr trailer trans u unclear usg view w wit witDetail witList witness writing xr xref
Declaration
<!ELEMENT altGrp %om.RR; ((alt | ptr | xptr)*)> 
<!ATTLIST altGrp  
      %a.global;
      %a.pointerGroup;
      mode (excl|incl) "excl"
      wScale (perc|real) "perc">
See further 14.8 Alternation

Up: 35 Elements