(PHP 5)
DOMDocument::schemaValidateSource — Validates a document based on a schema
$source
Validates a document based on a schema defined in the given string.
source
A string containing the schema.
成功时返回 TRUE, 或者在失败时返回 FALSE.
TRUE
FALSE