<zone>

<zone> defines any two-dimensional area within a surface element. [11.1 Digital Facsimiles 11.2.2 Embedded Transcription]
Moduletranscr — Representation of Primary Sources
Attributesatt.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) att.coordinated (@start, @ulx, @uly, @lrx, @lry) att.typed (@type, @subtype)
pointsidentifies a two dimensional area within the bounding box specified by the other attributes by means of a series of pairs of numbers, each of which gives the x,y coordinates of a point on a line enclosing the area.
Status Optional
Datatype 3–∞ occurrences of 

<rng:ref name="data.point"/>
data.point
separated by whitespace
rotateindicates the amount by which this zone has been rotated clockwise, with respect to the normal orientation of the parent surface element as implied by the dimensions given in the msDesc element or by the coordinates of the surface itself. The orientation is expressed in arc degrees.
Status Optional
Datatype

<rng:ref name="data.count"/>
data.count
Default 0
Member of
Contained by
transcr: line surface zone
May contain
Declaration

<rng:element name="zone">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.coordinated.attributes"/>
 <rng:ref name="att.typed.attributes"/>
 <rng:optional>
  <rng:attribute name="points">
   <rng:list>
    <rng:ref name="data.point"/>
    <rng:ref name="data.point"/>
    <rng:ref name="data.point"/>
    <rng:zeroOrMore>
     <rng:ref name="data.point"/>
    </rng:zeroOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="rotatea:defaultValue="0">
   <rng:ref name="data.count"/>
  </rng:attribute>
 </rng:optional>
 <rng:zeroOrMore>
  <rng:choice>
   <rng:text/>
   <rng:ref name="model.graphicLike"/>
   <rng:ref name="model.global"/>
   <rng:ref name="surface"/>
   <rng:ref name="model.linePart"/>
  </rng:choice>
 </rng:zeroOrMore>
</rng:element>
element zone
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.coordinated.attributes,
   att.typed.attributes,
   attribute points
   {
      list { data.point, data.point, data.point, data.point* }
   }?,
   attribute rotate { data.count }?,
   ( text | model.graphicLike | model.global | surface | model.linePart )*
}
Example
<surface
  ulx="14.54"
  uly="16.14"
  lrx="0"
  lry="0">

 <graphic url="stone.jpg"/>
 <zone
   points="4.6,6.3 5.25,5.85 6.2,6.6 8.19222,7.4125 9.89222,6.5875 10.9422,6.1375 11.4422,6.7125 8.21722,8.3125 6.2,7.65"/>

</surface>

This example defines a non-rectangular zone: see the illustration in section 11.4 Advanced uses of Surface and Zone.

Example
<facsimile>
 <surface
   ulx="50"
   uly="20"
   lrx="400"
   lry="280">

  <zone
    ulx="0"
    uly="0"
    lrx="500"
    lry="321">

   <graphic url="graphic.png "/>
  </zone>
 </surface>
</facsimile>

This example defines a zone which has been defined as larger than its parent surface in order to match the dimensions of the graphic it contains.

Note

The position of every zone for a given surface is always defined by reference to the coordinate system defined for that surface.

A graphic element contained by a zone represents the whole of the zone.

A zone may be of any shape. The attribute points may be used to define a polygonal zone, using the coordinate system defined by its parent surface.