<sch:rule context="@startid">
<sch:assert role="warning" test="not(normalize-space(.) eq '')">@startid attribute
should have content.</sch:assert>
<sch:assert role="warning" test="every $i in tokenize(., '\s+') satisfies substring($i,2)=//mei:*/@xml:id">The
value in @startid should correspond to the @xml:id attribute of an
element.</sch:assert>
</sch:rule>
<classSpec ident="att.startId" module="MEI.shared" type="atts">
<desc>Attributes that identify a relative starting point.</desc>
<attList org="group">
<attDef ident="startid" usage="opt">
<desc>Holds a reference to the first element in a sequence of events to which the feature
applies.</desc>
<constraintSpec ident="check_startidTarget" scheme="isoschematron">
<constraint>
<sch:rule context="@startid">
<sch:assert role="warning" test="not(normalize-space(.) eq '')">@startid attribute
should have content.</sch:assert>
<sch:assert role="warning" test="every $i in tokenize(., '\s+') satisfies substring($i,2)=//mei:*/@xml:id">The
value in @startid should correspond to the @xml:id attribute of an
element.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</attDef>
</attList>
</classSpec>