DOMDocument->schemaValidate()

(no version information, might be only in CVS)

DOMDocument->schemaValidate() --  Validates a document based on a schema

Descrição

class DOMDocument {

bool schemaValidate ( string filename )

}

Validates a document based on the given schema file.

Parâmetros

filename

The path to the schema.

Valores de retornado

Retorna TRUE em caso de sucesso ou FALSE em falhas.

Veja também

DOMDocument->schemaValidateSource()
DOMDocument->relaxNGValidate()
DOMDocument->relaxNGValidateSource()
DOMDocument->validate()