def createDocument(self): from org.apache.xerces.dom import DocumentImpl return Document(DocumentImpl())
def createDocument(self): from org.openxml.dom import DocumentImpl return Document(DocumentImpl())