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