DOMDocument
PHP Manual

DOMDocument::schemaValidateSource

(PHP 5)

DOMDocument::schemaValidateSource Validates a document based on a schema

Описание

bool DOMDocument::schemaValidateSource ( string $source )

Validates a document based on a schema defined in the given string.

Параметри

source

A string containing the schema.

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

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

Вж. също


DOMDocument
PHP Manual