<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright TEI Consortium. 
Licensed under the GNU General Public License. 
See the file COPYING.txt for details
$Date: 2009-06-10 22:38:48 +0100 (Wed, 10 Jun 2009) $
$Id: constraint.xml 6559 2009-06-10 21:38:48Z rahtz $
-->
<elementSpec 
    xmlns="http://www.tei-c.org/ns/1.0" 
    xmlns:rng="http://relaxng.org/ns/structure/1.0" module="tagdocs" ident="constraint">
  <gloss>constraint rules</gloss>
  <desc>the formal rules of a constraint</desc>
  <content>
    <rng:choice>
      <rng:text/>
      <rng:ref name="macro.anyXML"/>
    </rng:choice>
  </content>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <constraintSpec ident="local" scheme="private">
	<constraint> 
(output = (ident(title) ident(author) "You must supply a title or an author"))
	</constraint> 
      </constraintSpec>
    </egXML>
  </exemplum>
  
</elementSpec>
