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