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

Javascript Msxml2.XMLHTTP terminal server access denied

var xmlHttpRequest = new ActiveXObject("Msxml2.XMLHTTP"); xmlHttpRequest.open("POST", "http://vat/_vti_bin/lists.asmx", false); How can I let this script work on a Terminal server? When I open it on my local pc, it works, but when I do the same…
0
votes
1 answer

Reference to undeclared namespace prefix: 'soap' when parsing MSXML soap response using selectSingleNode

I have an msxml document that I'm trying to parse. This is the xml - xmlDoc.responseDocument:
Bookamp
  • 672
  • 8
  • 19
0
votes
1 answer

Select follower tag, selectSingleNode in msxml

How can I select the MEDIUM from that xml with VBScript Msxml? VAT 123 PRIORITY
Krekkon
  • 1,349
  • 14
  • 35
0
votes
1 answer

#import directive created COM wrapper classes replaces wchar_t with unsigned short

We have some legacy code that uses MSXML and the wrapper classes generated using Visual Studio's C++ #import directive like so: #import named_guids We are upgrading the project to use wchar_t as a built-in type (previously, the…
zdan
  • 28,667
  • 7
  • 60
  • 71
0
votes
1 answer

Selecting an XML comment node using MSXML

Currently, I am unable to access the content of any of the comments in the XSD I am attempting to read from. Here is a snippet of the XSD I am trying to read comments from:
ssalbdivad
  • 26
  • 8
0
votes
0 answers

C#/.NET XML Schema Validation - MSXML strange behavior: ENTITY referenced but not declared

I´m trying to validate some XML documents with a xml schema (xsd). sample code: private static void validateXml(string file, string schema) { if (!File.Exists(schema)) { Console.WriteLine("File not found."); return; } …
AlteGurke
  • 585
  • 6
  • 20
0
votes
1 answer

Remove XML header using VBA

I have the xml file below; 1 I want to remove the XML header from the file such that the xml file will look like…
guagay_wk
  • 26,337
  • 54
  • 186
  • 295
0
votes
2 answers

VBScript invoking a POST from a href link

Our office team maintains and develops a Classic ASP application using VBScript We came across a technical task that involves creating links. When the link is clicked, we want our ASP page to invoke a POST. The POST should be indirectly invoked by…
crazyTech
  • 1,379
  • 3
  • 32
  • 67
0
votes
0 answers

Nil interface exception while using XMLNode to setAttribute

I have referred How to read and write XML document node values? to write code to set Attribute of standalone-full.xml. Here is the code. procedure SaveAttributeToXML(const AFileName, APath, AAttribute, AValue: string); var XMLNode: Variant; …
Anuk
  • 1
  • 4
0
votes
1 answer

VBScript: Issues placing an inline schema into xml using MSXML DOM

Dear fellow exchangers, For a project I'm expected to generate a xml file of previously defined format, which includes a inline schema. This xml is then communicated with other software running on another computer. The script is running on a siemens…
0
votes
1 answer

How to expand spreadsheetML markup to regular matrix markup using XSLT 1.0

With spreadsheetML generated by Excel 2007 (and onwards into newer versions), the xl:Row and xl:Cell elements may include attributes for ss:Index which provides a row or column designation that "skips over" intervening entirely blank cells. This…
Dave
  • 378
  • 4
  • 14
0
votes
0 answers

Ajax and ActiveXObject

why when I run this code on local server, req.send(sData) doesn't work? It runs alert1 but doesn't run alert2; function initialize() { var req; try { req = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { …
SalmanShariati
  • 3,873
  • 4
  • 27
  • 46
0
votes
2 answers

SOAP Requests not working on one machine, but works perfectly fine on another

Using a small derivative from the following website: http://servicenowsoap.wordpress.com/2013/10/26/vb-script/ ...where I'm implementing the call in VB.Net instead of VBScript. I'm using Microsoft XML 3.0 resource, and during initial testing... it…
0
votes
1 answer

Absolute virtual path in xsl:include command

I wonder, does xsl:include command supports absolute virtual path? For ex. statement with relative path works absolutely fine. But when i pass an absolute virtual path
Kshatra
  • 369
  • 1
  • 4
  • 12
0
votes
1 answer

create xml value with vbscript

i need to add the value of ExtraDataItem name="HostOnly/VirtualBox Host-Only Ethernet Adapter/IPAddress" value="192.168.2.1" to my xml.. In the picture you can see how it looks after it has been added by the program. In the default xml, only 2…