att.source

att.source Attributes common to elements that may refer to a source.
Module MEI.critapp
Members
Attributes
@source (optional) Contains a list of one or more pointers indicating the sources which attest to a given reading. Each value should correspond to the ID of a <source> element located in the document header. One or more values from data.URI , separated by spaces. att.source
Declaration
<attDef ident= "source" usage= "opt">
<desc>Contains a list of one or more pointers indicating the sources which attest to a given reading. Each value should correspond to the ID of a <source> element located in the document header. </desc>
<datatype maxOccurs= "unbounded" minOccurs= "1">
<rng:ref name= " data.URI" />
</datatype>
<constraintSpec ident= "check_sourceTarget" scheme= "isoschematron">
<constraint>
<sch:rule context= "@source">
<sch:assert role= "warning" test= "not(normalize-space(.) eq '')"> @source attribute should have content. </sch:assert>
<sch:assert role= "warning" test= "every $i in tokenize(., '\s+') satisfies substring($i,2)=//mei:source/@xml:id"> Each value in @source should correspond to the @xml:id attribute of a source element. </sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</attDef>
Constraints
@source attribute should have content.
Each value in @source should correspond to the @xml:id attribute of a source element.
<sch:rule context= "@source">
<sch:assert role= "warning" test= "not(normalize-space(.) eq '')"> @source attribute should have content. </sch:assert>
<sch:assert role= "warning" test= "every $i in tokenize(., '\s+') satisfies substring($i,2)=//mei:source/@xml:id"> Each value in @source should correspond to the @xml:id attribute of a source element. </sch:assert>
</sch:rule>

MEI Guidelines Version 3.0.0

Attribute Classes