<constraint>
<constraint> (constraint rules) the formal rules of a constraint [22.4.4 Element Specifications] | |
모듈 | tagdocs — Documentation Elements |
속성 | att.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)) |
에 의해 포함된 | tagdocs: constraintSpec |
포함할 수 있다 | ANY |
선언 |
element constraint { att.global.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, ( text | macro.anyXML ) } |
예 | <constraintSpec ident="isoconstraint" scheme="isoschematron"> <constraint> <s:assert test="tei:fileDesc/tei:titleStmt/tei:title[@type='main']"> a main title must be supplied </s:assert> </constraint> </constraintSpec> |
예 | <constraintSpec ident="local" scheme="private"> <constraint> (output = (ident(title) ident(author) "You must supply a title or an author")) </constraint> </constraintSpec> |