element <verbatim>
Namespace:
Type:
anonymous complexType
Content:
complex, 1 attribute, 2 elements
Defined:
globally in eruditarticle.xsd, see XML source
Includes:
definitions of 1 attribute and 2 elements
Used:
XML Representation Summary
<verbatim
    verbatype
 = 
("dialogue" | "layout" | "mslayout" | "verbatim" | "poem" | "mspoem" | "program")
    >
   
Content: 
block+, source?
</verbatim>
May contain elements (2):
May be included in elements (37):
Known Usage Locations
Annotation
Label
Verbatim
Description
Text accurately reproducing a person’s words, with not a single word changed; true to the original.
Comments

The text in question consists of a block of information whose complex layout must be preserved and cannot be represented by any other data model elements (“blocktext”, “ordlist”, “relationlist”, etc.). The numerous verbatim types allow for more precisely defining the type of content concerned and thereby varying the treatment accordingly. It might be found inside an “equation” element if this equation cannot be represented by a simple “blocktext” element, or inside any other element whose content cannot be represented by a “blocktext” element or other complex layout elements. Otherwise, the verbatim will be used inside a paragraph, preceded and/or followed by “blocktext” elements or any other element.

Verbatim wording in the form of a quote (excerpt from a literary work by someone other than the author of the article) must be put into a “blockquote” element. The source of the verbatim wording, if present, goes into a “source” element constituting a child of the “blockquote” element. Otherwise, the source of the verbatim will go in a “source” element, under the “verbatim” element.

Even if verbatim wording is allowed outside a paragraph, its use in this context is not recommended except with articles for which no numbering is desired since numbering is not appropriate to the content. Examples: stage play, set of poems.

An unordered list without any sign should be used in place of layout-type verbatim wording when one or more lines of separate text are indented from the main text, with no special horizontal or vertical spacing, and these lines do not constitute an excerpt from a literary work (poem, play, etc.) or program.

Examples
example 1
<blockquote>
    <verbatim verbtype="poem">
        <block halign="center">
            <line>Un bruit de soie plus lisse que le vent</line>
            <line>Passage de la lumière sur un paysage d'eau.</line>
        </block>
        <block>
            <line>L'éclat de midi efface ta forme devant moi</line>
            <line>Tu trembles et luis comme un miroir</line>
            <line>Tu m'offres le soleil à boire</line>
            <vspace dim="2em"/>
            <line><hspace dim="8ex"/>À même ton visage absent.</line>
        </block>
        <block>
            <line>Trop de lumière empêche de voir;</line>
            <line><hspace dim="18ex"/>l'un et l'autre torche blanche,</line>
            <line><hspace dim="36ex"/>grand vide de midi</line>
            <line>Se cherche à travers le feu et l'eau</line>
            <line><hspace dim="30ex"/>fumée.</line>
        </block>
    </verbatim>
    <source>…</source>
</blockquote>
example 2
<verbatim verbtype="program">
    <block>
        <line>if (!$commande) {</line>
        <line><hspace dim="4ex"/>&init;</line>
        <line>}</line>
        <line>elsif ($commande eq "l1") {</line>
        <line><hspace dim="4ex"/>&lire;</line>
        <line>}</line>
        <line>elsif ($commande eq "e1") {</line>
        <line><hspace dim="4ex"/>&editer;</line>
        <line>}</line>
        <line>elsif ($commande eq "m1") {</line>
        <line><hspace dim="4ex"/>&modifier;</line>
        <line>}</line>
        <line>else {</line>
        <line><hspace dim="4ex"/>&erreur("Paramètres invalides");</line>
        <line>}</line>
    </block>
</verbatim>
XML Source (w/o annotations (2); see within schema source)
<xs:element name="verbatim">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="block"/>
<xs:element minOccurs="0" ref="source"/>
</xs:sequence>
<xs:attribute name="verbatype" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="dialogue"/>
<xs:enumeration value="layout"/>
<xs:enumeration value="mslayout"/>
<xs:enumeration value="verbatim"/>
<xs:enumeration value="poem"/>
<xs:enumeration value="mspoem"/>
<xs:enumeration value="program"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribute Detail (defined in this component only; 1/1)
verbatype
Type:
anonymous (restriction of xs:NMTOKEN)
Use:
required
Label
Verbatim type
Description

Nature or kind of the verbatim.

dialogue
applies to any literature including dialogues
layout
complex layout
mslayout
complex layout, with fixed-width characters
verbatim
work where one reports “verbatim” a person's statements
poem
work in verse: fixed or free form
mspoem
work in verse - fixed or free form - with fixed-width characters
program
set of instructions written in a particular language and executed by a computer to perform a particular process. The characters for these instructions are generally fixed-width.
Attribute Value
enumeration of xs:NMTOKEN
Enumeration:
"dialogue", "layout", "mslayout", "verbatim", "poem", "mspoem", "program"
Anonymous simpleType
Type Derivation Tree
xs:NMTOKEN
  simpleType (restriction)
Derivation:
restriction of xs:NMTOKEN
Facets:
enumeration:
"dialogue", "layout", "mslayout", "verbatim", "poem", "mspoem", "program"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="verbatype" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="dialogue"/>
<xs:enumeration value="layout"/>
<xs:enumeration value="mslayout"/>
<xs:enumeration value="verbatim"/>
<xs:enumeration value="poem"/>
<xs:enumeration value="mspoem"/>
<xs:enumeration value="program"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
Content Element Detail (defined in this component only; 2/2)
block
Type:
anonymous, complex content
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" ref="block"/>

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