A
Artie
Hi,
I'm using a WebBrowser control to display xml formatted to html using
a stylesheet.
In certain scenarios, if I detect that the xml is invalid, I'd need to
display the raw invalid xml in the WebBrowser control. I've wrapped
the raw invalid xml in some html tags, and it displays, however, all
the xml tags have been parsed out - it just displays the values.
My question is, how can I get the WebBrowser to display the actual
xml, including all the tags?
Example:
I want to display "<Forenam>John</Forename><Surname>Smith</Surname>"
in the WebBrowser
(deliberate mistake 'Forenam')
rather than
"JohnSmith"
Any help much appreciated
Cheers
Attie
I'm using a WebBrowser control to display xml formatted to html using
a stylesheet.
In certain scenarios, if I detect that the xml is invalid, I'd need to
display the raw invalid xml in the WebBrowser control. I've wrapped
the raw invalid xml in some html tags, and it displays, however, all
the xml tags have been parsed out - it just displays the values.
My question is, how can I get the WebBrowser to display the actual
xml, including all the tags?
Example:
I want to display "<Forenam>John</Forename><Surname>Smith</Surname>"
in the WebBrowser
(deliberate mistake 'Forenam')
rather than
"JohnSmith"
Any help much appreciated
Cheers
Attie