0

Possible Duplicate:
Is there a CSS parser for C#?

in my screen scraper application written in C# I want to download a webpage and extract only main content text for further processing. What I want to do first is to determine the colours of background and text and analyse them. Assuming that my programme receives as an input a valid XHTML code with a CSS file, is there an XHTML parser that can determine background and foreground colours? The question is with what tool can I process CSS properly with? Ideally it would be written in .NET. Thanks

Community
  • 1
  • 1
lekso
  • 1,641
  • 2
  • 23
  • 46
  • @ipr101 it is not a duplicate. I am looking for a tool that'll provide me with color of text for a given HTML element, those parsers don't do this exactly. – lekso Aug 23 '11 at 11:51
  • @lesko, those tools will allow you to query the styling information of HTML elements. It's up to you to use those tools to learn the data you're interested in. – Michael Petrotta Aug 24 '11 at 01:11

0 Answers0