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