<constraint>

<constraint> (constraint rules) the formal rules of a constraint [22.4.4 Element Specifications]
Modultagdocs — Documentation Elements
Attributeatt.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))
Mitglied des
Enthalten in
Kann enthaltenANY
Deklaration

<rng:element name="constraint">
 <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:choice>
  <rng:text/>
  <rng:ref name="macro.anyXML"/>
 </rng:choice>
</rng:element>
element constraint
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   ( text | macro.anyXML )
}
Beispiel
<constraintSpec ident="localscheme="private">
 <constraint>
   (output = (ident(title) ident(author) "You must supply a title or an author"))
 </constraint>
</constraintSpec>