<constraint>
<constraint> (constraint rules) the formal rules of a constraint [22.5 Element Specifications] | |
Module | tagdocs — Documentation Elements |
Attributes | att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) |
Contained by | tagdocs: constraintSpec |
May contain | Character data only |
Example | <constraintSpec ident="isoconstraint" scheme="schematron"> <constraint> <s:assert test="tei:fileDesc/tei:titleStmt/tei:title[@type='main']"> a main title must be supplied </s:assert> </constraint> </constraintSpec> |
Example | <constraintSpec ident="local" scheme="private"> <constraint> (output = (ident(title) ident(author) "You must supply a title or an author")) </constraint> </constraintSpec> |
Content model | <content> |
Schema Declaration | <rng:element name="constraint"> element constraint { att.global.attributes, att.global.rendition.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, att.global.responsibility.attributes, att.global.source.attributes, ( text | anyElement-constraint )* } |