DOMDocument::schemaValidateSource
DOMDocument::schemaValidateSource
(PHP 5, PHP 7)
DOMDocument::schemaValidateSource — Validates a document based on a schema
Description
public bool DOMDocument::schemaValidateSource ( string $source [, int $flags ] )
Validates a document based on a schema defined in the given string.
Parameters
-
source
-
A string containing the schema.
-
flags
-
A bi