Creation of a new child element, added at the end of
          @parent children list. @ns and @content parameters are
          optional (None). If @ns is None, the newly created element
          inherits the namespace of @parent. If @content is non None,
          a child list containing the TEXTs and ENTITY_REFs node will
          be created. NOTE: @content is supposed to be a piece of XML
          CDATA, so it allows entity references. XML special chars
          must be escaped first by using
          xmlEncodeEntitiesReentrant(), or xmlNewTextChild() should
           be used.

def newChild(self, parent, name, content):
        """Creation of a new child element, added at the end of
          @parent children list. @ns and @content parameters are
          optional (None). If @ns is None, the newly created element
          inherits the namespace of @parent. If @content is non None,
          a child list containing the TEXTs and ENTITY_REFs node will
          be created. NOTE: @content is supposed to be a piece of XML
          CDATA, so it allows entity references. XML special chars
          must be escaped first by using
          xmlEncodeEntitiesReentrant(), or xmlNewTextChild() should
           be used. """
        if parent is None: parent__o = None
        else: parent__o = parent._o
        ret = libxml2mod.xmlNewChild(parent__o, self._o, name, content)
        if ret is None:raise treeError('xmlNewChild() failed')
        __tmp = xmlNode(_obj=ret)
        return __tmp