• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 221
  • Last Modified:

Is there a way to see if html is xhtml complient via .net code

Is there a way to see if some sample html is xhtml complient via .net code e.g. c# , vb.net etc

Thanks
P
0
paulCardiff
Asked:
paulCardiff
2 Solutions
 
torrie01Commented:
There is a library called Tidy which transforms HTML into proper XHTML.  I think it has a function for detecting whether the HTML is already XHTML or not.  Here is the link to the .NET wrapper: http://users.rcn.com/creitzel/tidy.html#dotnet
0
 
Jaime OlivaresSoftware ArchitectCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now