Change-Id: I009f0519e34900a1b1447de02d99f32dd0e07410
Contains common xml import and export filter logic.