Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: XML to TXT >Thread Next - Re: XML to TXT Re: XML to TXTTo: NULL Date: 10/15/2009 12:36:00 PM Sorry for being so vague. What I would like to do is to read the XmlDocument line by line and add each line into a memo field. When I use the InnerXml, it's just one long string with no CR/LF. Can this be done? Thanks, Tom "Martin Honnen" <mahotrash@y...> wrote in message news:eHKbKxXTKHA.4324@T...... > Tom Woods wrote: >> Is there a simple way to take a Xml.XmlDocument and save it as a TXT file >> with formatting? > > There is a Save method which has an overload that takes a file name: > http://msdn.microsoft.com/en-us/library/dw229a22.aspx > That serializes the DOM tree and saves it to a file. > > If that is not what you want then please explain in more detail what kind > of "formatting" you have in mind. > > > -- > > Martin Honnen --- MVP XML > http://msmvps.com/blogs/martin_honnen/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
