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 TEXT node will be created containing the string
          @content. NOTE: Use xmlNewChild() if @content will contain
          entities that need to be preserved. Use this function,
          xmlNewTextChild(), if you need to ensure that reserved XML
          chars that might appear in @content, such as the ampersand,
          greater-than or less-than signs, are automatically replaced
           by their XML escaped entity representations.

def newTextChild(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 TEXT node will be created containing the string
          @content. NOTE: Use xmlNewChild() if @content will contain
          entities that need to be preserved. Use this function,
          xmlNewTextChild(), if you need to ensure that reserved XML
          chars that might appear in @content, such as the ampersand,
          greater-than or less-than signs, are automatically replaced
           by their XML escaped entity representations. """
        if parent is None: parent__o = None
        else: parent__o = parent._o
        ret = libxml2mod.xmlNewTextChild(parent__o, self._o, name, content)
        if ret is None:raise treeError('xmlNewTextChild() failed')
        __tmp = xmlNode(_obj=ret)
        return __tmp