XML File Format
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT WhiteboardCaptureSession (General, Transcription, WhiteboardDescription, StrokeSet)>
<!ELEMENT General (Form, CaptureTime, Setting)>
<!ELEMENT Form EMPTY>
<!ATTLIST Form
id CDATA #REQUIRED
writerID CDATA #REQUIRED
saveTime CDATA #REQUIRED
>
<!ELEMENT CaptureTime EMPTY>
<!ATTLIST CaptureTime
time CDATA #REQUIRED
year CDATA #REQUIRED
month CDATA #REQUIRED
dayOfMonth CDATA #REQUIRED
dayOfWeek CDATA #REQUIRED
>
<!ELEMENT Setting EMPTY>
<!ATTLIST Setting
location CDATA #REQUIRED
producer CDATA #REQUIRED
system CDATA #REQUIRED
>
<!ELEMENT Transcription (Text, TextLine+)>
<!ELEMENT VerticallyOppositeCoords EMPTY>
<!ATTLIST VerticallyOppositeCoords
x CDATA #REQUIRED
y CDATA #REQUIRED
>
<!ELEMENT Text (#PCDATA)>
<!ELEMENT TextLine (Word+)>
<!ATTLIST TextLine
id CDATA #REQUIRED
text CDATA #REQUIRED
>
<!ELEMENT Word (Char+)>
<!ATTLIST Word
id CDATA #REQUIRED
text CDATA #REQUIRED
>
<!ELEMENT Char EMPTY>
<!ATTLIST Char
id CDATA #REQUIRED
text CDATA #REQUIRED
>
<!ELEMENT WhiteboardDescription (SensorLocation, DiagonallyOppositeCoords, VerticallyOppositeCoords, HorizontallyOppositeCoords)>
<!ELEMENT DiagonallyOppositeCoords EMPTY>
<!ATTLIST DiagonallyOppositeCoords
x CDATA #REQUIRED
y CDATA #REQUIRED
>
<!ELEMENT HorizontallyOppositeCoords EMPTY>
<!ATTLIST HorizontallyOppositeCoords
x CDATA #REQUIRED
y CDATA #REQUIRED
>
<!ELEMENT SensorLocation EMPTY>
<!ATTLIST SensorLocation
corner CDATA #REQUIRED
>
<!ELEMENT StrokeSet (Stroke+)>
<!ELEMENT Stroke (Point+)>
<!ATTLIST Stroke
colour CDATA #REQUIRED
start_time CDATA #REQUIRED
end_time CDATA #REQUIRED
>
<!ELEMENT Point EMPTY>
<!ATTLIST Point
x CDATA #REQUIRED
y CDATA #REQUIRED
time CDATA #REQUIRED
>