XPath over somewhat dodgy HTML

  • Thread starter Thread starter Barry Kelly
  • Start date Start date
B

Barry Kelly

Does anyone know of a way to use XPath with relatively well-formed HTML,
but not well-formed enough to be XHTML and parseable with .NET
System.Xml?

Any hacks to translate MSHTML into an XmlReader that .NET can then work
with?

-- Barry
 
Barry said:
Does anyone know of a way to use XPath with relatively well-formed HTML,
but not well-formed enough to be XHTML and parseable with .NET
System.Xml?

Any hacks to translate MSHTML into an XmlReader that .NET can then work
with?

I use Tidy.NET: http://sourceforge.net/projects/tidynet/
Works for me. It hasn't got much of a documentation, but I can provide
example code if you want it.
 

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