(PHP 5)
DOMDocument::schemaValidate — Validates a document based on a schema
$filename
Validates a document based on the given schema file.
filename
The path to the schema.
成功时返回 TRUE, 或者在失败时返回 FALSE。
TRUE
FALSE