Problem with displaying list thumbnail list in jqmobile

Problem with displaying list thumbnail list in jqmobile

Hello I have a problem with displaying  thumbnail list in jqmobile.

  1. If I tried>
  2. <ul data-role="listview" > 


  3. <li> 
  4. <img src="images/album-bb.jpg" /> 
  5. <h3><a href="index.html">Broken Bells</a></h3> 
  6. <p>Broken Bells</p> 
  7. </li> 
Is everything O.K and looks it like>


But if I try generate it dynamically via 

  1. $(document).ready(function () {
  2.     $.ajax({
  3.         type: "GET",
  4.         url: "data.xml",
  5.         dataType: "xml",
  6.         success: xmlParser
  7.     });
  8. });

  9. function xmlParser(xml) {

  10. //Hide .gif loader image if data are succesully fetched
  11.    // $('#load').fadeOut();

  12.     $(xml).find("SHOPITEM").each(function () {

  13.    $("ul").append("<li><img width=\"80px\" src=\""+$(this).find('IMGURL').text()+"\"/><h3><a href=\""+$(this).find('URL').text()+"\">"+$(this).find('PRODUCT').text()+"</a></h3><p>"+$(this).find('PRICE_VAT').text()+"</p></li>");
  14.         

  15.     });



  16. }
I got items displayed, but content is not formated correctly.

Where can be problem?

Thanks for aby advice..