Courses
A course is the central and greatest unit that can be described with edML. A course is modeled with the root element course
.
Structure of a course
A course in edML consists of one or more course variants, which are modeled with variant
elements. Each course variant describes the content of the course in a specific language or for a specific audience. A course must have at least one course variant.
A course
element should have the following attributes:
xmlns
: This fixes the XML namespace. It allows the applications processing the XML document to interfere that it describes an edML course.edmlversion
: This attribute fixes the edML language version that is used in the course.
Example
Attributes
The course
element supports the following attributes:
Attribute | Type | Default | Description |
---|---|---|---|
edmlversion |
xs:NMTOKEN |
- | Version of the education markup language that this course is written in. Must match the language version of the used schema. |
xml:base |
xs:anyURI |
- | This attribute provides a general way to specify in an XML document the base address used by relative links in an element. The edML language does not make use of this attribute, but we allow the attribute for convenience. More details can be found in the corresponding official W3C specification on xml:base. |
xml:id |
xs:ID |
- | This attribute provides a general way to give an element in an XML document a unique identifier by which it can be referenced. The edML language does not make use of this mechanism, but we allow the attribute for convenience. More details can be found in the corresponding official W3C specification on xml:id. |