<ZoneCode> element

The <ZoneCode> element is a subelement of <Zone> used to differentiate identical zone information. It is possible that zone information is not unique, meaning that the zone import data column contains two or more identical values. In this case you need to use <ZoneCode> to define an expression that uniquely identifies the individual zone.

For example, in the United States, it is possible for multiple states to have a city with the same name, such as Portland, Oregon and Portland, Maine. To uniquely identify the city, you associate a particular state with the city. To make this association, create an expression that prepends the state import data value to the city import data value to obtain a unique city-state code:

<Zone code="city" fileColumn="3" granularity="2">
  <ZoneCode>
    state + ":" + city
  </ZoneCode>
  ...
</Zone>

This expression specifies that the State value must be concatenated with the County value, separated by a colon (:) delimiter. The values you use to construct the expression must be valid <Zone> code values, other than constants, that are defined in a <Zones> element for this country.

See also