I'm using 'xsl' to generate the xml in the desired format, it's generating fine in the localhost, but if we generate the xml using server it's displaying empty page.
From Putty or SSH command connect with your Amazon Server.
Take Rights of Super user by below command
sudo -su root
Install php5-xsl package by below three command
sudo apt-get install php5-xsl
sudo php5enmod xsl
sudo service apache2 restart
I hope this would be help to you.
Thanks