(.NET 2.0, C#, VS 2005)
Hi,
I have a string representing a web page file.
I want to convert the string into an object to navigate through it's
elements.
I tried XmlDocument but I get a parsing error on the string...
Thanks
bruce barker - 28 Mar 2008 17:55 GMT
you need an HtmlParser. .net does not supply one other than hosting IE (not
recommended for an asp.net site).
google HtmlParser for the toolkit of your choice. (most are in java though)
-- bruce (sqlwork.com)
> (.NET 2.0, C#, VS 2005)
>
[quoted text clipped - 8 lines]
>
> Thanks
Peter Bromberg [C# MVP] - 28 Mar 2008 18:26 GMT
Look into Simon Mourier's HtmlAgilityPack. It provides an XML-DOM like
HtmlDocument class that does what Bruce said. Find it on codeplex.com
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net
> (.NET 2.0, C#, VS 2005)
>
[quoted text clipped - 8 lines]
>
> Thanks
Mike Gleason jr Couturier - 28 Mar 2008 19:41 GMT
> (.NET 2.0, C#, VS 2005)
>
[quoted text clipped - 8 lines]
>
> Thanks
Thanks a lot guys!
Mike