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

MsXml6 failing to link properly

Hello I am trying to use msxml and I am getting a linker (VS 2012) error and can't figure out why. My class file has the following header declaration: #include class Foo { .... private: static IXMLDOMDocument* document; }; I…
SimpleGuy
  • 143
  • 5
0
votes
1 answer

Fetch data from website table using vba

I need to constantly update excel file with information, obtained from the following link (warning, ukrainian language): link to the Ministry of Finance web-site of Ukraine Useful data is wrapped by the HTML tags . I need the similar…
mr.M
  • 851
  • 6
  • 23
  • 41
0
votes
1 answer

Does Windows7 include MSXML 4.0?

We have a component using MSXML4.0. It failed on a test environment with Windows Server 2003. But works on test environment with Windows 7. I suspect the first environment doesn't have MSXML4.0. Is that possible? And why later version of Windows…
Archer
  • 507
  • 1
  • 8
  • 21
0
votes
1 answer

XPath tokenize() method not recognized by msxml3.dll

I'm attempting to use the tokenize method in a SelectNodes(" ") call, to filter some things out. I have something along the lines of: And my xpath is as…
Serge
  • 1,974
  • 6
  • 21
  • 33
0
votes
2 answers

IStream to MSXML DOMDocument

Is there a simple way for me to take an IStream of an XML document and then load it in to an IXMLDOMDocument (msxml)? Preferably without writing the stream to disk.
evve
  • 2,806
  • 2
  • 14
  • 11
0
votes
1 answer

Delphi Exception when Preserving Whitespace in TXMLDocument

This is a follow up to my earlier post: String to XmlNode Delphi (or how to add an xml fragment to TXMLDocument) It seemed appropriate to start a new question... I am essentially adding well formed xml snippets to an existing xmldocument. The…
sse
  • 987
  • 1
  • 11
  • 30
0
votes
1 answer

Anyone knows how to disable MSXML partial and full garbage collection?

I'm running into some nasty msxml6 crash, it is a timing issue happening very intermittently, it is all happening inside msxml6 garbage collection code, i have read some of their tech note regarding msxml6 garbage collection, it did not really help,…
Snekithan
  • 360
  • 3
  • 11
0
votes
1 answer

Problems in Memory Handling with MSXML

I've got an application for testing fabricated products using some legacy code in an dll. The application could be set up for different products. The setup is done via xml-files and can (and will) be changed during runtime, i.e. at End-Of-Lot. The…
Oliver
  • 596
  • 1
  • 7
  • 20
0
votes
1 answer

Which version of MSXML began to support parsing XML 1.1?

If I use MSXML6.dll to parse XML 1.1, I will get this error: 0xC00CE57F MSG_E_INVALID_VERSION Invalid version number XML 1.1 was initially published on February 4, 2004. I'm surprised that MSXML6.dll can not parse it. The question: Does any…
milesma
  • 1,561
  • 1
  • 15
  • 37
0
votes
1 answer

Large Xml files are being truncated by MSXML4 / FreeThreadedDOMDocument40 (COM string Interop issue)

I'm using the following code to load a large Xml document (~5 MB): int _tmain(int argc, _TCHAR* argv[]) { ::CoInitialize(NULL); HRESULT hr; CComPtr< IXMLDOMDocument > spXmlDocument; hr =…
Justin
  • 84,773
  • 49
  • 224
  • 367
0
votes
2 answers

IE10: msxml.load(document.all("UserInfo") is throwing an error

I have a XML String with in the tags in a .jsp file and I am trying to load that xml using xmldoc.Load(document.all("Info")) and it is giving an error Invalid procedure call or argument but everything works in Ie9. When I inspect the…
Harish
  • 425
  • 3
  • 7
  • 19
0
votes
1 answer

Read and write xml document from mfc dialog application

How to read and write xml files in mfc dialog based application. I'm using visual studio 2012. When I searched for some articles I got to know to import msxml6.dll file. But it's showing error in my IDE Visual studio 2012. So plese help me out, I'm…
Puneeth K G
  • 15
  • 3
  • 9
0
votes
0 answers

Use a XPath to CreateElement

What I'm looking for is a simple method of turning a XPath into a CreateElement. (My background is C# but this project is for VB6) As an example from my knowlege, if you create a directory with .NET much deeper than just one below an existing…
0
votes
1 answer

Parse HTML chunk with nbsp in MSXML

I'm trying to load a chunk of HTML into MSXML's DOMDocument. The said chunk is valid XML with one excepton - it has   entities. MSXML chokes on them, claims "Reference to undefined entity 'nbsp'.". Can I make MSXML recognize it as valid…
Seva Alekseyev
  • 59,826
  • 25
  • 160
  • 281
0
votes
1 answer

MSXML DOM & Add multiple processing instruction

MSXML DLL :msxml3.dll I am writing XML using MSXML DOM & expected to add multiple processing instruction. ex: first processing instruction. xml version="1.0" encoding="ISO-8859-1"? second processing instruction xml-stylesheet type="text/xsl"…
sandy
  • 33
  • 7