By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,116 Members | 1,509 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,116 IT Pros & Developers. It's quick & easy.

Converting a textfile to XML

P: n/a
I have a output-file from the program listdlls and i want to conert it
to XML. I am new in dotnet and i need some help.
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Helmut,

You mean this

http://msdn.microsoft.com/library/de...classtopic.asp

I hope this helps?

Cor
Nov 21 '05 #2

P: n/a
"helmut" <he******@gmx.at> schrieb:
I have a output-file from the program listdlls and i want to conert it
to XML. I am new in dotnet and i need some help.


For XML processing, take a look at the classes provided in the 'System.Xml'
namespace. For parsing the text file, you can use methods of the
'System.Text' namespace, for example.

Reading a text file line-by-line or blockwise with a progress indicator
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=readfile&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #3

P: n/a
helmut,
In addition to the other comments.

Do you have the source to listdlls?

If you have the source to listdlls, it might be easiest to have it create an
XML file using an XmlWriter as Cor suggests. I would modify listdlls such
that it could create either the text file it currently is or an XML file...

If you do not have the source to listdlls, then depending on what I wanted
to do with the XML I would consider creating a custom XmlReader as described
in this article:

http://msdn.microsoft.com/msdnmag/is...4/05/xmlfiles/

Hope this helps
Jay

"helmut" <he******@gmx.at> wrote in message
news:a4**************************@posting.google.c om...
I have a output-file from the program listdlls and i want to conert it
to XML. I am new in dotnet and i need some help.

Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.