Personal tools
You are here: Home Information for Students Assignment Submission Format

Assignment Submission Format

The format for submitting assignments.

XML Format for Homework Submission

Homeworks should be submitted in XML. Specifically, the format allows for your name, the class, the assignment number and multiple files to be submitted.

Without giving a DTD, RNG or XSchema definition (these may be available someday, but not right now), the format has a root element of "submission". This root element contains a class element (for the class name/number), a student name element, and an assignment element (for defining the assignment number).

The root element also contains a "files" element that holds a list of "file" elements. Each of these then contains a "file-name" element and a "file-contents" element - the file contents contains the actual contents of each file and this is encoded in the standard base-64 encoding.

CDATA sections are used as appropriate to handle sections where characters that might need to be escaped to be properly included in XML files might occur.


Document Actions