Click here to Skip to main content
15,880,725 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi,

can anyone help me to convert an xml file to text file
Posted
Comments
Legor 8-Sep-11 7:25am    
An XML is a text file. But then again what do you mean by a text file? Maybe a file that contains human readable text? In that case an XML file is a text file after all! Problem solved
Suresh Rapaka 8-Sep-11 7:35am    
But when i opened it it showing all the content in same line instead of displaying in tag vice. It is not understandable to me.
Can you tell in detail about how to do this ?

thanks
Legor 8-Sep-11 7:49am    
It really depends on the editor your opening it with. Try to open with a browser for example and it will get displayed completely different than with a notepad.
Suresh Rapaka 8-Sep-11 7:56am    
Thanks,
It really helps me lot

1 solution

Just change the extension from .xml to .txt, and there you have it.

BTW, a XML file is already plain text.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900