msxml

Delphi "DOMVendor" Open XML and Xerces: known limitations?

Is it safe to use Open XML instead of MSXML as the DOM Vendor with Delphi's IXMLDocument interface? Are there known limitations in basic functionality which I should be aware of? And how do the Open XML and Xerces implementations differ? (Xerces needs additional libraries, while Open XML seems to be included in the executable iirc) ...

How to Sort In-Memory XML with Microsoft XMLDOM?

Besides using XSLT... How to Sort In-Memory XML with Microsoft XMLDOM? ...

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) but it is successful on my collage's development machine. Obviously he has something inst...

Calling WCF service by VBScript

Hi, There is a WCF service with configuration: <services> <service name="MyService" behaviorConfiguration="MyServiceBehavior"> <endpoint binding="basicHttpBinding" contract="IMyService" /> <host> <baseAddresses> <add baseAddress="http://localhost:8001/MyService" /> </baseAddresses> </hos...

Which version of MSXML should I use?

Seems like this would be a common question, though I could not find it on SO. Which version of MSXML should I use in my applications, and more importantly, how should I decide? There is MSXML3, 4, 5 and 6. I recently posted some code in calling-wcf-service-by-vbscript that used MSXML v4. AnthonyWJones posted that I shouldn't use 4...

Read UTF-8 XML with MSXML 4.0

I have a problem with classc ASP / VBScript trying to read an UTF-8 encoded XML file with MSXML. The file is encoded correctly, I can see that with all other tools. Constructed XML example: <?xml version="1.0" encoding="UTF-8"?> <itshop> <Product Name="Backup gewünscht" /> </itshop> If I try to do this in ASP... Set fso = Server...

< & > are converted to &gt; &lt; etc

I am using MSXMl library to parse xml after I call put_text and then get_xml the output will have < & > converted to &lt; & &gt; How can i get rid of this? ...

400.0 - Bad Request with MSXML2::IXMLHTTPRequestPtr

I'm trying to access an xml file over http. The address is similar to: http://localhost/app/config/file.xml When pasting this in a browser the xml is displayed as expected. In my software I am using: MSXML2::IXMLHTTPRequestPtr rp; ... rp->open( "GET" , "http://localhost/app/config/file.xml" ); and getting the following response: <...

validate xml schema using msxml parser

I want to validate an XML file against an XML Schema file. It is a simple xml file. does not include namespace etc. I want to do this in c++, using MSXML 6.0. Can anyone provide me the guidance to do this Thanks ...

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...

Where does out-of-process MSXML IXMLDOMDocument::save save?

Where does MSXML IXMLDOMDocument::save save? I mean when it's called with a file name argument. CComPtr< IXMLDOMDocument > doc; p->get_doc( &doc ); doc->save( CComVariant( L"C:\\pathto\\mydoc.xml" ) ); Where will "C:\pathto\mydoc.xml" be? Consider that the XMLDOMDocument is out of process, in this case located on a different physica...

MSXML DOM: Add namespace declaration to an existing node in a tree

Problem description: Read an xml file, traverse to a particular node (element), if it does not have a particular namespace declaration, add the required namespace declaration, and write out the file. I need to do this in C++ using Microsoft's MSXML DOM APIs. The namespaceURI property on IXMLDOMNode COM object is read-only according to t...

How can I pretty-print XML source using VB6 and MSXML?

I've been looking after this for months now and I mostly found sites asking the same question. The answers I did found were always for .NET or C++ or involved XSLT. ...

How to make XMLDOMDocument include the XML Declaration?

When an XMLDOMDocument saves itself, how can i get it to include the XML Declaration, e.g.: <?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-16" ?> <?xml version="1.0" encoding="UCS-2" ?> <?xml version="1.0" encoding="UCS-4" ?> <?xml version="1.0" encoding="ISO-10646-UCS-2" ?> <?xml version="1.0" encoding="UNIC...

VBScript, MSXML and Namespaces

Given the following XML: <?xml version="1.0"?> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt; <soap:Body> <GetMsisdnResponse xmlns="http://my.domain.com/"&gt; <GetMsisdnResult> <RedirectUrl>ht...

Access Denied using MSXML

I have a VB6 backend for a classic ASP site. That VB then calls a web service on the same server using MSXML2.XMLHTTP. This works all of our servers but one. If I set the web service site to accept anonymous login it will work however if I force only integrated security MSXML returns an Access Denied error. I'm using code from the examp...

IE7 is requesting for msxml3.dll ActiveX control while trying to display SVG charts

Hello, We inherited a new product that we are now supporting. It is a web application that displays chart(s) using SVG. On my machine, it runs perfectly. It loads and shows the SVG charts using Adobe SVG viewer 3.0. While on the customer machine, the SVG charts wont load. I noticed that the web application is requesting for MSXML3 Act...

XMLHttpRequest and certificate errors.

I'm using a XMLHTTPRequest object in my C++ project. I have things working fine with normal http requests and https requests on servers with valid certificates. When I attempt to make an https:// request to a server who's certificate would produce an IE "There is a problem with this website's security certificate." error if I tried to br...

Give the c++ code to given xml:

i created an xml like registry structure.. i can node traverse through node name ..here i cannot traverse a nodepath through attribute value ...i give the xml below.. <Computer> <HIVE Name="HKEY_CUREENT_USER"> <Elements> <element Name="(Default)" Type="REG_SZ" Data="(value not set)" /> <element Name="SoftwareMic...

Node traverse in Xml using MSXML

i am trying to traverse a node attributes ..in below xml ,i need to attach a new node in attribute value '1'or'2'matched.. how can write a code for that using MSXML property..help me i.e browse xml through attribute ... <data> <menu id="**1**"> <existes>01</existes> </menu> <menu id="**2**"> <existes>1</exist...