473,324 Members | 2,214 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,324 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 2658
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.