msxml6

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 # import "msxml6.dll" After this when I compile the project I get this and several other...

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: Msxml2.DOMDocument.4.0 Symbolic Name: CLSID_XMLSchemaCache40 GUID: {88d969c2-f192-11d4-a65f-0040963251e5...

MSXML: How do ask an IXMLDOMNode what version MSXML it comes from?

How can i ask what version of MSXML an IXMLDOMDocument2 is? Given an IXMLDOMDocument2 i need to create another document of the same version. If you give an IXMLDOMDocument from different versions of MSXML, you will get an exception from msxml: It is an error to mix objects from different versions of MSXML. Microsoft internally can...

Is there a way to control which tags get collapsed during serialization with MSXML6?

I create a MSXML6 DOM document and during serialization I want to control how empty elements are serialized: <tag></tag> <tag/> This answer describes a solution for C#, but I'm looking for something possible with the ActiveX interface of MSXML. (For VB6 or some scripting language) ...

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 command line processor? ...

XML Schema: Incorrect definition for the root element in schema

There is a schema with the following boring root element: <?xml version="1.0" encoding="utf-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt; The schema is valid as far as I'm concerned, and Excel reads it no problem, for instance. However, when I try to validate stuff agaist this schema using MSXML (v3 or v4 or v6) I g...

Xpath expression to retrieve oldest/earliest node

I have an XML snippet, so: <STATES> <STATE> <NAME>Alabama</NAME> <ABBREVIATION>AL</ABBREVIATION> <CAPITAL>Montgomery</CAPITAL> <POPULATION>4661900</POPULATION> <AREA>52419</AREA> <DATEOFSTATEHOOD>14 December 1819</DATEOFSTATEHOOD> </STATE> <STATE> <NAME>Alaska</NAME> <ABBREVIATION>AK</ABBREVIATION> ...

Tranforming XSLT text element with "one space character" yields empty content

I've got this incoming XML I'm transforming (with XSLT in ASP using msxsm6): <Cell> <Data xmlns="http://www.w3.org/TR/REC-html40"&gt; <Font>Text1</Font> <Font> </Font> <Font>Text2</Font> <Data> </Cell> If the template for <Font> is: <xsl:template match="Font"> <xsl:copy/> </xsl:template> The transform ...