admin管理员组文章数量:1124165
Could anybody help me to solve a mistry? Either I have a discovery or my problem is an isolated problem in my system. If that is a discovery, then it might be a good news for people who use iframe but right now it is a bad news for me.
I am trying to make some changes to a page of legacy application that uses MSXML2.DOMDocument60 selectSingleNode() to retrieve values from xml. The vb6 code that uses the selectSingleNode() is encapsulated in a COM+ component which is instantiated by the page. I am using classic ASP on Windows 11.
Currently the page is loaded in an iframe and I do not have any issues with retrieving xml values by selectSingleNode(). However, when I fetch the page in a div the selectSingleNode returns Nothing. Why is that so? I expect not to have a mistake with using the DOM functions because the same page works fine in the iframe.
Could anybody help to solve this?
I did not have much ideas how to attempt to solve this problem but i did the following: 1- I verified if there is anything disturbing line on the top page that contains the fetched div but I there are only some headers and some divs that form the structure of the website. 2- I fetched another page that also uses the selectSingleNode() in the same div but the same problem happens and selectSingleNode() returns Nothing. 3- I did exhausting searches about this issue but I found nothing relating to the subject of selectSingleNode and iframe and div.
本文标签: vb6DDOMDocument selectSingleNode returns null when pages fetchedStack Overflow
版权声明:本文标题:vb6 - DDOMDocument selectSingleNode returns null when pages fetched - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736620975a1945575.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论