parameters: (self, doc, name, content)
return_statement: return __tmp
docstring: Creation of a new node element within a document. @ns and
            @content are optional (None). NOTE: @content is supposed to
            be a piece of XML CDATA, so it allow entities references,
            but XML special chars need to be escaped first by using
            xmlEncodeEntitiesReentrant(). Use xmlNewDocRawNode() if you
             don't need entities support.
docstring_summary: Creation of a new node element within a document.
docstring_tokens: Creation of a new node element within a document .
function: def newDocNodeEatName(self, doc, name, content):
          """Creation of a new node element within a document. @ns and
            @content are optional (None). NOTE: @content is supposed to
            be a piece of XML CDATA, so it allow entities references,
            but XML special chars need to be escaped first by using
            xmlEncodeEntitiesReentrant(). Use xmlNewDocRawNode() if you
             don't need entities support. """
          if doc is None: doc__o = None
          else: doc__o = doc._o
          ret = libxml2mod.xmlNewDocNodeEatName(doc__o, self._o, name, content)
          if ret is None:raise treeError('xmlNewDocNodeEatName() failed')
          __tmp = xmlNode(_obj=ret)
          return __tmp
function_tokens: def newDocNodeEatName ( self , doc , name , content ) : if doc is None : doc__o = None else : doc__o = doc . _o ret = libxml2mod . xmlNewDocNodeEatName ( doc__o , self . _o , name , content ) if ret is None : raise treeError ( 'xmlNewDocNodeEatName() failed' ) __tmp = xmlNode ( _obj = ret ) return __tmp