Hi Shailaja,
I renamed the _text/xml filter, the xml file still opens in Internet Explorer, instead of InfoPath.
Also, I am opening the xml file in two different ways.
1. Double clicking the file.
2. Clicking on the Link Button on the web page. (I am writing the xml file to the response stream with content type set to ...