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