| ## Text Encoding Initiative
### The XML Version of the TEI Guidelines # <distance>

`<distance>` | (distance) that part of a relative temporal or spatial expression which indicates the distance between the place or time denoted by it and the place or time referred to within it.
Attributes | (In addition to global attributes and those inherited from placePart, temporalExpr)
`exact` | indicates the degree of accuracy associated with the distance.
| Datatype: ( Y | N | U )
| Legal values are:
Y | The distance is exact.
N | The distance is approximate.
U | Accuracy unavailable or unknown.
| Default: U

Example

    <placeName>
      <distance reg="3.2 km">two miles</distance>
      <offset>north east of</offset>
      <placeName>Manchester</placeName>
    </placeName>

    <dateStruct>
      <distance exact="N" reg="14 d">a fortnight</distance>
      <offset>after</offset>
      <occasion>Michaelmas</occasion>
    </dateStruct>

    <timeStruct>
      <distance>20 minutes</distance>
      <offset>before</offset>
      <hour>noon</hour>.
    </timeStruct>

Note

This is a specialized form of measure, used only within relative temporal and spatial expressions.

Module Declared in file teind2; Additional tag set for Names and Dates: enabled by TEI.names.dates
Class temporalExpr; placePart
May contain #PCDATA abbr add addSpan address alt altGrp anchor app c caesura cb certainty cl corr damage date dateRange dateStruct del delSpan distinct emph expan fLib foreign formula fs fsLib fvLib fw gap geogName gloss handShift hi index interp interpGrp join joinGrp lang lb link linkGrp m measure mentioned milestone name num oRef oVar orgName orig pRef pVar pb persName phr placeName ptr ref reg respons restore rs s seg sic soCalled space span spanGrp supplied term time timeRange timeStruct timeline title unclear w xptr xref
May occur within dateStruct placeName timeStruct
Declaration

    <!ELEMENT distance %om.RR; %phrase.seq;>
    <!ATTLIST distance
          %a.global;
          %a.temporalExpr;
          exact ( Y | N | U ) "U">

See further 20.2 Place Names

Up: 35 Elements