I'm writing an application without a user interface and I have a requirement
to find the plain ASCII text between <Ptags in an HTML document which
happens to have been obtained via POP3 and parsed out of a MIME message
body.
If I had a user interface, I could drop and IE web control onto a form, load
the HTML into that and then use the document parser. I've always hated that
route as it's so clunky and anyway, this app doesn't have a user interface
(it's processing emails in a service).
Any suggestions how to go about this?
I've come across SgmlReader from here:
http://www.gotdotnet.com/Community/U...4-C3BD760564BC
This could convert the HTML document into a clean XML document which I could
then parse with the dotnet XML objects. Does this sound a sensible route?
I thought implementing a POP3 reader (easy) and internet email MIME parser
(mindblowing) was difficult enough :-)
Thanks, Rob.