code: def newTextChild(self, ns, name, content):
          
          if ns is None: ns__o = None
          else: ns__o = ns._o
          ret = libxml2mod.xmlNewTextChild(self._o, ns__o, name, content)
          if ret is None:raise treeError('xmlNewTextChild() failed')
          __tmp = xmlNode(_obj=ret)
          return __tmp
docs: 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.