MSXML

T

Tony Johansson

Hi!

I just wonder I 'm reading a book and they mention MSXML. Is it somewhat
correct to say that before
..NET you could use this MSXML to manipulate/travesera/modify the XML file in
different ways. In .NET this is much easier done by using the classes in the
System.Xml namespace.

//Tony
 
M

Mike Lovell

I just wonder I 'm reading a book and they mention MSXML. Is it somewhat
correct to say that before
.NET you could use this MSXML to manipulate/travesera/modify the XML file
in different ways. In .NET this is much easier done by using the classes
in the System.Xml namespace.

Yes, although you could still use MSXML via COM - Although that would be
just a crazy thing to do! :blush:)

Yes, you can use System.Xml, although I prefer LINQ (now it's available) -
Makes for some very clean code:

http://msdn.microsoft.com/en-us/library/system.xml.linq.aspx

It's definitely a lot easier in .NET to work with XML than, say, VBScript or
VB6 via COM
 
M

Martin Honnen

Tony said:
I just wonder I 'm reading a book and they mention MSXML. Is it somewhat
correct to say that before
.NET you could use this MSXML to manipulate/travesera/modify the XML file in
different ways. In .NET this is much easier done by using the classes in the
System.Xml namespace.

MSXML is Microsoft's COM based XML software package supporting SAX
parsing, DOM, XSLT and XPath 1.0, and (with MSXML 4 and later) XML schemas.
And you are right when it comes to .NET applications that all of this
can and should be done with classes in System.Xml, System.Xml.Xsl,
System.Xml.XPath, System.Xml.Schema. Those namespaces offer DOM, XPath,
XSLT, schema. SAX is not supported and instead the XmlReader based pull
parsing is provided. The use of MSXML in .NET is explicitly not
supported: http://support.microsoft.com/kb/815112

And since .NET 3.5 there is also System.Xml.Linq for LINQ to XML, an
alternative to the DOM implementation in the .NET framework
(System.Xml.XmlNode/XmlDocument).
 
A

Arne Vajhøj

I just wonder I 'm reading a book and they mention MSXML. Is it somewhat
correct to say that before
.NET you could use this MSXML to manipulate/travesera/modify the XML file in
different ways. In .NET this is much easier done by using the classes in the
System.Xml namespace.

In .NET you should use the XML classes in the .NET framework.

MSXML is good for VB6, VBS and ASP with VBS.

I would not even use MSXML with C++. There are easier
API's available.

Arne
 

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

Top