## Text Encoding Initiative

### The XML Version of the TEI Guidelines

# <seg>

`<seg>` | (arbitrary segment) contains any arbitrary phrase-level unit of text (including other `<seg>` elements).

Attributes

(In addition to global attributes and those inherited from seg)

`subtype` | provides a sub-categorization of the segment marked.
| Datatype: CDATA
| Values: any string of characters.
| Default: #IMPLIED
Note | The `subtype` attribute may be used to provide any classification for the `<seg>` elements tagged in a text suitable for the `type` given.

Example

    <seg>When are you leaving?</seg>
    <seg>Tomorrow.</seg>

Example

    <s>
    <seg rend="caps" type="typographic part-line">So father's only</seg>
    glory was the ballfield.
    </s>

Example

    <seg id="s1s3" type="preamble">
       <seg id="s1">Sigmund,
       <seg type="patronym">the son of Volsung</seg>,
      was a king in Frankish country.</seg>
       <seg id="s2">Sinfiotli was the eldest of his sons ...</seg>
       <seg id="s3">Borghild, Sigmund's wife, had a brother ... </seg><!-- ... -->
    </seg>

Note

The `<seg>` element may be used at the encoder's discretion to mark any segments of the text of interest for processing. One use of the element is to mark text features for which no appropriate markup is otherwise defined — i.e. as a simple extension mechanism. Another use is to provide an identifier for some segment which is to be pointed at by some other element — i.e. to provide a target, or a part of a target, for a `<ptr>` or other similar element.

Module Declared in file teilink2.dtd; Additional tag set for simple analysis: enabled by TEI.analysis
Class seg
Data Description May contain anything which may appear within a paragraph.
May contain #PCDATA abbr add addSpan address alt altGrp anchor app bibl biblFull biblStruct c caesura camera caption castList cb certainty cit cl corr damage date dateRange dateStruct del delSpan distinct emph expan fLib figure foreign formula fs fsLib fvLib fw gap geogName gloss handShift hi index interp interpGrp join joinGrp label lang lb link linkGrp list listBibl m measure mentioned milestone move name note num oRef oVar orgName orig pRef pVar pb persName phr placeName ptr q quote ref reg respons restore rs s seg sic soCalled sound space span spanGrp stage supplied table tech term text time timeRange timeStruct timeline title unclear view w witDetail xptr xref
May occur within ab abbr activity actor add addName addrLine admin affiliation author authority bibl biblScope birth bloc byline camera caption case castItem catDesc cell channel cl classCode closer colloc constitution corr country creation damage date dateRange def del derivation descrip dictScrap distance distinct distributor docAuthor docDate docEdition docImprint domain edition editor education emph entryFree etym expan extent factuality figDesc firstLang foreName foreign form funder fw gen genName gloss gram gramGrp head headItem headLabel hi hyph imprimatur interaction item itype l label lang langKnown language lbl lem locale m measure meeting mentioned mood name nameLink note num number occasion occupation opener orgDivn orgName orgTitle orgType orig orth otherForm p per persName phr placeName pos preparedness principal pron pubPlace publisher purpose q quote rdg re ref reg region rendition residence resp restore role roleDesc roleName rs s salute seg sense settlement sic signed soCalled socecStatus sound sp speaker sponsor stage street stress subc supplied surname syll symbol tagUsage tech term time timeRange title titlePart tns tr trailer trans u unclear usg view w wit witDetail witness writing xr xref
Declaration

    <!ELEMENT seg %om.RR;  %paraContent;>
    <!ATTLIST seg
          %a.global;
          %a.seg;
          subtype CDATA #IMPLIED>

See further 14.3 Blocks, Segments and Anchors; 9.3 Components of the Verse Line; 10.2.4 Speech Contents

Up: 35 Elements