HTML rows not being created

HTML rows not being created

Does anyone see why the rows aren't being created in the else statement?  When the list name changes a new table is created and the first row is added properly but when it is looping through the items in the list the additional rows are not being created.  FYI, I did debug this and it is going into the else statement and looping through the items but nothing gets rendered to the page.  Code sample below.......
 
if(listName!=newListName)
{
newListName = listName;
liHtml = listName + "<br><table><tr><td>File Name</td><td>File Size</td><td>Last Modified</td></tr><tr><td width='200px'>" + $(this).attr("ows_FileLeafRef") + "</td><td>" + $(this).attr("ows_FileSizeDisplay") + "</td><td>" + $(this).attr("ows_Modified") + "</td></tr>";
}
else
{
liHtml = "<tr><td>" + $(this).attr("ows_FileLeafRef") + "</td><td>" + $(this).attr("ows_FileSizeDisplay") + "</td><td>" + $(this).attr("ows_Modified") + "</td></tr>";
}







$("#myDiv").append(liHtml);