473,327 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Displaying unparsed HTML in a WebBrowser control

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
Feb 25 '08 #1
0 1145

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Vincent Lefevre | last post by:
I would like to know if the base URI considered to resolve an unparsed entity defined by a relative URI should be the URI before or after its rewriting due to a possible catalog. Let's take an...
6
by: Michael C | last post by:
Anyone know of a good HTML Rendering control? I need a control that will render and display HTML in a Windows form. It doesn't need to pull down HTML pages from the Web - I'll feed it all the...
2
by: Steve Barnett | last post by:
I have a desktop application that needs to display some summary information. At present I use the RichTextBox control but am unhappy with the results. What I would prefer to do is display an HTML...
5
by: andrewcw | last post by:
I just need to host my HTML file within my WINFORM. I am sure there are articles on that, but I cant seem to find one or a simple KIOSK sample. ( No interaction, just view ). Thanks Andrew
5
by: Tomaz Koritnik | last post by:
Hi I have many short HTML files stored in a binary stream storage to display descriptions for various items in application. HTML would be display inside application using some .NET control or...
6
by: Shawn Hogan | last post by:
Hi everyone, I'm wondering if anyone has a better way to display XML and HTML files on a VB.NET Winform other than using the COM WebBrowser control. Thanks, Shawn
3
by: Stropher | last post by:
I have just created a Word document, saved it as XML-file. Now I have created a WebBrowser-Control and would like to use it to display the file, but how? Could anyone give me some clues on how to...
4
by: Steve Richter | last post by:
I would like to build an HTML stream as a string and have the WebBrowser control render that HTML. Then on PostBack, or whatever it is called, I would like my code to be the one that receives what...
3
by: Provost Zakharov | last post by:
Hi, Is there anyway I can access unparsed HTML from the IE DOM? I'm trying to access the unparsed HTML so that I can convert the unparsed HTML into meaningful content using an appropriate encoding...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.