def getRootElement(self):
        """Get the root element of the document (doc->children is a
           list containing possibly comments, PIs, etc ...). """
        ret = libxml2mod.xmlDocGetRootElement(self._o)
        if ret is None:raise treeError('xmlDocGetRootElement() failed')
        __tmp = xmlNode(_obj=ret)
        return __tmp
def getRootElement ( self ) : ret = libxml2mod . xmlDocGetRootElement ( self . _o ) if ret is None : raise treeError ( 'xmlDocGetRootElement() failed' ) __tmp = xmlNode ( _obj = ret ) return __tmp
Get the root element of the document (doc->children is a
           list containing possibly comments, PIs, etc ...).