Posted on: 1/30/2014 9:51:45 PM | Views : 565

Is there a CSS parser in .NET that counts the number of syntax errors in css while parsing it? I have tried http://www.devtriogroup.com/HtmlParser/CssParser.aspx .  It parses the css but does not tell you if the css has any errors or give an error count.  It builds a tree from the css tags.  If the css has errors such as a missing }, it will interpret the next two tags as attributes and then stop.  I need to check in my code if the css has any errors and prevent the user from saving the css document if there are any errors.


Saad

Go to the complete details ...