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