msxml

XPath query filtering by date

空扰寡人 提交于 2020-01-03 17:03:16
问题 I have some sample XML where I am querying for nodes based on a date . Sample XML document : <?xml version="1.0" encoding="UTF-16" standalone="yes"?> <NewDataSet> <Table> <EmployeeBankGUID>dc396ebe-c8a4-4a7f-85b5-b43c1890d6bc</EmployeeBankGUID> <ValidFromDate>2012-02-01T00:00:00-05:00</ValidFromDate> </Table> <Table> <EmployeeBankGUID>2406a5aa-0246-4cd7-bba5-bb17a993042b</EmployeeBankGUID> <ValidFromDate>2013-02-01T00:00:00-05:00</ValidFromDate> </Table> <Table> <EmployeeBankGUID>2af49699

Upload medium or larg file size in host (images,multimedia files,…) without ftp protocol

时光毁灭记忆、已成空白 提交于 2020-01-03 05:26:18
问题 How can make a uploader file in vb6 to work easyly and can be uploade files into host. For example (images or multimedia files or other format) and size > small size files for exampe > 500kb or 1 mb , 2 mb or upper sizes . Please help me to can find any way to designed without ftp protocols . I think it is possible to use of msxml refrences but i don't know how can designed it by msxml . [thanks] 回答1: You could upload to a HTTP like dropbox. The downside of simple HTTP file transfer is that

Add child entry to a specific node in xml file in vbscipt

 ̄綄美尐妖づ 提交于 2020-01-02 09:12:24
问题 I have an xml file DataConfiguration.xml with this entry <DataSource> <localdata> <add context="Localization"> <parameter name="timeout" type="int" defaultvalue="60"/> <parameter name="address" type="string" defaultvalue="192.168.9.45" /> <parameter name="port" type="int" defaultvalue="6789"/> </add> </localdata> </DataSource> I need to add another entry to "localdata" so it would be <DataSource> <localdata> <add context="Localization"> <parameter name="timeout" type="int" defaultvalue="60"/>

DOM Level 3 XPath in Internet Explorer

吃可爱长大的小学妹 提交于 2019-12-28 10:51:50
问题 I just installed IE10 on my Windows 7, and I've noticed that, even if I'm glad that XMLs from AJAX requests are now compatible DOM documents, a rather basic function like document.evaluate is still not supported. What's worse is that, since those XMLs are not the custom Microsoft IXMLDocument objects, the nodes don't support selectNodes and selectSingleNode anymore. In the end, it seems that IE10 does not support DOM Level 3 XPath or MSXML Xpath. Seriously, Microsoft? Is there something I'm

msxml fails to correctly close <link> tags during XSLT transformation

别说谁变了你拦得住时间么 提交于 2019-12-24 12:08:28
问题 I'm trying to parse a RSS feed using C#, and I need to transform it with XSLT. Here's a snippet of my XSLT: <xsl:output encoding="UTF-8" method="html" omit-xml-declaration="yes"/> <xsl:template match="/"> <xsl:apply-templates select="rss/channel/item" /> </xsl:template> <xsl:template match="rss/channel/item"> <item> <link><xsl:value-of select="normalize-space(./link)" /></link> </item> </xsl:template> Using a random RSS (the corriere della serra), this renders correctly with XML Spy: <item>

Having trouble spliting the contents of a node in XML when the contents are empty

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 12:01:24
问题 Give the following XML I am trying to split the contents of the "extra" node into four parts by the | delimiter and return the four parts in the response as chdspt(0), chdspt(1), chdspt(2) and chdspt(3). The problem I seem to have is if the XML loaded is missing anything inside the "extra" node then the whole script fails with a 500 error. <Export> <SAVED_EXPORT> <id>00-6189</id> <title>00-6189 Start Mech Switch</title> <price>5.46 USD</price> <extra>Male|Adult|Black|medium</extra> </SAVED

XSLT indent not working with MSXML

女生的网名这么多〃 提交于 2019-12-24 04:05:21
问题 I am trying to "pretty" an XML file. As suggested in some other SO questions, I am using the following stylesheet to transform: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output indent="yes" method="xml" encoding="UTF-16" /> <xsl:strip-space elements="*"/> <xsl:template match="node() | @*"> <xsl:copy> <xsl:apply-templates select="node() | @*" /> </xsl:copy> </xsl:template> </xsl:stylesheet> However this is not producing the desired results. For an

Incorrect definition for the root element in XML schema

时间秒杀一切 提交于 2019-12-23 18:08:42
问题 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"> 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 get the subject error. (I create XMLSchemaCache and the error occurs when I add the loaded schema to it.) From Google I learned that there is a conceptual problem

Data Binding Wizard in Delphi XE - can It be configured to map to MSXML interfaces?

断了今生、忘了曾经 提交于 2019-12-23 15:02:13
问题 The Data Binding Wizard in Delphi XE generates classes and interfaces that inherit from Delphi's own implementation of the DOM (ADOM XML v4), which doesn't appear to support validation against schemas - the 'validate on parse' option only works with the MSXML vendor type - as can be seen from the VCL source code and also the behavior of XMLDocument component in the IDE. All validation support seems to be based on the MSXML implementation, which makes the wizard useless if you need schema

What became of MSXML 4.0?

人走茶凉 提交于 2019-12-22 05:07:33
问题 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} ProgID: Msxml2.XMLSchemaCache.4.0 But none of the ProgID s or the CLSID s are registered on my Vista machine, or on colleague's XP machine. Was MSXML 4.0 only shipped with some version