(self, data)
Creates a text node with utf8 data inside.
        The text is escaped to an fit the xml text Format.
Creates a text node with utf8 data inside.
        The text is escaped to an fit the xml text Format.
Creates a text node with utf8 data inside . The text is escaped to an fit the xml text Format .
def _createTextNode(self, data):
        '''
        Creates a text node with utf8 data inside.
        The text is escaped to an fit the xml text Format.
        '''
        if data is None:
            return self.__doc.createTextNode(u'')
        else:
            escaped_data = saxutils.escape(data, ENTITIES)
            return self.__doc.createTextNode(escaped_data)
def _createTextNode ( self , data ) : if data is None : return self . __doc . createTextNode ( u'' ) else : escaped_data = saxutils . escape ( data , ENTITIES ) return self . __doc . createTextNode ( escaped_data )