code: def render_to_response(template, object, params=None, mimetype='text/html'):
      
      xsl_path = find_template_path(template)
      xml = xmltree.xml(object)
      
      result = transform(xml, str(xsl_path), params)
      return HttpResponse(result, mimetype=mimetype)
docs: ``object`` will be converted to xml using :func:`easymode.tree.xml`. The resulting xml 
      will be transformed using ``template``.
      The result will be a :class:`~django.http.HttpResponse` object,
      containing the transformed xml as the body.
      
      :param template: an xslt template name.
      :param object: an object that has an ``__xml__`` method. (See :func:`easymode.tree.xml.decorators.toxml`).
      :param params: A dictionary containing xslt parameters. Use :func:`~easymode.xslt.prepare_string_param`\
          on strings you want to pass in.
      :param mimetype: The mimetype of the :class:`~django.http.HttpResponse`
      :rtype: :class:`django.http.HttpResponse`