Recognizing XHTML version and XHTML 1.0 validation.