paging based on xml file