| Attributes for linking metadata to data. |
| Module |
MEI.shared |
| Members |
availability, classification, clip, correction, editorialDecl, expression, interpretation, item, langUsage, normalization, projectDesc, recording, relatedItem, samplingDecl, segmentation, source, stdVals, surface, when, work, zone (direct members of att.datapointing)
|
| Attributes |
@data(optional)Used to link metadata elements to one or more data-containing elements.
One or more values from data.URI, separated by spaces.
att.datapointing
|
| Declaration |
<attDef ident="data" usage="opt">
<desc>Used to link metadata elements to one or more data-containing elements.</desc>
<datatype maxOccurs="unbounded" minOccurs="1">
</datatype>
<constraintSpec ident="check_dataTarget" scheme="isoschematron">
<constraint>
<sch:rule context="@data">
<sch:assert role="warning" test="not(normalize-space(.) eq '')">@data attribute
should have content.</sch:assert>
<sch:assert role="warning" test="every $i in tokenize(., '\s+') satisfies substring($i,2)=//mei:*[ancestor::mei:music]/@xml:id">The value in @data should correspond to the @xml:id attribute of a descendant of
the music element.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</attDef>
|
| Constraint |
@data attribute should have content.
The value in @data should correspond to the @xml:id attribute of a descendant of the
music element.
<sch:rule context="@data">
<sch:assert role="warning" test="not(normalize-space(.) eq '')">@data attribute
should have content.</sch:assert>
<sch:assert role="warning" test="every $i in tokenize(., '\s+') satisfies substring($i,2)=//mei:*[ancestor::mei:music]/@xml:id">The value in @data should correspond to the @xml:id attribute of a descendant of
the music element.</sch:assert>
</sch:rule>
|