elml:multimedia

The element multimedia allows to integrate images, interactions, animations, etc. into the
content.

Element Information

Model

ANY element from ANY namespace

Attributes

QName Type Fixed Default Use Inheritable Annotation
align restriction of xs:string optional
The attribute align allows to specify the horizontal alignment of multimedia objects and content within columns and
tables.
bibIDRef xs:string optional
cssClass xs:string optional
height xs:positiveInteger optional
The attribute height allows to specify the height of an image, multimedia object, table, etc. as a
positive Number.
icon xs:string optional
label elml:LabelType optional
The attribute label is restricted to 25 characters which can be a random selection from the values 'a-z',
'A-Z', '0-9' and '_'.
labelRef elml:LabelType optional
The attribute labelRef contains the references to a valid label of one other element within a lesson.
legend xs:string optional
The attribute legend contains a string representing an image or other elements legend.
pageNr xs:string optional
src xs:anyURI optional
The attribute src contains the URI to the multimedia file (e.g.
../multimedia/test.jpg).
thumbnail xs:anyURI optional
The attribute thumbnail contains the URI to the thumbnail file (e.g. ../multimedia/test_thumb.jpg) in case
an image shall be displayed with a thumbnail.
title xs:string optional
The attribute title contains a string representing a title.
type restriction of xs:string required
The attribute type allows to specify the type of a multimedia element (similar to mime types). Possible values are gif,
jpeg, png, flash, svg, quicktime, mpeg, mp3, mp4, ogg, webm, vrml, x3d, realone, mathml, div and applet.
units restriction of xs:string optional
The attribute units allows the values pixels or percent. It is used to specify what the units of the
numbers specified in the attributes width and height are.
visible xs:string optional
width xs:positiveInteger optional
The attribute width allows to specify the width of an image, multimedia object, table, etc. as a positive
Number.

Used By

Source

<xs:element name="multimedia">
  <xs:annotation>
    <xs:documentation>The element multimedia allows to integrate images, interactions, animations, etc. into the content.</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="true">
    <xs:complexContent mixed="true">
      <xs:restriction base="xs:anyType">
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:any processContents="skip"/>
        </xs:choice>
        <xs:attributeGroup ref="elml:LabelImp"/>
        <xs:attributeGroup ref="elml:LabelRefImp"/>
        <xs:attributeGroup ref="elml:TitleImp"/>
        <xs:attributeGroup ref="elml:IconImp"/>
        <xs:attributeGroup ref="elml:SourceImp"/>
        <xs:attributeGroup ref="elml:TypeReq"/>
        <xs:attributeGroup ref="elml:AlignmentImp"/>
        <xs:attributeGroup ref="elml:SizeImp"/>
        <xs:attributeGroup ref="elml:LegendImp"/>
        <xs:attributeGroup ref="elml:BibIDRefImp"/>
        <xs:attributeGroup ref="elml:BibPageNr"/>
        <xs:attributeGroup ref="elml:Thumbnail"/>
        <xs:attributeGroup ref="elml:VisibleImp"/>
        <xs:attributeGroup ref="elml:CSSClassImp"/>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample