<exemplum>
<exemplum> groups an example demonstrating the use of an element along with optional paragraphs of commentary. [22.4.4 Element Specifications] | |
Modul | tagdocs — 22 Documentation Elements |
Attribute | att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) att.typed (@type, @subtype) att.translatable (@versionDate) |
Verwendet von | |
Enthalten in | tagdocs: attDef classSpec elementSpec macroSpec moduleSpec |
Kann enthalten | |
Deklaration |
element exemplum { att.global.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, att.typed.attributes, att.translatable.attributes, ( model.pLike*, ( egXML | eg ), model.pLike* ) } |
Beispiel | <exemplum xml:lang="en"> <p>The <gi>name</gi> element can be used for both personal names and place names:</p> <eg><![CDATA[ <q>My dear <name type="person">Mr. Bennet</name>,</q> said his lady to him one day, <q>have you heard that <name type="place">Netherfield Park</name> is let at last?</q>]]></eg> <p>As shown above, the <att>type</att> attribute may be used to distinguish the one from the other.</p> </exemplum> |