Skip to content

<exemplum>

exemplum

groups an example demonstrating the use of an element along with optional paragraphs of commentary.

Module tagdocsTDTAG

Attributes

Classes and content

May contain

core

linking

tagdocs

Contained by

Example

<exemplum xml:lang="en">
  <p>The <gi>name</gi> element can be used for both personal names and place names:</p>
  <eg xml:space="preserve">&lt;![CDATA[ &lt;q&gt;My dear &lt;name type="person"&gt;Mr.
Bennet&lt;/name&gt;,&lt;/q&gt; said his lady to him one day,
&lt;q&gt;have you heard that &lt;name type="place"&gt;Netherfield
Park&lt;/name&gt; is let at last?&lt;/q&gt;]]&gt;</eg>
  <p>As shown above, the <att>type</att> attribute may be used to distinguish the one from the
other.</p>
</exemplum>

Content model

<content>
    <sequence>
      
        <classRef key="model.pLike" minOccurs="0" maxOccurs="unbounded"/>
      
      <alternate>
        <elementRef key="egXML"/>
        <elementRef key="eg"/>
      </alternate>
      
        <classRef key="model.pLike" minOccurs="0" maxOccurs="unbounded"/>
      
    </sequence>
  </content>