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

XMLReader::setRelaxNGSchemaSource

(PHP 5 >= 5.1.2)

XMLReader::setRelaxNGSchemaSource — Set the data containing a RelaxNG Schema

说明

XMLReader
bool setRelaxNGSchemaSource ( string $source )

Set the data containing a RelaxNG Schema to use for validation.

参数

source

String containing the RelaxNG Schema.

返回值

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