elml:toc

The element toc allows inserting a table of content into all structure elements (ECLASS).

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
recurse elml:YesNoType optional
The attribute recurse allows defining if the toc lists e.g. only the other lessons (toc scope="lessons") or also their units and learningObjects.
scope restriction of xs:string optional
The attribute scope defines the scope of the inserted toc. Valid values are lessons, lesson and unit.

Used By

Source

<xs:element name="toc">
  <xs:annotation>
    <xs:documentation>The element toc allows inserting a table of content into all structure elements (ECLASS).</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="scope">
      <xs:annotation>
        <xs:documentation>The attribute scope defines the scope of the inserted toc. Valid values are lessons, lesson and unit.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="lessons"/>
          <xs:enumeration value="lesson"/>
          <xs:enumeration value="unit"/>
          <xs:enumeration value="learningObject"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="recurse" type="elml:YesNoType">
      <xs:annotation>
        <xs:documentation>The attribute recurse allows defining if the toc lists e.g. only the other lessons (toc scope="lessons") or also their units and learningObjects.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample