Freelance PHP programmer India | Freelance web developer india | Web development India | web developer CV india | Compiling PHP and Apache 2 from source on Linux
DOMDocument
PHP Manual

DOMDocument::schemaValidate

(PHP 5)

DOMDocument::schemaValidate Validates a document based on a schema

Description

bool DOMDocument::schemaValidate ( string $filename )

Validates a document based on the given schema file.

Parameters

filename

The path to the schema.

Return Values

Returns TRUE on success or FALSE on failure.

See Also


DOMDocument
PHP Manual