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