Thanks Jovan for your response. I tried to create an XML file in a job and getting the desired output when open it from Notepad, but from IE, getting below error :
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
Switch from current encoding to specified encoding not supported. Error processing resource
<?xml version="1.0" encoding="utf-8"?>
When I removed the above line from XML, it opens in browser without any error, but in that case all errors are on the same line.
Any idea how to resolve this ?
Thanks,
Baber.