§
<graphic>
<graphic> indicates the location of an inline graphic, illustration, or figure. [3.9. Graphics and Other Non-textual Components] | |
Module | core |
Attributes | Attributes att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @rendition)) (att.global.responsibility (@cert, @resp)) att.media (@width, @height) att.resourced (@url) |
Member of | |
Contained by | |
May contain | core: desc |
Declaration | element graphic { model.descLike* } |
Schematron | <sch:rule context="tei:graphic"> <sch:assert test="matches(@width, '\d+px') and matches(@height, '\d+px')"> Width and height in pixels must be specified for any <sch:name/>. </sch:assert></sch:rule> |
Schematron | <sch:rule context="tei:graphic"> <sch:assert test="parent::tei:figure"> <sch:name/> may only occur inside figure. </sch:assert></sch:rule> |
Example | <figure> <graphic url="fig1.png"/> <head>Figure One: The View from the Bridge</head> <figDesc>A Whistleresque view showing four or five sailing boats in the foreground, and a series of buoys strung out between them.</figDesc> </figure> |
Note | The mimeType attribute should be used to supply the MIME media type of the image specified by the url attribute. |