<constraint>

<constraint> (constraint rules) the formal rules of a constraint
Módulo tagdocs — 22 Documentation Elements
Usado por
Puede contener Elemento vacío
Declaración

<rng:element name="constraint">
 <rng:ref name="att.global.attributes"/>
 <rng:choice>
  <rng:text/>
  <rng:ref name="macro.anyXML"/>
 </rng:choice>
</rng:element>
element constraint { att.global.attributes, ( text | macro.anyXML ) }
Ejemplo
<constraintSpec ident="local" scheme="private">
 <constraint>
   (output = (ident(title) ident(author) "You must supply a title or an author"))
 </constraint>
</constraintSpec>