The root element is character, and to indicate Gambas this you’ll write the following code inside the Open and EndDocument lines: