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