You are here: Re: Validating DHTML against a schema « HTML « IT news, forums, messages
Re: Validating DHTML against a schema

Posted by Jim Higson on 12/19/05 14:02

hywel.jenkins@gmail.com wrote:

>
> 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?

Sure, but how do I check?

I mean, it *looks* valid, but there are DOM elements being changed here and
there and there's no way to be certain other than schema validation.


--
Jim

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация