att.dataPointing

Attributes for linking metadata to data.
Module
Attributes
@data
@data(optional)Used to link metadata elements to one or more data-containing elements. One or more values from data.URI, separated by spaces.
@data(optional)Used to link metadata elements to one or more data-containing elements. One or more values from data.URI, separated by spaces.
@data(optional)Used to link metadata elements to one or more data-containing elements. One or more values from data.URI, separated by spaces.
Available at
<availability>Groups elements that describe the availability of and access to a bibliographic item, including an MEI-encoded document.
<availability>Groups elements that describe the availability of and access to a bibliographic item, including an MEI-encoded document.
Constraints

@data attribute should have content.
The value in @data should correspond to the @xml:id attribute of a descendant of the music element.

Declaration
<classSpec rend="add" ident="att.dataPointing" module="MEI.shared" type="atts">
<desc xml:lang="en">Attributes for linking metadata to data.</desc>
<attList>
<attDef ident="data" usage="opt">
<desc xml:lang="en">Used to link metadata elements to one or more data-containing elements.</desc>
<datatype maxOccurs="unbounded">
<ref name="data.URI"/>
</datatype>
<constraintSpec ident="check_dataTarget" scheme="schematron">
<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>
</attList>
</classSpec>