it looks like this will remove comments and any other non-TEXT and non-ELEMENT node (if there are any of those ;)