DOMDocument->schemaValidate()

(no version information, might be only in CVS)

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

説明

class DOMDocument {

bool schemaValidate ( string filename )

}

Validates a document based on the given schema file.

パラメータ

filename

The path to the schema.

戻り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

以下も参照ください

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