Provides attributes for elements which may be associated with particular contextual
elements within the header.
|
Module |
MEI.shared |
Members |
avFile, back, body, clip, div, facsimile, front, graphic, group, layer, layerDef, lg, mdiv, measure, music, p, part, parts, performance, recording, score, section, staff, staffDef, staffGrp, surface (direct members of att.declaring)
|
Attributes |
@decls(optional)Identifies one or more metadata elements within the header, which are understood to
apply to the element bearing this attribute and its content.
One or more values from data.URI, separated by spaces.
att.declaring
|
Declaration |
<attDef ident="decls" usage="opt">
<desc>Identifies one or more metadata elements within the header, which are understood to
apply to the element bearing this attribute and its content.</desc>
<datatype maxOccurs="unbounded" minOccurs="1">
</datatype>
<constraintSpec ident="check_declsTarget" scheme="isoschematron">
<constraint>
<sch:rule context="@decls">
<sch:assert role="warning" test="not(normalize-space(.) eq '')">@decls attribute
should have content.</sch:assert>
<sch:assert role="warning" test="every $i in tokenize(., '\s+') satisfies substring($i,2)=//mei:*[ancestor::mei:meiHead]/@xml:id">Each value in @decls should correspond to the @xml:id attribute of an element
within the metadata header.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</attDef>
|
Constraint |
@decls attribute should have content.
Each value in @decls should correspond to the @xml:id attribute of an element within
the metadata header.
<sch:rule context="@decls">
<sch:assert role="warning" test="not(normalize-space(.) eq '')">@decls attribute
should have content.</sch:assert>
<sch:assert role="warning" test="every $i in tokenize(., '\s+') satisfies substring($i,2)=//mei:*[ancestor::mei:meiHead]/@xml:id">Each value in @decls should correspond to the @xml:id attribute of an element
within the metadata header.</sch:assert>
</sch:rule>
|