<exemplum>

<exemplum> (exemplum) contiene un unico esempio che illustra l'utilizzo di un elemento insieme ad eventuali paragrafi di discussione [22.5 Element Specifications]
Modulo tagdocs — Documentation Elements
Attributi
Contenuto in
Può contenere
core: p
linking: ab
tagdocs: eg egXML
Esempio
<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"><![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>
Content model
<content>
 <sequence>
  <classRef key="model.pLikeminOccurs="0"
   maxOccurs="unbounded"/>

  <alternate>
   <elementRef key="egXML"/>
   <elementRef key="eg"/>
  </alternate>
  <classRef key="model.pLikeminOccurs="0"
   maxOccurs="unbounded"/>

 </sequence>
</content>
Dichiarazione
<rng:element name="exemplum">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.typed.attributes"/>
 <rng:ref name="att.translatable.attributes"/>
 <rng:group>
  <rng:zeroOrMore>
   <rng:ref name="model.pLike"/>
  </rng:zeroOrMore>
  <rng:choice>
   <rng:ref name="egXML"/>
   <rng:ref name="eg"/>
  </rng:choice>
  <rng:zeroOrMore>
   <rng:ref name="model.pLike"/>
  </rng:zeroOrMore>
 </rng:group>
</rng:element>
element exemplum
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.typed.attributes,
   att.translatable.attributes,
   ( model.pLike*, ( egXML | eg ), model.pLike* )
}