This element is modelled on an element in the Text Encoding Initiative (TEI) standard.
<sch:rule context="mei:zone/mei:graphic">
<sch:assert role="warning" test="count(mei:*) = 0">Graphic child of zone should not have
children.</sch:assert>
</sch:rule>
<sch:rule context="mei:symbolDef/mei:graphic">
<sch:assert role="warning" test="@startid or (@ulx and @uly)">Graphic should have either a
startid attribute or ulx and uly attributes.</sch:assert>
</sch:rule>
<sch:rule context="mei:graphic[not(ancestor::mei:symbolDef or ancestor::mei:zone)]">
<sch:assert role="warning" test="not(@ulx or @uly)">Graphic should not have @ulx or @uly
attributes.</sch:assert>
<sch:assert role="warning" test="not(@ho or @vo)">Graphic should not have @ho or @vo
attributes.</sch:assert>
</sch:rule>
<elementSpec ident="graphic" module="MEI.figtable">
<desc>Indicates the location of an inline graphic.</desc>
<classes>
<memberOf
key="att.common"/>
<memberOf
key="att.dimensions"/>
<memberOf
key="att.internetMedia"/>
<memberOf
key="att.facsimile"/>
<memberOf
key="att.metadataPointing"/>
<memberOf
key="att.pointing"/>
<memberOf
key="att.startId"/>
<memberOf
key="att.visualOffset"/>
<memberOf
key="model.graphicLike"/>
</classes>
<constraintSpec ident="graphic_attributes" scheme="isoschematron">
<constraint>
<sch:rule context="mei:zone/mei:graphic">
<sch:assert role="warning" test="count(mei:*) = 0">Graphic child of zone should not have
children.</sch:assert>
</sch:rule>
<sch:rule context="mei:symbolDef/mei:graphic">
<sch:assert role="warning" test="@startid or (@ulx and @uly)">Graphic should have either a
startid attribute or ulx and uly attributes.</sch:assert>
</sch:rule>
<sch:rule context="mei:graphic[not(ancestor::mei:symbolDef or ancestor::mei:zone)]">
<sch:assert role="warning" test="not(@ulx or @uly)">Graphic should not have @ulx or @uly
attributes.</sch:assert>
<sch:assert role="warning" test="not(@ho or @vo)">Graphic should not have @ho or @vo
attributes.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<attList org="group">
<attDef ident="ulx" usage="opt">
<desc>Indicates the upper-left corner x coordinate.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:data type="nonNegativeInteger"/>
</datatype>
</attDef>
<attDef ident="uly" usage="opt">
<desc>Indicates the upper-left corner y coordinate.</desc>
<datatype maxOccurs="1" minOccurs="1">
<rng:data type="nonNegativeInteger"/>
</datatype>
</attDef>
</attList>
<remarks>
<p part="N">This element is modelled on an element in the Text Encoding Initiative (TEI) standard.</p>
</remarks>
</elementSpec>