Writing raw XML to screen

Writing raw XML to screen

I'm using jQuery AJAX to retrieve XML similar to that below. Now I understand how to parse this XML using jQuery, but I since everything inside the 'albums' node is valid HTML I just want to write it all directly into a div on my page. However, $('#mydiv').html(myxml.text()) strips out the 'tags' and it doesn't like $('#mydiv').html(myxml) either. So how do I write XML direct to a page without losing the tags?

<?xml version="1.0" encoding="utf-8" ?>
<albums page="1" pages="2" page_url_template="/photo/?s=2&p1={0}">
  <span class="album">
    <a title="pppp" href="test.htm">
      <img class="photo_thumb" src="coming.soon" alt="pppp" border="0" />
      <span class="title">pppp</span>
      <span class="date">pppp</span>
    </a>
  </span>
  <span class="album">
    <a title="test save 2" href="test2.htm">
      <img class="photo_thumb" src="coming.soon" alt="test save 2" border="0" />
      <span class="title">test save 2</span>
      <span class="date">now</span>
    </a>
  </span>
</albums>