Howdy, I want to generate the following file; <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet mystyle?> <leo_file>stuff</leo_file> How should I be doing this? As far as I can tell, ElementTree() requires everything to be inside the root element (leo_file) Thanks, Kent