PHP 手册
后退 |  | 前进

# XMLReader->setRelaxNGSchema()

(no version information, might be only in CVS)

XMLReader->setRelaxNGSchema() -- Set the filename or URI for a RelaxNG Schema

## 说明

class 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`。

## 参见

XMLReader->setRelaxNGSchemaSource()

后退 | 起点 | 前进
XMLReader->setParserProperty() | 上一级 | XMLReader->setRelaxNGSchemaSource()