Questions tagged [msxml6]

MSXML is a set of services that allow applications written in JScript, VBScript, and Microsoft development tools to build Windows-native XML-based applications. MSXML6 is the latest MSXML product from Microsoft.

Microsoft XML Core Services (MSXML) is a set of services that allow applications written in JScript, VBScript, and Microsoft development tools to build Windows-native XML-based applications. It supports XML 1.0, DOM, SAX, an XSLT 1.0 processor, XML schema support including XSD and XDR, as well as other XML-related technologies.

131 questions
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
5 answers

Padding number with leading zeros in XSLT 1.0

We have a number in XML that can go up to 3 digits in a large XML file that has to be converted to fixed length text for loading into another system. I need to pad this with leading zeros to a length of 15 in the output (which is fixed length…
Our Man in Bananas
  • 5,809
  • 21
  • 91
  • 148
10
votes
1 answer

successor of msxsl.exe?

We intend to migrate our framework from msxml4 to msxml6. We where using msxsl.exe as yet. It seems to support only MSXML versions up to 4.0, as command line msxsl.exe -u version 6.0 tells me. Is there a successor of msxsl.exe? Any alternative…
Matthias Doringer
  • 109
  • 1
  • 1
  • 3
9
votes
4 answers

How can I save an MSXML2.DomDocument with indenting? (I think it uses MXXMLWriter)

I have an instance of MSXML2.DomDocument. I wave to save it, with indenting. This code works, but does not indent: var dom = new ActiveXObject("MSXML2.DomDocument"); // fiddle with dom here dom.save(filename); I think I can use an MXXMLWriter…
Cheeso
  • 189,189
  • 101
  • 473
  • 713
9
votes
3 answers

What became of MSXML 4.0?

i have a dependancy on MSXML 4.0. Microsoft has a page that gives the CLSID and ProgIDs of various MSXML 4.0 objects: Symbolic Name: CLSID_DOMDocument40 GUID: {88d969c0-f192-11d4-a65f-0040963251e5} ProgID:…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
8
votes
4 answers

How to combine large XML files using MSXML SAX in Delphi

Edit: My (incomplete and very rough) XmlLite header translation is available on GitHub What is the best way to do a simple combine of massive XML documents in Delphi with MSXML without using DOM? Should I use the COM components SAXReader and…
carlmon
  • 396
  • 6
  • 20
6
votes
3 answers

Error C2011: 'MSXML2::IXMLDOMImplementation' : 'struct' type redefinition

I am changing my C++ project, which was earlier in VC6 and now being migrated to VS 2008, to use MSXML 6 instead of the earlier MSXML 3. When the code was in VC6 we were using MSXML3 by importing it # import "msxml3.dll" This was replaced with #…
bobbyalex
  • 2,681
  • 3
  • 30
  • 51
5
votes
2 answers

CreateObject("MSXML2.serverXMLHTTP.6.0") and CreateObject("WinHttp.WinHttpRequest.5.1") crashes with 100+ objects/requests running at the same time

I am trying to create 100-300 HTTP objects/requests at the same time using MSXML2.serverXMLHTTP.6.0 or WinHttp.WinHttpRequest.5.1. These requests are created on separate threads using a test application. Everything works fine with up-to 90 create…
DoIt
  • 313
  • 3
  • 12
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
4
votes
0 answers

Out Of Memory (7) when upload file in VB6 using MSXML

i have a function to upload multipart/form-data with Visual Basic 6 using MSXML2.ServerXMLHTTP60, no problem with 100MB file size, but when i upload 200MB it's show "Run Time Error '7'" Out Of Memory. this is my code: Public Function PostFile(sUrl…
Abu Ayyub
  • 401
  • 4
  • 14
4
votes
0 answers

Can't Import , Cannot Open .tlh File

On Windows 7 with Visual Studio 2012 I am trying: #include "msxml6.h" #import rename_namespace(_T("MSXML")) And getting the error: IntelliSense: cannot open source file "D:/Poses-master/Poses-master/msxml6.tlh" Can anyone tell me…
Sun
  • 41
  • 1
  • 2
4
votes
4 answers

Incorrect definition for the root element in XML schema

There is a schema with the following boring root element: The schema is valid as far as I'm concerned, and Excel reads it no problem, for…
GSerg
  • 76,472
  • 17
  • 159
  • 346
4
votes
2 answers

Is there a way to control which tags get collapsed/self-closed during serialization with MSXML6?

I create a MSXML6 DOM document and during serialization I want to control how empty elements are serialized: This answer describes a solution for C#, but I'm looking for something possible with the ActiveX interface of MSXML.…
Daniel Rikowski
  • 71,375
  • 57
  • 251
  • 329
4
votes
1 answer

how to extract text from an element in an xml string in classic asp

I have the following xml: amzn1.contract.1.1.1.d6779be6bf481167fe945
Graham
  • 7,807
  • 20
  • 69
  • 114
1
2 3
8 9