title: This XML file does not appear to have any style information associated with it. The document tree is shown below.2
body: <p>When using the following code in django template:</p>
  
  <pre><code>  &lt;!DOCTYPE html&gt;
  
  &lt;html lang="en"&gt;
  
  &lt;head&gt;
  &lt;link href="http://52.11.183.14/static/wiki/bootstrap/css/wiki-bootstrap.css" type="text/css" rel="stylesheet"/&gt;
  &lt;link href="http://52.11.183.14/static/wiki/bootstrap/css/simple-sidebar.css" type="text/css" rel="stylesheet"/&gt;
  &lt;title&gt; Profile - Technology βιβλιοθήκη &lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div class="container"&gt;
  
  
      {% for p in profiles %}
       {{p}}
      {% endfor %}
  
  
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I receive the following error:</p>
  
  <pre><code>This XML file does not appear to have any style information associated with it. The document tree is shown below.
  </code></pre>
  
  <p>Why? And what can I do to fix it?</p>
  
  <p>Solved: by change HttpResponse on render_to_response</p>
  
  <pre><code>   my_context={'profiles': profiles}
     c = RequestContext(request,{'profiles': profiles})
     return render_to_response('wiki/profile.html',
                        my_context,
                        context_instance=RequestContext(request))
     #return HttpResponse(t.render(c), content_type="application/xhtml+xml")
  </code></pre>