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
6
votes
1 answer

XMLHTTP and "Access denied" error

I'm trying to retrieve a content of HTTP document with MS XMLHTTP COM. I did copied the following sample code but even this does not work and fails with EOLEException error 'Access is denied' at send method call. uses MSXML, ComObj,…
David Unric
  • 7,421
  • 1
  • 37
  • 65
6
votes
2 answers

Why does createProcessingInstruction in MSXML generate incomplete output?

The following VBA code generates as output. Dim XML As New DomDocument Dim pi As IXMLDOMProcessingInstruction '.... some code that sets the root element of the document Set pi = XML.createProcessingInstruction("xml",…
Norbert B.
  • 5,650
  • 3
  • 25
  • 30
6
votes
5 answers

How to use msxml with Visual Studio 2008 Express (no ATL classes) without becoming crazy?

It is not really a question because I have already found a solution. It took me a lot of time, that's why I want to explain it here. Msxml is based on COM so it is not really easy to use in C++ even when you have helpful classes to deal with memory…
Name
  • 3,430
  • 4
  • 30
  • 34
6
votes
1 answer

How do I stop parsing an XML document with IVBSAXXMLReader in Delphi?

In order to quickly parse some large XML documents in a Delphi (2007) program, I have implemented the IVBSAXContentHandler interface and use it like this: FXMLReader := CoSAXXMLReader60.Create; FXMLReader.contentHandler :=…
dummzeuch
  • 10,975
  • 4
  • 51
  • 158
6
votes
1 answer

VBA CreateObject("MSXML2.DOMDocument60") throws an Error 429

I'm having trouble declaring new object using CreateObject() Sub A() Dim x 'This works Set x = CreateObject("Scripting.FileSystemObject") Set x = Nothing 'This throws an error 429 "Active component cannot create object." …
Combinatix
  • 1,186
  • 3
  • 12
  • 24
6
votes
4 answers

Concatenating xml files

I have several xml files, the names of which are stored in another xml file. I want to use xsl to produce a summary of the combination of the xml files. I remember there was a way to do this with the msxml extensions (I'm using msxml). I know I can…
Richard A
  • 2,783
  • 2
  • 22
  • 34
6
votes
1 answer

Traversing all nodes in an XML file with VBScript

I have written a VBScript which is supposed to tranverse all nodes in an XML file, irrespective of the depth of the tree. This it does well except that the node names for the those nodes which are 2 or more levels deep are not displayed. I need the…
rob dixon
  • 61
  • 1
  • 1
  • 2
5
votes
5 answers

result tree fragment to node-set: generic approach for all xsl engines

Answering another thread (see stackoverflow: generate css color schemes) I bumped into the issue below, where different xsl engines seem to need different approaches in transforming result tree fragments into node-sets. Simplifying the issue (but…
Maestro13
  • 3,656
  • 8
  • 42
  • 72
5
votes
4 answers

MSXML2.ServerXMLHTTP.4.0 Source?

Where does the object "MSXML2.ServerXMLHTTP.4.0" come from? Which install package? I'm attempting to do the following: Set oXMLHTTP = CreateObject("MSXML2.ServerXMLHTTP.4.0") This attempt fails on my development machine (no object is returned)…
Frank V
  • 25,141
  • 34
  • 106
  • 144
5
votes
1 answer

What version will be chosen by MSXML2.XMLHTTP request, without version suffix?

Probably every web developer is familiar with a pattern like this: var xmlHttp = null; if (window.XMLHttpRequest) { // If IE7, Mozilla, Safari, and so on: Use native object. xmlHttp = new XMLHttpRequest(); } else { if (window.ActiveXObject) { …
jayarjo
  • 16,124
  • 24
  • 94
  • 138
5
votes
1 answer

msxml3.dll error '80072ee2' The operation timed out

I have a classic ASP page that is reading an external rss feed (xml document) and then displaying it on a web page. This was working fine until my website was moved to a new server. I think it is now Windows 2008. My script is now timing out. I…
Ben
  • 897
  • 2
  • 16
  • 34
5
votes
2 answers

How to reformat XML programmatically?

I have an XML document on input which is awfully formatted (it's Delphi project file if anyone cares) - inconsistent indenting, empty lines, strings of nodes lumped together:
himself
  • 4,806
  • 2
  • 27
  • 43
5
votes
1 answer

XPath query filtering by date

I have some sample XML where I am querying for nodes based on a date. Sample XML document:
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
5
votes
2 answers

Is there a greasemonkey for IE? or, how do I get a website to use MSXML6 instead of MSXML5?

I don't know greasemonkey but I think it is a way to script or extend Firefox. Is there a greasemonkey for IE? for example: There's a website that is hosting a page that asks me to install MSXML5.0. I don't want MSXML5.0. I was thinking if I…
Cheeso
  • 189,189
  • 101
  • 473
  • 713
5
votes
2 answers

string to xmlNode delphi (or how to add an xml fragment to TXMLDocument)

I Have a few text strings that contain well formed XML. I would like to be able to (1) turn these strings into IXMLNodes then (2) append them to an existing XMLDocument. Preferably without declaring a new XMLDocument first. This doesn't seem…
sse
  • 987
  • 1
  • 11
  • 30
1 2
3
41 42