Faster xml cleaning