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