Forum und email

DOMDocument->schemaValidate()

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

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

Description

DOMDocument
bool schemaValidate ( string $filename )

Validates a document based on the given schema file.

Parameters

filename

The path to the schema.

Return Values

成功回傳TRUE失敗回傳FALSE