Hello Krishna,
Please look at How to convert the xml to pdf using xi? | SCN
and the links that Michal Krawczyk is giving. It looks like the best solution is using a java library on your target XML file to convert that into PDF.
Best regards,
Peter