vb.net - webbrowser get xml document

Hey, I have been trying to switch my code from using an ie object to using a built in webbrowser. Most of the properties are the same but I have run into an issue getting an xmldocument from a page.

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

Trying this method on webbrowser obviously doesn't work. But does anyone know the path to get the XMLDocument object from webbrowser?

Answers


Figured it out.

WebBrowser1.Document.DomDocument.XMLDocument


Need Your Help

Facebook Multiple invites using Requests 2.0

facebook fbml social apprequests

Is it possible to send multiple invites using new Requests 2.0? Documentation as of now saing that 'to' parameter can specify only one user, so it single user or standart request dialog even without

Cocoa touch dimming background darker

objective-c cocoa-touch ios ios4

Hey! I am making an app with a slider which slides out from the bottom and I would like to make other parts of the app a bit darker to show that the picker is the active component, like when alertbox

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.