DOM
PHP Manual

DOMDocument->schemaValidate()

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

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

Descrição

DOMDocument
bool schemaValidate ( string $filename )

Validates a document based on the given schema file.

Parâmetros

filename

The path to the schema.

Valor Retornado

Retorna TRUE em caso de sucesso ou FALSE em falhas.

Veja também


DOM
PHP Manual