<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright TEI Consortium. 
Dual-licensed under CC-by and BSD2 licences 
See the file COPYING.txt for details
$Date: 2011-12-12 19:26:58 +0000 (Mon, 12 Dec 2011) $
$Id: data.point.xml 9933 2011-12-12 19:26:58Z rahtz $
-->
<macroSpec xmlns="http://www.tei-c.org/ns/1.0" 
  module="tei" type="dt" ident="data.point">
  <desc>defines the data type used to express a point in cartesian space.</desc>
  <content>
     <data type="token" xmlns="http://relaxng.org/ns/structure/1.0">
        <param name="pattern">(\-?[0-9]+\.?[0-9]*,\-?[0-9]+\.?[0-9]*)</param>
      </data>
   </content>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <facsimile>
        <surface ulx="0" uly="0" lrx="400" lry="280">
          <zone points="220,100 300,210 170,250 123,234">
            <graphic url="handwriting.png "/>
          </zone>
        </surface>
      </facsimile>
    </egXML>
  </exemplum>
  <remarks>
    <p>A point is defined by two numeric values, which may be expressed in any notation permitted.</p>
  </remarks>
</macroSpec>
