Home     PHP / Javascript / Ajax
PHP Pure PHP XHTML Validator Script

PHP Script Codes > xml-php

Pure PHP XHTML Validator Free

Rate: | Price: Free | Publisher: Office Site | Demo: | Views: 2202

PHP Script Codes > Pure PHP XHTML Validator
The XhtmlValidator can be used to validate XHTML documents. It uses only the expat extension functions always available under since PHP 3 and it does not need other external XML processing extensions.

The class parses the documents and check whether the tags and attributes used by the documents are allowed within the XHTML standard.

If validation errors are found, highlighted error messages and offending document line numbers will be returned.

This is an experimental class, so you should double check your code with the w3c validator, as in only 1500 lines of code the XhtmlValidator lacks support for Encoding and Doctype validation