elml:lesson

The element lesson is the root element of any eLML xml file. To work through a lesson needs typically about
1.5 to 2 hours.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
label xs:string required
navTitle xs:string optional
The attribute navTitle contains a string representing a short title that is used for the navigation. The
	attribute shall be used, when the original title of the lesson, unit or learningObject is too long for the
navigation.
title xs:string required
The attribute title contains a string representing a title.

Source

<xs:element name="lesson">
  <xs:annotation>
    <xs:documentation>The element lesson is the root element of any eLML xml file. To work through a lesson needs typically about 1.5 to 2 hours.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:choice maxOccurs="2">
        <xs:element ref="elml:entry"/>
        <xs:element ref="elml:goals" minOccurs="0"/>
      </xs:choice>
      <xs:element ref="elml:unit" maxOccurs="40"/>
      <xs:choice minOccurs="0" maxOccurs="2">
        <xs:element ref="elml:selfAssessment" minOccurs="0" maxOccurs="5"/>
        <xs:element ref="elml:summary" minOccurs="0"/>
      </xs:choice>
      <xs:element ref="elml:furtherReading" minOccurs="0"/>
      <xs:element ref="elml:glossary" minOccurs="0"/>
      <xs:element ref="elml:bibliography" minOccurs="0"/>
      <xs:element ref="elml:index" minOccurs="0"/>
      <xs:element ref="elml:listOfFigures" minOccurs="0"/>
      <xs:element ref="elml:listOfTables" minOccurs="0"/>
      <xs:element ref="elml:metadata" minOccurs="0"/>
    </xs:sequence>
    <xs:attributeGroup ref="elml:LessonLabelReq"/>
    <xs:attributeGroup ref="elml:TitleReq"/>
    <xs:attributeGroup ref="elml:NavTitleImp"/>
  </xs:complexType>
  <xs:unique name="uniqueLabel">
    <xs:selector xpath=".//elml:*"/>
    <xs:field xpath="@label"/>
  </xs:unique>
  <xs:keyref name="keytargetLabel" refer="elml:uniqueLabel">
    <xs:selector xpath=".//elml:*"/>
    <xs:field xpath="@targetLabel"/>
  </xs:keyref>
  <xs:keyref name="keylabelRef" refer="elml:uniqueLabel">
    <xs:selector xpath=".//elml:*"/>
    <xs:field xpath="@labelRef"/>
  </xs:keyref>
  <xs:key name="keyTerm">
    <xs:selector xpath=".//elml:definition"/>
    <xs:field xpath="@term"/>
  </xs:key>
  <xs:keyref name="keyRefTerm" refer="elml:keyTerm">
    <xs:selector xpath=".//elml:term"/>
    <xs:field xpath="@glossRef"/>
  </xs:keyref>
  <xs:key name="keyBibID">
    <xs:selector xpath="./elml:bibliography/*"/>
    <xs:field xpath="@bibID"/>
  </xs:key>
  <xs:keyref name="keyRefBibID" refer="elml:keyBibID">
    <xs:selector xpath=".//elml:*"/>
    <xs:field xpath="@bibIDRef"/>
  </xs:keyref>
  <xs:key name="keyContextID">
    <xs:selector xpath="./elml:context/*"/>
    <xs:field xpath="@contextID"/>
  </xs:key>
  <xs:keyref name="keyRefContextID" refer="elml:keyContextID">
    <xs:selector xpath=".//elml:*"/>
    <xs:field xpath="@contextIDRef"/>
  </xs:keyref>
</xs:element>

Sample