DOMDocument->schemaValidate()

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

Описание

class DOMDocument {

bool schemaValidate ( string filename )

}

Validates a document based on a the given schema file.

Список параметров

filename

The path to the schema.

Возвращаемые значения

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.

Смотрите также

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