using XML to write output files

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Angel (angel_monson_at_yahoo.com)
Date: 02/18/04


Date: Wed, 18 Feb 2004 14:29:38 -0500

How much harder is it to write data to an XML file instead of an ascii file?
When I write an output data file, I usually write it as an ascii file. But
the client's been thinking of writing it in XML so the files can be used in
other processes (eg. displaying data in web).
Is writing it in XML format more time-consuming (and harder) than writing it
in a plain ascii file? I usually read/write ascii files with StreamReader
and StreamWriter classes.

Thanks.



Relevant Pages

  • Re: Debug Assertion Failure
    ... records in an ASCII file. ... I agree with you Tom about the fact that XML or ASCII serialization is ... irrelevant (and I include the parsing time). ... When I use binary files, I always used tagged binary formats, which is essentially ...
    (microsoft.public.vc.mfc)
  • Re: using XML to write output files
    ... XML is just plain text, so you can use a StreamWriter to ... > When I write an output data file, I usually write it as an ascii file. ... > Is writing it in XML format more time-consuming than writing ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Debug Assertion Failure
    ... records in an ASCII file. ... I agree with you Tom about the fact that XML or ASCII serialization is ... I think that one of the best advantages of binary files with fixed ...
    (microsoft.public.vc.mfc)
  • Re: using XML to write output files
    ... It's not very difficult as far as the 'writing' of it goes, ... There are other ways to get data into XML too, depending on your app, you ... > When I write an output data file, I usually write it as an ascii file. ... > and StreamWriter classes. ...
    (microsoft.public.dotnet.languages.csharp)
  • Writing to files
    ... I've seen many modes for opening files then writing to them. ... I don't get an error message but it simply does not work(runtime ... My guess is that I'm trying to write to an ASCII file when the ... program is in binary mode but I can't be sure. ...
    (microsoft.public.vc.language)