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

SelectSingleNode failure in VBA

I'm trying to parse a returned data service file in VBA for Excel, and while I've reviewed several helpful answers to similar questions, none of them seem to get SelectSingleNode to return anything for me. The XML file is rather large, but the…
WPBird
  • 3
  • 3
0
votes
1 answer

How to specify namespace when querying nodes with XPath?

Short Version You do it in .NET with: XmlNode.SelectNodes(query, selectionNamespaces); Can you do it in javascript? https://jsfiddle.net/9ctoxbh0/ Can you do it in msxml? Attempt A: IXMLDOMNode.selectNodes(query); //no namespaces…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
0
votes
1 answer

MSXML instead of IE in VBA produces runtime error 91 "Object variable or With block variable not set"

I'm examining almost 10,000 web pages and returning values to an Exel spreadsheet. Using an IE object produces inconsistent results and I want to use MSXML instead so I've produced two functions that return the web page, one using IE and another…
jeromekjerome
  • 501
  • 1
  • 8
  • 26
0
votes
1 answer

XML comments being read as child nodes

I have some code which reads in an xml file as input to a computer model (written in C++ and compiled using VS2012). Following an update to the XML format of some of the input data, the software stopped reading in the file in its new format (the…
0
votes
1 answer

Why when I create XML document of registry and it founds in registry specified symbols - it cause an error?

I'm creating a XML document of registry keys and parameters on VBScript. Script is working normal, but if the name of the registry key or registry parameter does contain special symbols, like a /, %, #, \ and other - it causes an error in…
KrutNA
  • 1
0
votes
1 answer

Trying to get a value in an XML document at a given namespace and name using MSXML

I have an XML document that looks like this:
sigil
  • 9,370
  • 40
  • 119
  • 199
0
votes
0 answers

Setting text for IXMDOMNodePtr

I have a MFC application for which Character set is "Not set". I am using MSXML to create a XML. When I try the following, the code crashes - std::string lText ("abc"); MSXML2::IXMLDOMNodePtr pAttr = GetAttr(); //pNode is initialized…
0
votes
1 answer

How to upgrade an MSXML Document from version 1 to verison 6?

My application uses MSXML version 1 (MSXML.DOMDocument) to store user documents in XML format. I want to upgrade to MSXML6 (Msxml2.DOMDocument.6.0). The problem is that old documents are not always readable with the new version. The cause of this is…
Yasei No Umi
  • 1,574
  • 9
  • 23
0
votes
1 answer

XSL 1.0 Creating html ul-li tree from xpaths, where data is in xml attributes as text delimited by '/'

I'm trying to produce a tree of data that looks like this: root 1stGenChild1 2ndGenChild1 2ndGenChild2 1stGenChild2 and so produce the code as follows:
  • root
    • 1stGenChild1
      • 2ndGenChild1
Luke Hargraves
  • 93
  • 1
  • 1
  • 6
0
votes
0 answers

Can msxml transform() use the same buffer for input and output?

I am using an msxml 6.0 transform method under VBScript, on a more or less conventional XML document. The setup is like this: Set objXSL = CreateObject("MSXML2.FreeThreadedDOMDocument.6.0") objXSL.setProperty…
Dave
  • 378
  • 4
  • 14
0
votes
2 answers

Setting a web table scraper by Msxml2.ServerXMLHTTP.6.0 on Excel VBA

I need to do a web data scraper. I need to login to the site: user, password, click login button Click a second button Wait for page to load, here is the Table in question. The table is a call log and adds new content dynamically, so it is always…
0
votes
2 answers

How to read the attribute and element value

I have the following XML:
Simsons
  • 12,295
  • 42
  • 153
  • 269
0
votes
1 answer

add ID to derived Type

Named simpleType with string restriction and *pattern*. This sT basicType is applied to multiple elements. The catch is that two of these elements require type change to base="xs:ID". This can be done by creating unique sT's: one sT for the fields…
IronX
  • 345
  • 3
  • 9
0
votes
1 answer

Query Regarding the method call for the interface ISAXContentHandler of msxml6.DLL

I have knowledge on C++ and C#, but COM is an Alien to me. I have a VC++ COM DLL in which all the methods of the interface ISAXContentHandler (of msxml6.DLL) like startElement(), endElement,processingInstructions(), characters(), etc.. are…
codeLover
  • 3,720
  • 10
  • 65
  • 121
0
votes
1 answer

MSXML 6 IServerXMLHTTPRequest.Open Fails on WIndowsEmbeddedPOSready7 & windows7 Pro

Application that uses MSXML6 IServerXMLHTTPRequest.Open Fails when run on machines with OS WIndowsEmbeddedPOSready7 & windows7 Pro. Works fine on Windows 8 and Windows 10. I have installed MSXML 6 on all the machines. The application creates…
1 2 3
8 9