What is the easiest way to parse a XML file in? It need to use free code. A short sample maybe?
What is the easiest way to parse a XML file in? It need to use free code. A short sample maybe?
There are several, http://expat.sourceforge.net/ is probably the most frequently recommended.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
But if I want to use it with C# code. How do I do then?
It appears that MS has already implemented a XML parser for you, see this article: http://www.xml.com/pub/a/2002/03/06/csharpxml.html
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Anything you want to do with files, or communication (like network).
Just type in google: tcp stream C# or udp stream C#, in your case xml stream C#.
Et voila everything you ever wanted to know.
Its wonderfull to have a framework that holds such an excessive amount of tools (classes) already. They even give the tools very comprehensive names, one just needs to find them...
If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein
A kiss from Miss Teacher and one row to the front!!
Thanks for the help