updated dynamic page for xml to be same as json page