您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

DOMDocument->relaxNGValidate()

(No version information available, might be only in CVS)

DOMDocument->relaxNGValidate() — Performs relaxNG validation on the document

说明

DOMDocument
bool relaxNGValidate ( string $filename )

Performs » relaxNG validation on the document based on the given RNG schema.

参数

filename

The RNG file.

返回值

如果成功则返回 TRUE,失败则返回 FALSE