<constraintDecl>
<constraintDecl> (constraint declaration) contains declarations pertaining to formal constraints expressed elsewhere in constraintSpec elements [23.5.2 Additional Constraints] | |||||||||||||||||
Modulo | tagdocs — Documentation Elements | ||||||||||||||||
Attributi |
|
||||||||||||||||
Membro del | |||||||||||||||||
Contenuto in |
header: encodingDesc
tagdocs: schemaSpec
|
||||||||||||||||
Può contenere | ANY | ||||||||||||||||
Esempio |
<constraintDecl scheme="schematron"
queryBinding="xslt3"> <sch:ns prefix="wwp" uri="http://www.wwp.northeastern.edu/ns/textbase"/> </constraintDecl> |
||||||||||||||||
Schematron |
<sch:rule context="/*[ count( //tei:constraintDecl ) gt 1 ]"> <sch:let name="schemes" value="//tei:constraintDecl[ not(ancestor::*[local-name(.) eq 'egXML'] ) ]/@scheme"/> <sch:let name="disctinct_schemes" value="distinct-values( $schemes )"/> <sch:assert test="count( $schemes ) eq count( $disctinct_schemes )"> Each <constraintDecl> element should have a @scheme attribute that is distinct from that of all the other <constraintDecl>s. </sch:assert> </sch:rule> |
||||||||||||||||
Content model |
<content> |
||||||||||||||||
Dichiarazione |
<rng:element name="constraintDecl"> element constraintDecl { att.global.attributes, att.global.analytic.attributes, att.global.change.attributes, att.global.facs.attributes, att.global.linking.attributes, att.global.rendition.attributes, att.global.responsibility.attributes, att.global.source.attributes, attribute scheme { "schematron" | teidata.enumerated }, attribute queryBinding { "exslt" | "stx" | "xslt" | "xslt2" | "xslt3" | "xpath" | "xpath2" | "xpath3" | "xpath31" | "xquery" | "xquery3" | "xquery31" | teidata.enumerated }?, ( ( model.identEquiv | model.descLike )*, anyElement_constraintDecl_4* ) } |