Questions tagged [msxml]

MSXML are the Microsoft XML core services, which includes a full XML DOM implementation.

MSXML are the Microsoft XML core services, which include a full XML DOM implementation, support for SAX, XML 1.0, XSLT 1.0, XSD and XDR schemas and other technologies depending on the version (for instance, XPath is not supported in all versions).

There are many versions of MSXML, of which some have more or less subtle differences.

The most current one is MSXML 6 SP2 or SP3, depending in your operating system their version numbers are:

  • 6.20.2003.0 for Windows XP SP2, Windows 2003 SP1 and Windows 2003 R2
  • 6.20.1103.0 for Windows XP SP3, Windows 2003 SP2 and Windows 2003 R2 SP1
  • 6.30.* for newer versions of Windows

Note that MSXML 4 and MSXML 3 are also still supported.

When using MSXML for XPath, be sure to set the SelectionNamespaces Property (as this article shows) to make sure your XML namespaces will work.

Links:

616 questions
49
votes
5 answers

Which version of MSXML should I use?

Seems like this would be a common question, though I could not find it on SO. Which version of MSXML should I use in my applications, and more importantly, how should I decide? There is MSXML3, 4, 5 and 6. I recently posted some code in…
Cheeso
  • 189,189
  • 101
  • 473
  • 713
38
votes
5 answers

Declaring early bound MSXML object throws an error in VBA

I am trying to import xml data into excel.. So the first line of the code is Dim XMLDOC As MSXML2.DOMDocument and this gives an error "user defined type not defined"
user1486889
  • 381
  • 1
  • 3
  • 3
34
votes
10 answers

How to make Microsoft XmlHttpRequest honor cache control directive

i'm issuing a request using MSXML's XmlHttpRequest object: IXMLHttpRequest http = new XmlHttpRequest(); http.open("GET", "http://www.bankofcanada.ca/stat/fx-xml.xml", False, "", ""); http.send(); And the send succeeds, and i get my xml data. Except…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
32
votes
2 answers

DOM Level 3 XPath in Internet Explorer

I just installed IE10 on my Windows 7, and I've noticed that, even if I'm glad that XMLs from AJAX requests are now compatible DOM documents, a rather basic function like document.evaluate is still not supported. What's worse is that, since those…
MaxArt
  • 22,200
  • 10
  • 82
  • 81
23
votes
1 answer

How can I pretty-print XML source using VB6 and MSXML?

I've been looking after this for months now and I mostly found sites asking the same question. The answers I did found were always for .NET or C++ or involved XSLT.
Daniel Rikowski
  • 71,375
  • 57
  • 251
  • 329
19
votes
3 answers

Reference to undeclared namespace prefix when parsing MSXML

How do I solve the Reference to undeclared namespace prefix: '%s' problem with Microsoft's msxml implementation? I'm using an XML feed from a government web-site that contains values i need to parse. The xml contains namespaces:
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
15
votes
2 answers

How to query default namespace with MSXML

I have some XML: Value Note: This isn't the actual XML i'm using, it's just prettier and…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
12
votes
1 answer

Can't connect to server over HTTPS which uses a SHA2 certificate using MSXML2.ServerXMLHTTP

We updated our SSL certificate to SHA2, but the intermediate certificate was SHA1. Chrome and other browsers have decided that the entire chain must be SHA2. Our customers were calling concerned about the yellow caution in the address bar. Rumor has…
11
votes
5 answers

How to use node-set function in a platform-independent way?

I'm writing some xlst file which I want to use under linux and Windows. In this file I use node-set function which declared in different namespaces for MSXML and xsltproc ("urn:schemas-microsoft-com:xslt" and "http://exslt.org/common"…
Евгений
  • 321
  • 4
  • 7
11
votes
1 answer

Can I convert a msxml.IXMLDOMNode to XmlIntf.IXMLNode in Delphi?

I have read som xml into an msxml.IXMLDOMDocument object. However, there is a utility method in an API that I am using, that I would like to call, but it takes an XmlIntf.IXMLNode as an argument. Is there a simple way to convert an IXMLDOMNode…
Mathias Falkenberg
  • 1,110
  • 1
  • 11
  • 25
11
votes
5 answers

Does System.Xml use MSXML?

I'm developing a C# application that uses a handful of XML files and some classes in System.Xml. A coworker insists on adding the MSXML6 redistributable to our install, along with the .NET framework but I don't think the .NET framework uses or…
Brian Ensink
  • 11,092
  • 3
  • 50
  • 63
10
votes
1 answer

Calling WCF service by VBScript

There is a WCF service with configuration:
Alex
  • 321
  • 1
  • 5
  • 14
10
votes
2 answers

Find MSXML version from registry

windows has many MSXML versions that can be installed side by side. i.e ver 3, 4, 5 & 6. I have to find which msxml file is present on the system. My query is limited through registry only.
Jobi
  • 1,102
  • 5
  • 24
  • 38
9
votes
3 answers

MSXML2.XMLHTTP send method works with early binding, fails with late binding

The code below works. But if I comment out the line Dim objRequest As MSXML2.XMLHTTP and uncomment the line Dim objRequest As Object it fails with the error message : The parameter is incorrect Why, and what (if anything) can I do about it? Public…
Brendan Reynolds
  • 991
  • 2
  • 9
  • 19
9
votes
2 answers

Using VBA in Excel to Google Search in IE and return the hyperlink of the first result

I have been attempting to use IE automation to google search a string of text in Excel. I want to return the hyperlink for the website of the first result in another cell in excel. Is this possible? I have a list of 60,000 records that I need to…
Collin Hendo
  • 93
  • 1
  • 1
  • 3
1
2 3
41 42