integration of xml input reader