I'm planning to do a relatively large XPath query using msxml. Is there a maximum length for a query that msxml enforces?
Background: From some external input my code will create a number of xpath-queries and I am interested in the result of all those or-ed together:
myObject.SelectNodes(subQuery1 +"|"+ subQuery2 +"|" + subQuery3 + ...
XMLNotepad provides the following text (for example) when a transform fails:
Error Transforming XML
The variable
or parameter
'saturated-background-color' was
duplicated with the same import
precedence.
How would I go about getting this error text programmatically? My code looks like this:
CComPtr<IXSLTemplate> tmpl;
HR...
I have a stored procedure that accepts an xml parameter (SqlDbType.Xml) that is being called from some .NET/ ADO.NET code. I have tested this through a test harness using a System.XML.XMLReader to read some test XML from a file;
Dim xmlParam As SqlParameter = New SqlParameter("@xml", SqlDbType.Xml)
xmlParam.Value = New SqlTypes.SqlXml...
Hi all,
I have the following (simple) VB6 code:
Dim xmlDoc As MSXML2.DOMDocument30
Set xmlDoc = New MSXML2.DOMDocument30
Dim xmlRequest As MSXML2.XMLHTTP40
Set xmlRequest = New MSXML2.XMLHTTP40
xmlRequest.open "GET", "http://myserver.com/Service.svc/models/20080101", False
xmlRequest.setRequestHeader "Accept-Encoding:", "gzip/deflate...
I've got a web-based RSS Reader written in Classic ASP that I've used successfully in public projects past. However, it does not want to cooperate on this in-house project.
Pertinent Code:
set xmlDoc = createObject("Msxml.DOMDocument")
xmlDoc.async = false
xmlDoc.setProperty "ServerHTTPRequest", true
xmlDoc.load(extURL)
If (xmlDoc.par...
I would like to know if I create an instance of Msxml2.FreeThreadedDOMDocument.4.0 in one thread, can I safely manipulate the instance from different threads using raw pointers?
...
I have a C++ dll (x.dll) which exports a class that uses a static instance of MSXML2::IXMLDOMDocument2*.
In X.dll
wrapper.h
class EXPORTEDCLASS wrapper
{
wrapper();
public:
// Some accessor methods.
private:
PIMPL* pImpl;
};
wrapper.cpp
class PIMPL
{
public:
PIMPL();
static MSXML2::IXMLDOMDocumentPtr m_pDo...
I'm trying to COM interop w/ Navision through a .Net assembly - and specifically using MSXML interfaces. This leads to the following error message:
The assembly "C:\Users\bra\Documents\Visual Studio 2008\Projects\SOAPROXY\SOAPROXY\bin\Release\SOAPROXY.dll" could not be converted to a type library. Type library exporter encountered an er...
Does anyone know if there is a way to use a single XMLHTTPRequest object to send multiple asynchronous requests. I can do it with a single request and get a response back from my onreadystatechange() handler.
I'm wondering if there's a way to use the same object to send multiple parallel requests but I'm not seeing any way to match a ...
Using MSXML via C++, when I call IXMLDOMDocument::save, empty XML elements will get an end tag, like this:
<root>
<child name="first">
</child>
</root>
But I want it saved as this:
<root>
<child name="first" />
</root>
What do I need to do to accomplish that?
...
Hi:
Our application is written in VC++ and we are using MSXML for parsing. Now we want to pass MSXML document object from our application to a java application for processing. How can I achieve this? Does java (swing) support MSXML or MSXML objects?
We are using DOM parser.
Any help appreciated,
Thanks,
KK
...
Is there any way to copy (deep) element from one DOMDocument instance to another?
<Document1>
<items>
<item>1</item>
<item>2</item>
...
</items>
</Document1>
<Document2>
<items>
</items>
</Document>
I need to copy /Document1/items/* to /Document2/items/.
It seems that DOMDocument doesn't have methods to import no...
MSXML6 is supposed to have the best security, performance, reliability, and W3C conformance (Using the right version of MSXML in Internet Explorer).
Questions:
Why does not jQuery use MSXML6?
Does jQuery use MSXML3? (I think the answer is yes, see my update below...)
Can i fetch the version of MSXML from an IXMLDOMDocument instance? ...
I'm using the msxml to parse an xml file. Language is C++. The xml file contains some dates and times using the xsd:dateTime format (Something like that: 2009-04-29T12:00:00Z)
Is there an easy way to convert xsd:dateTime to something like SYSTEMTIME, FILETIME or VariantTime?
...
I'm trying to parse an XML document using MSXML v4 in C++, using my own entity resolver to re-direct the parser at local DTDs on my own hard-drive, rather than allowing the parser to go online to get the DTDs from their locations as specified in the XML file being parsed. I've managed to get this working with Xerces, but the behaviour I'...
We are migrating ASP code that used ADO to connect to SQL Server 2000. For the most part the code migrated without a hitch to SQL Server 2008 after defining the connection, but one type of query is throwing an error that puzzles me.
Against SQL 2000, we would use code like this:
set oCommand = Server.CreateObject("ADODB.Command")
oComm...
I have an HTA (microsoft html application - just an offline html + javascript app) that is using the standard MS XMLHTTP COM object (Microsoft.XMLHTTP or Msxml2.XMLHTTP depending on version detected) via JavaScript to send some data back to the server.
It is returning status code 0. This is apparently not a valid HTTP status code (they...
I am distributing an application that includes Microsoft XML Parser version 4. I have included the latest Windows XML Parser .msm files that I could find at Microsoft.
On some systems my software starts, but shows the 'installer dialogs' as if a setup is running. The Microsoft event log reports:
Detection of product '{6C0651D8-DF72-497...
Due to problems associated with installing MSXML4 (like this) we want to switch to MSXML6. Are there any known issues associated with this or is such transition smooth and painless?
...
Hi all,
I have a VBScript COM Component where I'm using Msxml2.FreeThreadedDOMDocument.4.0 however is there / will there be any benefit from using Msxml2.FreeThreadedDOMDocument.6.0
I played with it a bit on a local machine and saw minor performance improvements using 6.0 however I couldn't find any good reference on the web relating t...