element <example>
Namespace:
Type:
Content:
complex, 1 attribute, 13 elements
Defined:
globally in eruditarticle.xsd, see XML source
Includes:
definitions of 2 elements
Used:
XML Representation Summary
<example
    id
 = 
xs:ID
    >
   
Content: 
no*, caption*, (blocktext | blockquote | unordlist | ordlist | relationlist | mediaobject | biblioref | tabtext | verbatim)+, exnote*, source?
</example>
May contain elements (13):
May be included in elements (10):
Known Usage Locations
Annotation
Label
Example
Description
Intended to explain or illustrate what has just been stated in the text.
Comments

Use of the word “example” in the text of an article does not necessarily mean a block of information has to be tagged in an “example” element. The use of “example” should be limited to one or more of the following cases: (1) Example with unique numeration; (2) Example with a legend, notes and/or source; (3) Presence of a full-size image that must be displayed for semantic reasons when loading the article, and not in the form of a thumbnail, and that is not inside a box, a table cell, a relation list or an equation.

Note that the example generally takes the form of text (e.g. “blocktext”, “tabtext” but can also be in the form of an image (“objetmedia”).

An example whose entire content consists of a quotation must not have its content tagged in a “blockquote” element. Instead, tag it all in simple sentence elements and add the source in a “source” element child of the “example” element.

The content of the “no” sub-element must be entered as it appears in the article, with or without initial or final punctuation. It consists of the mention of the type of object and its number, such as Example 1, 1, Ex. 1, etc.

Examples, which generally appear inside a paragraph, must remain inside the paragraph.

Examples
example 1
<example id="ex5">
    <no>Exemple 3</no>
    <caption lang="fr">…</caption>
    <mediaobject float="block">
        <image id="im2" imagetype="example" xlink:type="simple" xlink:href="exemple3.jpg"
        xlink:show="embed" xlink:actuate="onLoad" xlink:title="Image de l’exemple 3" dimx="200"
        dimy="40" desc="exemple numérisée à partir du papier"/>
    </mediaobject>
    <exnote id="nx1">…</exnote>
    <source>…</source>
</example>
example 2
<example id="ex12">
    <no>Exemple9</no>
    <blocktext>…</blocktext>
</example>
Anonymous Type Detail
Type Derivation Tree
  complexType (extension)
XML Source (w/o annotations (1); see within schema source)
<xs:element name="example">
<xs:complexType>
<xs:complexContent>
<xs:extension base="illustrationtype">
<xs:sequence>
<xs:group maxOccurs="unbounded" ref="embeddedblock"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="exnote"/>
<xs:element minOccurs="0" ref="source"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
Content Element Detail (defined in this component only; 2/13)
exnote
Type:
illustrationnotetype, complex content
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="exnote"/>

source
Type:
biblioreftype, mixed content
XML Source (see within schema source)
<xs:element minOccurs="0" ref="source"/>

XML schema documentation generated with DocFlex/XML 1.7.0 using DocFlex/XML | XSDDoc 2.0.0 template set