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