display xml in a web browser control?

akosz

Newcomer
Joined
Jun 7, 2004
Messages
3
We're trying to display XML in a web browser control from a string variable.

Is there a way to set the source without navigating to a pre-existing file?

Here's what we've got so far:

Code:
Private Sub Command1_Click()
   WebBrowser1.[COLOR=MediumTurquoise]????????[/COLOR] = "<?xml version="1.0"?><A><B>HELLO</B></A>"
   MsgBox WebBrowser1.Document.DocumentElement.OuterHTML
End Sub

Private Sub Form_Load()
   WebBrowser1.Navigate ("about:blank")
End Sub
 
Last edited:
Back
Top