<constraint>
<constraint> (constraint rules) the formal rules of a constraint [22.5 Element Specifications] | |
Módulo | tagdocs — Documentation Elements |
Atributos |
|
Contenido en |
tagdocs: constraintSpec
|
Puede contener | ANY |
Ejemplo |
<constraintSpec ident="isoconstraint"
scheme="schematron"> <constraint> <sch:assert test="tei:fileDesc/tei:titleStmt/tei:title[@type='main']"> a main title must be supplied </sch:assert> </constraint> </constraintSpec> |
Ejemplo |
<constraintSpec ident="local"
scheme="private"> <constraint> (output = (ident(title) ident(author) "You must supply a title or an author")) </constraint> </constraintSpec> |
Content model |
<content> |
Declaración |
<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_4 )* } |