I am trying to use Python's ElementTree to generate an XHTML file.
However, the ElementTree.Element() just lets me create a single tag (e.g., HTML). I need to create some sort of a virtual root or whatever it is called so that I can put the various , DOCTYPES, etc.
How do I do that? Thanks