Guide to the Tutor Message format (v4) > The Tutor Message format

2. The Tutor Message format

2.1. Validating your XML
2.2. Root element
2.3. Message types
2.4. <context_message>
2.4.1. Attributes of <context_message>
2.4.2. Child elements of <context_message> <meta> <dataset> Example of <dataset> <class> <condition> <skill> <custom_field> <dfa>
2.5. <tool_message>
2.5.1. Attributes of <tool_message>
2.5.2. Child elements of <tool_message> <meta> <event_descriptor> <semantic_event> <ui_event> <custom_field> <replay>
2.6. <tutor_message>
2.6.1. Attributes of <tutor_message>
2.6.2. Child elements <action_evaluation> <skill> <tutor_advice> <interpretation>
2.7. <message>

The tutor message format describes an XML hierarchy in which various message elements are contained within a root element. The format is described normatively in an XML Schema Definition (XSD), and informally in a DTD.

2.1. Validating your XML

The normative schema for the Tutor Message format is defined using the XML Schema language in an XML Schema Definition (XSD). You should use this XSD for the purposes of validating your XML to determine how well it conforms to the Tutor Message format.

The XSD file can be downloaded from the DataShop web site:

You may also validate against the DTD; however, we recommend you validate with the XSD, which expresses the constraints of the Tutor Message format more accurately than the older DTD representation.

Validation tools

DataShop provides a free validation tool, the XML Validator Tool, for validating Tutor Message XML. We strongly encourage you to use this tool for validation.