473,387 Members | 1,530 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

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.
Nov 16 '05 #1
2 2663
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?

"genc ymeri" <ge********@hotmail.com> wrote in message
news:er**************@TK2MSFTNGP09.phx.gbl...
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.

Nov 16 '05 #2
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

"Marina" <so*****@nospam.com> wrote in message
news:uO**************@tk2msftngp13.phx.gbl...
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?

"genc ymeri" <ge********@hotmail.com> wrote in message
news:er**************@TK2MSFTNGP09.phx.gbl...
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.


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Ganesh Gella | last post by:
Hi All, I am planning to use Xalan to transform XML data by applying xls stylesheets. Here tricky part is, Xalan provides several C++ APIs, which are very much useful if our requirement is...
0
by: samtai | last post by:
I need to do a synchronous POST to a web server with a string variable and receive back the response into a second string variable. It seems that with .NET I find myself needing to use lots of...
4
by: Edgardo Rossetto | last post by:
Hi, got a few questions: - Does anyone know a HTML 4.01 / XHTML implementation of the DOM, or is only System.Xml (XML 1.0 and 2.0 only AFAIK) avaiable? - Any ideas if .NET 2.0 will have? Is...
2
by: genc ymeri | last post by:
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...
3
by: BjörnHolmberg | last post by:
I'm trying to consume a WS from Excel (Office 98), seems that I can't send arguments into the WS. In order to pinpoint the problem I've written the following application i C# and VB6. It reproduces...
2
by: Marcin Cenkier | last post by:
Hi, I want to validate a DOM document, and if I build DOM from a stream using documentBuilder.parse() validation using validator.validate(DOMSource) works, but if I create the same document...
0
by: Daniel | last post by:
Does system.xml have any way to transofrm data with an xswl style sheet using strings like MSXML2 does? how to convert this to use System.XML so i do not depend on MSXML2 interop? static...
2
by: noOby | last post by:
Hi developers, currently i'm doing a school project and i am stuck on MSXML2.XMLHTTP conversion from vb code to c#. Below is the vb Coding that i need to convert to C# Dim sUrl As String ...
1
by: niklang | last post by:
Hi everybody, I have an ASP page that uses the MSXML2.ServerXMLHTTP object to read a stylesheet from IIS as follows: strXSLPath = "http://localhost/ej/ejdetail.xsl.asp" ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.