Forum und email

DOMDocument->schemaValidate()

(No version information available, might be only in CVS)

DOMDocument->schemaValidate() — Validates a document based on a schema

說明

DOMDocument
bool schemaValidate ( string $filename )

Validates a document based on the given schema file.

參數

filename

The path to the schema.

Return值

如果成功則回傳 TRUE,失敗則回傳 FALSE