<constraintDecl>
<constraintDecl> (constraint declaration) contains declarations pertaining to formal constraints expressed elsewhere in constraintSpec elements [23.5.2 Additional Constraints] | |||||||||||||||||
モジュール | tagdocs — Documentation Elements | ||||||||||||||||
属性 |
|
||||||||||||||||
クラブのメンバー | |||||||||||||||||
上位 |
header: encodingDesc
tagdocs: schemaSpec
|
||||||||||||||||
下位 | ANY | ||||||||||||||||
例 | |||||||||||||||||
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> |
||||||||||||||||
宣言 |
<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* ) } |