DOMDocument::schemaValidateSource
(PHP 5)
DOMDocument::schemaValidateSource — Validates a document based on a schema
说明
bool DOMDocument::schemaValidateSource
( string
$source
)Validates a document based on a schema defined in the given string.
参数
-
source -
A string containing the schema.
返回值
成功时返回 TRUE, 或者在失败时返回 FALSE.
参见
- DOMDocument::schemaValidate() - Validates a document based on a schema
- DOMDocument::relaxNGValidate() - Performs relaxNG validation on the document
- DOMDocument::relaxNGValidateSource() - Performs relaxNG validation on the document
- DOMDocument::validate() - Validates the document based on its DTD
There are no user contributed notes for this page.
