I had to reformat hyour script to see that you hare missing the closing }); (Maybe you can post things a little more clearly in the future.)
M.
$(document).ready(function() {
$().SPServices({
operation: "GetListItems",
async: false,
listName: "SubSites",
CAMLViewFields: "<ViewFields><FieldRef Name='SubSiteName' /><FieldRef Name='SubSiteIcon' />",
completefunc: function (xData, Status) {
$(xData.responseXML).SPFilterNode("z:row").each(function() {
var tdHtml = "<tr class=''>";
tdHtml = tdHtml + "<td id='icon'>" + $(this).attr("ows_SubSiteIcon") + $(this).attr("ows_SubSiteName") + "</td></tr>;
$(".tablebodysites").append(tdHtml);
});
}
});
var siteTable = $('#sitepool').dataTable( { "bJQueryUI": true, "sPaginationType": "full_numbers", "bPaginate": true, "bLengthChange": true, "bFilter": true, "bSort": true, "bInfo": true, "bAutoWidth": true } );
});
You can emit whatever markup you want, so I'm not sure exactly what your questions is.M.