att.altsym

Attributes supplying pointers to user-defined symbols.
Module MEI.usersymbols
Members
Attributes
@altsym(optional)Provides a way of pointing to a user-defined symbol. It must contain an ID of a <symbolDef> element elsewhere in the document. Value conforms to data.URI. att.altsym
Declaration
<attDef ident="altsym" usage="opt">
<desc>Provides a way of pointing to a user-defined symbol. It must contain an ID of a <symbolDef> element elsewhere in the document.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:ref name="data.URI" />
</datatype>
<constraintSpec ident="check_altsymTarget" scheme="isoschematron">
<constraint>
<sch:rule context="@altsym">
<sch:assert role="warning" test="not(normalize-space(.) eq '')">@altsym attribute should have content.</sch:assert>
<sch:assert role="warning" test="every $i in tokenize(., '\s+') satisfies substring($i,2)=//mei:symbolDef/@xml:id">The value in @altsym should correspond to the @xml:id attribute of a symbolDef element.</sch:assert>
<sch:assert test="not(substring(., 2) eq ancestor::mei:symbolDef/@xml:id)">The value in @altsym must not correspond to the @xml:id attribute of a symbolDef ancestor.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</attDef>
Constraint
@altsym attribute should have content.
The value in @altsym should correspond to the @xml:id attribute of a symbolDef element.
The value in @altsym must not correspond to the @xml:id attribute of a symbolDef ancestor.
<sch:rule context="@altsym">
<sch:assert role="warning" test="not(normalize-space(.) eq '')">@altsym attribute should have content.</sch:assert>
<sch:assert role="warning" test="every $i in tokenize(., '\s+') satisfies substring($i,2)=//mei:symbolDef/@xml:id">The value in @altsym should correspond to the @xml:id attribute of a symbolDef element.</sch:assert>
<sch:assert test="not(substring(., 2) eq ancestor::mei:symbolDef/@xml:id)">The value in @altsym must not correspond to the @xml:id attribute of a symbolDef ancestor.</sch:assert>
</sch:rule>