Remove the obsoleted content and add checks for items in the xsl document which can be also in the xml document.