element <mediaobject>
Namespace:
Type:
anonymous complexType
Content:
complex, 1 attribute, 4 elements
Defined:
globally in eruditarticle.xsd, see XML source
Includes:
definitions of 1 attribute and 4 elements
Used:
XML Representation Summary
<mediaobject
    float
 = 
("block" | "inline")
    >
   
Content: 
(audio | image | video), text?
</mediaobject>
May contain elements (4):
May be included in elements (92):
Known Usage Locations
Annotation
Label
Media object
Description
Non-textual information (audio, video, image, etc.) inserted into the body of the article, inline or as a block.
Comments

An “image”-type media object, with “block” value assigned to the “float” attribute, should always be found inside one of the following elements: box, equation, example, figure, object, table, table data cell, table heading cell, relation list source, relation list target

A media object, when found inside an element having textual contents only and/or sub-elements which do not influence the float of the text, must be used only with the “inline” value assigned to the “float” attribute. In this context, it will generally be used to represent special characters not supported by the font used to display the articles.

Examples
example 1
<mediaobject float="block">
    <audio id="ad3"/>
</mediaobject>
example 2
<mediaobject float="inline">
    <image id="im26" imagetype="layout"/>
</mediaobject>
XML Source (w/o annotations (2); see within schema source)
<xs:element name="mediaobject">
<xs:complexType>
<xs:sequence>
<xs:choice>
<xs:element ref="audio"/>
<xs:element ref="image"/>
<xs:element ref="video"/>
</xs:choice>
<xs:element minOccurs="0" ref="text"/>
</xs:sequence>
<xs:attribute name="float" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="block"/>
<xs:enumeration value="inline"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
Attribute Detail (defined in this component only; 1/1)
float
Type:
anonymous (restriction of xs:NMTOKEN)
Use:
required
Label
Float
Description

Media object positioning in connection with the flow of text.

block
on the fringe of the text
inline
in the flow of text
Attribute Value
enumeration of xs:NMTOKEN
Enumeration:
"block", "inline"
Anonymous simpleType
Type Derivation Tree
xs:NMTOKEN
  simpleType (restriction)
Derivation:
restriction of xs:NMTOKEN
Facets:
enumeration:
"block", "inline"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="float" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="block"/>
<xs:enumeration value="inline"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
Content Element Detail (defined in this component only; 4/4)
audio
Type:
mediaobjtype, empty content
XML Source (see within schema source)
<xs:element ref="audio"/>

image
Type:
anonymous (extension of mediaobjtype), empty content
XML Source (see within schema source)
<xs:element ref="image"/>

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

video
Type:
mediaobjtype, empty content
XML Source (see within schema source)
<xs:element ref="video"/>

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