filter xml declarations in the stats format