(1) If you only need to get rid of one or two specific tags, a regex will do.
$txt = eregi_replace( '<xml>.*</xml>', '', $txt );
(2) If it will work to remove all but a limited number of tags, you can probably use strip_tags() instead.