簡體   English   中英

vb.net-Webbrowser獲取xml文檔

[英]vb.net - webbrowser get xml document

嗨,我一直在嘗試將代碼從使用ie對象切換為使用內置的Web瀏覽器。 大多數屬性是相同的,但是我遇到了從頁面獲取xmldocument的問題。

'Internet Explorer Object
Dim oXML As Object = oIE.document.XMLDocument
nodeList = oXML.SelectNodes(path).length

在Webbrowser上嘗試此方法顯然不起作用。 但是,有人知道從webbrowser獲取XMLDocument對象的路徑嗎?

弄清楚了。

WebBrowser1.Document.DomDocument.XMLDocument

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM