code: def renderXRDS(request, type_uris, endpoint_urls):
      
      response = direct_to_template(
          request, 'xrds.xml',
          {'type_uris':type_uris, 'endpoint_urls':endpoint_urls,})
      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.