DOMDocument->schemaValidateSource()
(No version information available, might be only in CVS)
DOMDocument->schemaValidateSource() — Validates a document based on a schema
說明
DOMDocument
bool schemaValidateSource
( string $source
)
Validates a document based on a schema defined in the given string.
參數
- source
-
A string containing the schema.
Return值
如果成功則回傳 TRUE,失敗則回傳 FALSE。