DOMDocument
PHP Manual

DOMDocument::schemaValidate

(PHP 5)

DOMDocument::schemaValidate Validates a document based on a schema

Описание

bool DOMDocument::schemaValidate ( string $filename )

Validates a document based on the given schema file.

Параметри

filename

The path to the schema.

Връщани стойности

Връща TRUE при успех или FALSE при неуспех.

Вж. също


DOMDocument
PHP Manual