load html file into an XmlDocument?

  • Thread starter Thread starter Andy B
  • Start date Start date
Hello Andy ,

usually you don`t do this as HTML ISNOT XML
maybe you would bether explain a bity more what you want , cause just
loading a HTML file into a XmlDocument isn`t going to work
however you could just load the HTML data in a XML node in a XML document
and you could etc etc etc etc etc etc

regards

Michel Posseth [MCP]
http://www.vbdotnetcoder.com
 
Andy said:
How do you load an html file into an XmlDocument?

If the HTML happens to be XHTML then you should be able to load it into an
XmlDocument just like any normal XML file.

Otherwise the HTML is very unlikely to actually be valid XML, so you won't
be able to load it at all.

Why exactly do you want to be able to do that?
 
Ok. I figured out how to do what I needed and I had to use the WebBrowser
control, but that's ok since I wanted to use it somewhere in the project
anyways.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top