Posted by hywel.jenkins on 12/19/05 13:59
Jim Higson wrote:
> Debugging scrited sites would be easier if I could check my HTML stays
> valid.
>
> I've used various HTML validators that grab the (X)HTML and run it against a
> schema, but what about validating the 'live' HTML once the DOMs been
> modified by a script?
>
> Is there any (reasonably easy) way to tell a browser to send the current
> state of a page to a validator?
Why not just ensure that your script outputs schema-valid HTML in the
first place?
--
Hywel
[Back to original message]
|