MSXML2 (DOM) or System.Xml Classes ???

  • Thread starter Thread starter genc ymeri
  • Start date Start date
G

genc ymeri

Hi,
I'm really in the middle of the crossroad over here. My app recieves an XML
files and process it. This XML file contain some data and relationships
which are based on bussiness rules. My app based on these rules should make
a validation to process it or not further down......

While I'm new in the C#, I wonder what I'm suppose to use ? MSXML2 or
System.XML classes ???? Mostly I will do reading and going back and forth to
read the data in XML file.

I really have no idea what to pick MSXML2 (DOM) or System.XML classes ????

Thank You in advance.
 
I would recommend you use the classes that are part of the .NET framework.
Not only, will it be more consistent with the rest of your code, but certain
other areas of the .NET framework may return objects from the System.Xml
namespace, which wouldn't be compatible with MSXML2. You also have the
benefit of knowing, that the .NET framework is all that's necessary to run
your program, and not any othe components. Additionally, wouldn't you always
want to use the newest technology?
 
Marina,
That's what I really wanted ............. but since I had no
experience with it, I wasn't sure if System.Xml would do the job or not.....

Thanks a lot
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top