JavaScript Editor Javascript debugger     Website design 


DOMDocument->schemaValidateSource()

Validates a document based on a schema ()

DOMDocument {
  bool schemaValidateSource(string source);
}

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

Parameters

source

A string containing the schema.

Return Values

Returns TRUE on success or FALSE on failure.