Next / Previous / Contents / Shipman's homepage

4.5. XHTML for locality definitions

For each defined locality code, this XHTML is generated:

      <div class='loc-def'>
        @code: name
        <div class='loc-narrative'>
          text
        </div>
        <div class='loc-narrative'>
          GPS: waypoint narrative
        </div>
        ...
      </div>

where code is the locality code and name is the name attribute of the locality. For the styling of the outer div, see Section 5.9, “div.loc-def: Location definition”.

The first inner div is generated only when there is a long description for the locality. If there are GPS waypoints defined for this locality, they follow inside the outer div. For the styling of these blocks, see Section 5.10, “div.loc-narrative: Locality narrative”.