<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> |