There are a lot of posts out there explaining how to display the icons when displaying a document library in a data view but only one actually worked for me:http://mdasblog.wordpress.com/2008/09/10/displaying-the-document-type-icon-in-a-dvwp-in-sharepoint/This post shows how to show the NEW! icon if the document is new:http://www.thesug.org/blogs/SharePointUnwrapped/Lists/Posts/Post.aspx?List=b15183f0%2D2d65%2D4e24%2D8a34%2Da19a345d6176&ID=6This post (tip 4) shows how to get the folder icon if the content type is a folder: http://www.sharepointblogs.com/mkruger/archive/2007/06/26/free-sharepoint-dataview-tips.aspx
You don't have to link to the sharepointblog site though for the image. You should have it in /_layouts/1033/images/new.gif.