Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Help:How to get XML data from WebBrowser control?

From: phils@-----------------.---
To: NULL
Date: 12/24/2007 7:40:00 AM
On Dec 7, 5:19 pm, ver.amit...@gmail.com wrote:
> Hi All,
>    My code supposed to send HTTP request to targeted web service and
> in turn receive XML data from it. I need to get access to this XML
> data.
> I am doing it in C++ using Visual studio 2003. I can send HTTP request
> usinf WebBrowser control and can get data in it but I have no idea,
> how can i read this data from WebBrowser control and parse it.
> Any help would be great fro me. I am quite newbee to XML programming
> in C++ so thanks for bearning with me.
>
> Regards,


If you can't access the web service directly per Martin's reply, you
can use the XMLDocument property of the WebBrowser's Document object.
See below for code in VB.

    Dim doc As New DOMDocument
    Set doc = WebBrowser1.Document.XMLDocument

where DOMDocument refers to the Microsoft XML Parser.


- Phil Seeman


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent