473,761 Members | 3,651 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What are the differences between MSXML and .NET XML Parsers?

Any kind of differences?
Were they buid on the common base or different?

--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Sep 5 '06 #1
1 2440


Michael Nemtsev wrote:
Any kind of differences?
Were they buid on the common base or different?
MSXML supports SAX parsing and supports building a DOM document (mostly
compliant with W3C DOM Level 1 XML and lots of Microsoft extensions).
..NET parsers don't support SAX, rather .NET with XmlReader/XmlTextReader
has a fast forwards only pull parsing model compared to the event based
SAX push parsing model.
..NET supports building a DOM document (mostly Microsoft's attempt to
have a .NET like implementation of the features in W3C DOM Level 2
Core/XML plus lots of Microsoft extensions plus a document based
implementation of mutation events which is not complying with the W3C
DOM Level 2 mutation events specification).

MSXML 3 and later allow DTD validation, MSXML 4 and later XSD schema
validation. XDR schema validation is supported in MSXML 3, 4, 5 but not
the latest MSXML 6.
..NET allows DTD, XDR and XSD schema validation but .NET 2.0 does only
support XDR schema validation with the obsolete XmlValidationRe ader.

MSXML 3 and later have support for XSLT and XPath 1.0 plus some
Microsoft extension functions. .NET also has support for XSLT and XPath
1.0 and Microsoft extension functions.
That list some differences and some common things, not meant to be complete.

As for a common base, MSXML is a COM solution while all .NET XML APIs
are implemented in purely managed .NET code.
--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Sep 5 '06 #2

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

Similar topics

2
3793
by: bearclaws | last post by:
I created a small "app" using an XML file and an XSLT file. It works great on a PC but when I try to view it on a Mac (IE or Safari) it blows up and does not display the XML properly. I'm using the MSXML parsers ability to include extension functions in order to allow the XML to pass and receive URL parameters....and think this is causing the problem. Here's my XSLT header:
0
976
by: jdevalk | last post by:
jdevalk Apr 18, 7:03 am show options Newsgroups: microsoft.public.xml From: "jdevalk" <invok...@yahoo.com> - Find messages by this author Date: 18 Apr 2005 07:03:44 -0700 Local: Mon,Apr 18 2005 7:03 am Subject: Deployment of MSXML 4.0 Reply | Reply to Author | Forward | Print | Individual Message | Show original | Remove | Report Abuse Hi there,
7
2107
by: Peter | last post by:
I have noticed a difference in the processing of XSL transforms between dotnet and MSXML. Dotnet formats the resulting output differently, and since we use the <pre> tag in the HTML output it makes a big difference. What is in fact correct here? I don't see that the XSL transform engine should reformat the output in this way, and would like to know if this difference is going to remain in future. The transform in question can be split...
3
3076
by: Daniel | last post by:
Are the differences between MSXML and .Net XSL transformation documented online anywhere? Many of my XSL's work in MSXML but transform differently in ..Net XSL transformation.
7
1648
by: Lauren Wilson | last post by:
OK, I have been drowning in all kinds of articles about XML lately. The ONE thing I have not yet seen is a general discussion article about the alleged benefits of XML, especially as it affects Access developers. Does anyone have a link to such an article -- one that STARTS with a general description of why XML is suppose to be better than whatever? Thanks in advance.
2
3741
by: dwelch91 | last post by:
Hi, c.l.p.'ers- I am having a problem with the import of xml.parsers.expat that has gotten me completely stumped. I have two programs, one a PyQt program and one a command line (text) program that both eventually call the same code that imports xml.parsers.expat. Both give me different results... The code that gets called is (print statements have been added for debugging):
13
25316
by: yawnmoth | last post by:
<http://www.quirksmode.org/book/printable/xmlhttp.txtshows two alternatives to Microsoft.XMLHTTP - Msxml2.XMLHTTP and Msxml3.XMLHTTP. If my understanding is correct, the different numbers refer to the version of Microsoft's XML parser and that Microsoft.XMLHTTP refers to the latest installed version. This makes me wonder why sites like <http://developer.apple.com/internet/webcontent/xmlhttpreq.htmlopt to use Msxml2.XMLHTTP, first, and...
14
3742
by: salad | last post by:
XML seems to be a hot technology buzzword. And it appears XML is supported in A2003. I am wondering if it could be used in the following scenario. I create an order record for the customer. This customer is one I do a lot of business with. I could create an email to send him a copy of the order. A more preferable approach would be to transfer to the customer the order and order items parts which could then be imported/used to update...
4
11826
by: mrjaxon | last post by:
I have a C# web application which leverages MSXML that I am trying to migrate to a 64 bit environment. Currently the application is built on the .NET 2.0 Framework and using MSXML 6 (though I had the same issues using version 4). The OS I am running the app on is Windows Server 2003 x64. I am using the x64 version of MSXML 6 on the server. My dev environment is Windows XP 32 bit SP2. I have tried to compile the projects for "anycpu"...
0
9522
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
9902
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9765
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7327
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6603
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5364
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3866
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3446
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2738
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.