625 questions
Score of 2
2 answers
215 views
What is the biggest number that MSXML can handle in XSLT?
When doing some numerical calculations in XSL templates I stumbled over the fact that a value of 3.600.000.000 which represents the number of microseconds in an hour can be represented in MSXML v6 ...
Score of 1
1 answer
265 views
How to parse content from HTML-code of a public website using VBA & MSXML2.XMLHTTP?
On this public website, depending on the selected federal state, 30 properties are listed on the right-hand side. If this federal state offers more than 30 properties, then another 30 are listed on ...
Score of 0
1 answer
89 views
How to make a transformation work with namespace prefixes? Adding it do xslt doesn't work
Here's the problem.
XMLDOM (Microsoft.XMLDOM object) doesn't indent XML. It's unreadable by human.
Previously, after making an XML document I would just run this tranformation
<?xml version="1....
Score of 0
0 answers
44 views
XPath: How do I return only one child element, but retain the tree structure?
I'm using this XPath to filter out data.
.selectNodes("(//delete/node|//delete/way)[tag[@k='railway'][@v='station' or @v='platform']]")
It returns this, as expected.
<delete>
<...
Score of 0
1 answer
76 views
Is redefinition of attribute values in extension allowed?
Does the official specification of XSD allow to re-define attribute values (with default/fixed) in derived types with <extension>?
Both MSXML and Xerces-C allow this, but not libxml2 (does not ...
Score of 0
1 answer
192 views
Sample Code: VB getNamedItem XML attribute in Microsoft MSXML.DOMDocument [duplicate]
Apologies, I know this is olden days stuff but I'm suffering a bit of brain fade here, I just need a specific code example to get on...
This is the problem using an XML snippet returnd by a remote ...
Score of 0
1 answer
77 views
MSXML: Loading xml from a url non-asynchronously causes E_ACCESSDENIED
Trying to load xml from a url using msxml:
Setting .async to false (default is true) causes E_ACCESSDENIED error trying to .load from a url
var
doc: DOMDocument60;
begin
doc := CoDOMDocument60....
Score of 1
2 answers
186 views
Sending HTTP Request using MS XML, 6.0 Library with a Dynamic/Partially Known URL -loop
I am trying to loop through pitchers' game logs on www.statmuse.com. The main issue is that, since I am trying to do this on a loop, part of the URL is currently unknown.
For example, looking at ...
Score of 0
0 answers
44 views
Issue when moving a very old XMLRAD IIS app to another server
We are trying to move a very old XMLRAD IIS HR application from a dead windows 2003 server to a new server.
I'm in the sysadmin team and there is no developper knowing XMLRAD technology in our teams ...
Score of 0
1 answer
123 views
Trouble with XML parsing in VBA: Extracting multiple Node values from NodeList
This XML document below is an invoice with order items.
Various master data must be extracted for each order item.
For the sake of simplicity, we will only consider the <ram:SellerAssignedID>.
...
Score of -1
1 answer
133 views
How to do transformNodeToObject with MS XML 6.0
In MS XML 4.0 you could have variables (using C++ here)
IXMLDOMDocument2Ptr spDocSource;
IXMLDOMDocument2Ptr spDocResult;
IXMLDOMDocument2Ptr spDocStylesheet;
and then load them up and do a ...
Score of 0
0 answers
122 views
Memory leak in code using MSXML and smart pointers
Something in the following code is leaking memory, but I can't find it.
I've traced through it with a debugger, and even with a debug build, it won't step into the ref counting. So I've planted pairs ...
Score of 1
2 answers
674 views
Parsing an XML string to XML and extracting node value in XSLT
I've been trying to parse an XML string to XML and extract the needed values using msxsl:node-set function in XSLT. Given below is the XSLT code
<xsl:template name="parseXML">
<...
Score of 2
1 answer
94 views
VBA XML transformation ignores included Stylesheets?
I am trying to transform an XML file into a Microsoft Word document, using VBA. However when I try to run the macro, I get an error stating:
Error '-2147467259 (80004005)': The template 'example' ...
Score of 0
1 answer
65 views
Get attribute value returns a string without namespace
Here is the sample of XML code :
<xsd:element ref="cbc:UBLVersionID" minOccurs="0" maxOccurs="1">
Here is the C++ code that has to get the ref attribute's value :
...