def createDocument(self): from com.indelv.dom import DOMImpl return Document(DOMImpl.createNewDocument())