Re: using XML to write output files
From: William Ryan eMVP (dotnetguru_at_comcast.nospam.net)
Date: 02/18/04
- Next message: Erik Frey: "Re: C# equivalent for VB.NET's With statement - is there something like that? <eom>"
- Previous message: Jon Skeet [C# MVP]: "Re: How to capture console app output?"
- In reply to: Angel: "using XML to write output files"
- Next in thread: Sheila Jones: "Re: using XML to write output files"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 18 Feb 2004 13:51:23 -0500
Angel:
It's not very difficult as far as the 'writing' of it goes, it's very
simple. Check out the XMLWriter
class...http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpr
ef/html/frlrfSystemXmlXmlWriterClassTopic.asp
There are other ways to get data into XML too, depending on your app, you
can serialize your objects to XML with very little effort so that may be a
viable option too.
HTH,
Bill
"Angel" <angel_monson@yahoo.com> wrote in message
news:e$1Xj2k9DHA.2472@TK2MSFTNGP10.phx.gbl...
> 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.
>
>
- Next message: Erik Frey: "Re: C# equivalent for VB.NET's With statement - is there something like that? <eom>"
- Previous message: Jon Skeet [C# MVP]: "Re: How to capture console app output?"
- In reply to: Angel: "using XML to write output files"
- Next in thread: Sheila Jones: "Re: using XML to write output files"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|