Reputation: 8254
Any thoughts on a library (.NET / C# ) to use to validate a HTML that the user uploads to my website via upload ? It doesn't have to be super strict validation, just something to say if the document uploaded is a decent HTML or not...
Upvotes: 0
Views: 145
Reputation: 192657
Just run htmltidy using System.Diagnostics.Process.Start()
, and count the errors.
Upvotes: 1