[2615] moved method back to XMLExporter fixing mediport build v.3.1.0