Hi,
//clear current header
Response.ClearHeaders();
//clear content
Response.ClearContent();
//change content
Response.ContentType = "text/xml";
//write your XML
Response.WriteFile("a.xml");
//end the response so the default html wont write Response.End ();

Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114

Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377

Know the overall picture


*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!