Re: How can I programmatically validate html ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Michael Stemper

    #1

    Re: How can I programmatically validate html ?

    In article <004f629c$0$102 65$c3e8da3@news .astraweb.com>, "mark4asp" <mark4asp@gmail .comwrites:
    >I am importing text from a column of a database table to display as
    >part of a web page in asp.net. There are about 7000 rows in the table.
    >
    >About 10% of the columns have their content as html and about 10% of
    >those columns have badly broken html. When broke it generally uses <tr>
    >and <tdcontent with no enclosing <table>.
    >
    >I have two alternatives.
    >
    >1. I could write a program to create a page from each occurence of html
    >content in a row and validate that against a html parser.
    >
    >As anyone done this. If so how could it be done. which parser could be
    >used?
    <http://validator.w3.or g/will validate HTML for you. No need to
    reinvent the wheel.

    --
    Michael F. Stemper
    #include <Standard_Discl aimer>
    Always use apostrophe's and "quotation marks" properly.
Working...