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

XMLReader::setRelaxNGSchema

(PHP 5 >= 5.2.0)

XMLReader::setRelaxNGSchema — Set the filename or URI for a RelaxNG Schema

说明

XMLReader
bool setRelaxNGSchema ( string $filename )

Set the filename or URI for the RelaxNG Schema to use for validation.

参数

filename

filename or URI pointing to a RelaxNG Schema.

返回值

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