PDA

View Full Version : php xhtml validator



handless
September 12th, 2008, 08:32 PM
Hey, Im trying to build a html validator, however im having trouble with figuring out where exactly to start. the purpose of this is that i have a cms that ive been writing and i have a section where someone can edit certain things in an html view. and i want to have a button they can click that will take the contents of that and check that it validates. anyone know of any good open source ones out there, or have any advice on the topic. Thanks in advance.

Voetsjoeba
September 13th, 2008, 12:20 PM
An (X)HTML validator is a very difficult thing to write. You're best off using W3's excellent validator: http://validator.w3.org/ (see http://validator.w3.org/docs/devel.html if you want to install your own instance).