code: def renderXRDS(request, type_uris, endpoint_urls):
      
      response = render_to_response(
          'xrds.xml', {'type_uris': type_uris,
                       'endpoint_urls': endpoint_urls},
          context_instance=RequestContext(request))
      response['Content-Type'] = YADIS_CONTENT_TYPE
      return response
docs: Render an XRDS page with the specified type URIs and endpoint
      URLs in one service block, and return a response with the
      appropriate content-type.